home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_b0_cweight_sand2.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
1KB
|
83 lines
# Droids COG Script
#
# b0_cweight_sand.cog
#
# Cog designed to generate sand for the counterweight
#
#
# Desc:
# 02/03/98 [DGS] Created
#
# ========================================================================================
symbols
message startup
message pulse
message user0
message user1
message user2
thing spout1a
thing spout1b
thing spout1c
thing spout2a
thing spout2b
thing spout2c
template large_part
template fine_part
template largeh_part
template fineh_part
int rock=0
int l_color=0
int move=10
flex l_size=0
flex l_speed=0.1 local
end
code
startup:
setpulse(0.2);
return;
user0: //stop
setpulse(0);
return;
user1: //Fill top
spoutta = spout1a;
spouttb = spout1b;
spouttc = spout1c;
setpulse(0.05);
return;
user2: //Fill top
spoutta = spout2a;
spouttb = spout2b;
spouttc = spout2c;
setpulse(0.05);
return;
pulse:
creatething(large_part, spout1a);
creatething(fine_part, spout1a);
creatething(largeh_part, spout1b);
creatething(fineh_part, spout1b);
return;
end