home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 37
/
PCGAMER37.bin
/
games
/
ddrome
/
data.z
/
TEST.GW
< prev
next >
Wrap
Text File
|
1996-01-04
|
1KB
|
77 lines
# GW file for domain.
# Perform basic setup.
echo source setup.gw
source setup.gw
echo Done with source setup.gw
# Load the scrub model
echo source scrub.gw
source scrub.gw
# Tell gamegen about the world so it can automatically
# add nodes to the world during the loading process.
GameGenSetWorld world1
# Load the arena
#source arena1.gw
# Load all runners
source runners.gw
# Create the master controller node for all runners.
NewObject3D motion_node
Object3DSetAction master_runner_move
# Load game key
source key.gw
#######################################################
# Add all children of the world.
FindNode world1
# Don't need to add this because the tree should have
# been pruned and children added to the world during
# the loading process.
#AddChild arena1
# Add master runner node.
AddChild motion_node
# Add all runners.
AddChild runner_0
AddChild runner_1
AddChild barrier_1
AddChild pball_1
AddChild runner_2
AddChild runner_3
AddChild runner_4
AddChild runner_5
AddChild runner_6
AddChild runner_7
AddChild key
#######################################################
# Set up display configuration
source display.gw
# Start rendering graphics.
Render
#PrintUsedNodes
echo PrintWorld world1
PrintWorld world1
Quit