home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 37
/
PCGAMER37.bin
/
games
/
ddrome
/
data.z
/
RUNNER_0.GW
< prev
next >
Wrap
Text File
|
1996-01-12
|
3KB
|
105 lines
# Load runner 0
# Demonstrate stars for the runner
# Effects directory
#source eff_dir.gw
#LoadGameGen stars.gam stars
#Object3DSetTranslate 0 20 0
#FindNode o1
#Object3DSetPoints
#FindNode o2
#Object3DSetPoints
#echo PrintTree stars
#PrintTree stars
#source eff_dir.gw
#LoadGameGen plas_gro.gam hit_runner_0
#Object3DScale 4 4 4
#Object3DTranslate 0 -2 0
#FindNode p_grow
#CycleTextureSetOn 4
#CycleTextureSetSpeed 5.0
#CycleTextureSetMap p_grow1.zim 186
#CycleTextureSetMap p_grow2.zim 187
#3CycleTextureSetMap p_grow3.zim 188
#CycleTextureSetMap p_grow4.zim 189
# Load the runner
source run_dir.gw
LoadGameGen ylwrunr.gam runner_0
SetAltitudeSurface off
# This position places us near the runner that is capable
# of laying the barrier.
#Object3DTranslate 30 0 -60
# This position places us near the other runners.
Object3DTranslate -90 0 200
Object3DSetAction runner_move
FindNode yaw
FindNode runner_0
#Object3DAddChild hit_runner_0
#Object3DAddChild stars
# Animation Directory for ambient motion
#SetAnimationDirectory ..\data\runners\ambient
# Load animation data for jumping.
SetAnimationDirectory ..\data\runners\anims\jump
LoadAnimation yaw.zan jump_yaw_anim_data_0
NewAnimate yaw_anim_node
AnimateSetAnimation jump_yaw_anim_data_0
AnimateSetActive off
AnimateSetFrameRate 40
#AnimateAddChild yaw
LoadAnimation chassis.zan jump_chassis_anim_data_0
NewAnimate chassis_anim_node
AnimateSetAnimation jump_chassis_anim_data_0
AnimateSetActive off
AnimateSetFrameRate 40
#AnimateAddChild chassis
LoadAnimation cockpit.zan jump_cockpit_anim_data_0
NewAnimate cockpit_anim_node
AnimateSetAnimation jump_cockpit_anim_data_0
AnimateSetActive off
AnimateSetFrameRate 40
#AnimateAddChild cockpit
FindNode yaw
FindNode t_yaw
Object3DInsertAnimationChild yaw_anim_node
FindNode chassis
FindNode t_chass
Object3DInsertAnimationChild chassis_anim_node
FindNode cockpit
FindNode t_cockp
Object3DInsertAnimationChild cockpit_anim_node
echo PrintTree runner_0
PrintTree runner_0
#Set up runner floor polygon to scroll with runner motion.
FindNode lt
#Cause the textures to be remapped base upon
# the object's position in the world.
Object3DRegisterTexturesToWorld on
#Define the world coordinates where texel 0,0
#should be mapped to.
Object3DSetTextureWorldBaseCoordinates 0.0 0.0
#Define the relationship between texture space
#and world space.
Object3DSetTextureWorldTexturesPerMeter 0.03125 0.03125
Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625