home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Select: Games 4
/
CD_1.iso
/
bioforge
/
script
/
robocntl.scp
< prev
next >
Wrap
Text File
|
1995-02-22
|
6KB
|
625 lines
{ GR_ROBOTCONTROLPANEL _CHARACTER_ID
P ~Çü
I @Çú THEN é
I ~ÇÇ = $âì THEN
@Çì SHOW_USEBOT
E
@Çì SHOW_FORKLIFT
~Çü = 0
o
"mlbt"
@Çì USEBOTMESSAGE
J #Çé
:LOOP
I ^êé == 1 && ~ÇÇ == 1 THEN
{
"lupb" "/!" $Ç╖
"ldnb" "/!" $Ç╖
"rtdb" "/!" $Ç╖
"ltdb" "/!" $Ç╖
"updb" "/!" $Ç╖
"dndb" "/!" $Ç╖
}
â
J #Çü
:ENTER_BUTTONS
m
"pwrb" $Ç│ "POWER /FCONTACT /GSTROM" $Ç╕
I ~ÇÇ == 1 THEN
{
I ^êé THEN
{
"manb" "MANUAL /FMANUEL/GMANUELL" $Ç╖
"autb" "AUTOMATIC /FAUTO/GAUTOMATISCH" $Ç╖
}
E
{
"manb" "MANUAL /FMANUEL/GMANUELL" ^ïú $Ç╕
"autb" "AUTOMATIC /FAUTO/GAUTOMATISCH" ^ïñ $Ç╕
I ^ïí == 0 THEN
{
^ïú = $Ç│
^ïñ = $Ç│
"lupb" "/!" $Ç▓
"ldnb" "/!" $Ç▓
"rtdb" "/!" $Ç▓
"ltdb" "/!" $Ç▓
"updb" "/!" $Ç▓
"dndb" "/!" $Ç▓
}
}
}
E
{
I ^åö THEN
{
"manb" "MANUAL /FMANUEL/GMANUELL" ^ïú $Ç╖
"autb" "AUTOMATIC /FAUTO/GAUTOMATISCH" ^ïñ $Ç╖
}
E
{
"manb" "MANUAL /FMANUEL/GMANUELL" ^ïú $Ç╕
"autb" "AUTOMATIC /FAUTO/GAUTOMATISCH" ^ïñ $Ç╕
}
}
I ~ÇÇ == $âì THEN
{
I ^åö THEN
"CAMV" "GRD3"
E
{
@Ç¢ USE_BOT
"CAMV" "CE42"
t USE_BOT
}
}
E
{
I @Ç¢ CR_BOT == 0 THEN ! "No Robot!"
"CAMV" "CTR4"
t CR_BOT
}
I ^ïú = $Ç│ THEN
J #Çü
:ADD_CONTROL_BUTTONS
I ~ÇÇ == 1 THEN
{
I ^êé == 1 THEN
{
"lupb" "/!" $Ç╖
"ldnb" "/!" $Ç╖
"rtdb" "/!" $Ç╖
"ltdb" "/!" $Ç╖
"updb" "/!" $Ç╖
"dndb" "/!" $Ç╖
}
E
{
"rtdb" "/! "
"ltdb" "/! "
"updb" "/! "
"dndb" "/! "
"lupb" "/! " $Ç│
"ldnb" "/! " $Ç│
}
}
E
{
I ^åö THEN
{
"rtdb" "/! " $Ç╖
"ltdb" "/! " $Ç╖
"updb" "/! " $Ç╖
"dndb" "/! " $Ç╖
"copb" "/! " $Ç╖
"ccdb" "/! " $Ç╖
"hypb" "/! " $Ç╖
}
E
{
"rtdb" "/! "
"ltdb" "/! "
"updb" "/! "
"dndb" "/! "
"copb" "/! " $Ç│
"ccdb" "/! " $Ç│
"hypb" "/! "
}
}
J #Çü
:RTDB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^êü == 0 THEN
{
I ^ïó = 1 AND ~ÇÇ != $âì THEN
M TURN_RIGHT2 CONTINUE
E
M TURN_RIGHT CONTINUE
W 5
}
J #Çü
:LTDB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^êü == 0 THEN
{
I ^ïó = 1 AND ~ÇÇ != $âì THEN
M TURN_LEFT2 CONTINUE
E
M TURN_LEFT CONTINUE
W 5
}
J #Çü
:UPDB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^êü == 0 THEN
{
I ^ïó = 1 AND ~ÇÇ != $âì THEN
M WALK2 CONTINUE
E
M WALK CONTINUE
}
J #Çü
:DNDB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^êü == 0 THEN
{
I ^ïó = 1 AND ~ÇÇ != $âì THEN
M WALK_BACK2 CONTINUE
E
M WALK_BACK CONTINUE
}
J #Çü
:RTDB_RELEASED
:LTDB_RELEASED
:UPDB_RELEASED
:DNDB_RELEASED
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^êü == 0 THEN
{
I ^ïó = 1 AND ~ÇÇ != $âì THEN
M STAND2 CONTINUE
E
M STAND CONTINUE
}
J #Çü
:CCDB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
M PICK_UP_RTHAND
J #Çü
:COPB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
M PUT_DOWN_RTHAND
J #Çü
:LUPB_BUTTON
I ^êü THEN
J #Çü
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^ïó = 0 THEN
{
M LIFT
^ïó = 1
M STAND2 CONTINUE
}
J #Çü
:LDNB_BUTTON
I ^êü THEN
J #Çü
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
I ^ïó = 1 THEN
{
M LOWER
^ïó = 0
M STAND CONTINUE
}
J #Çü
:HYPB_BUTTON
@Çå `ü»
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
M EXTEND_SYRINGE
W 30
M RETRACT_SYRINGE
J #Çü
:AUTB_BUTTON
@Çå `ü░
I ^ïá = 2 || ^ïí = 2 THEN J #Çü
^ïú = $Ç│
^ïñ = $Ç╡
I ~ÇÇ == $âì THEN
{
I ^ïí = 1 THEN
@Çì DEACTIVATE_FORKLIFT
}
E
{
I ^ïá = 1 THEN
@Çì DEACTIVATE_USE_BOT
}
J #Çé
:MANB_BUTTON
@Çå `ü«
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
^ïú = $Ç╡
^ïñ = $Ç│
"manb" $Ç╡ $Ç╕
"autb" $Ç│ $Ç╕
I ~ÇÇ == $âì THEN
{
I ^ïá = 0 THEN
@Çì ACTIVATE_USE_BOT
}
E
{
I ^ïí = 0 THEN
@Çì ACTIVATE_FORKLIFT
}
J #Çâ
J #Çü
:PWRB_BUTTON
:ESCAPE_BUTTON
@Çå `ü▒
I ~ÇÇ == $âì THEN
{
I ^ïá = 2 THEN
J #Çü
}
E
{
I ^ïí = 2 THEN
J #Çü
}
t PLAYER
o
`Ç«
C UNLOCK
I ^êé = 1 THEN é
I @Ç¢ CR_BOT THEN
{
I @Ç¡ CURFIG CTR THEN Y CTR1 CTR2 CTR3 CTR4 CTR5 CTR6 CTR7
I @Ç¡ CURFIG HLC THEN Y AIR2 ELC2 HLC1 HLC2 HLC3 HLC4 HLC5
I @Ç¡ CURFIG AIR THEN Y AIR1 AIR2
I @Ç¡ CURFIG RTR THEN Y AIR1 RTR1 RTR2 RTR3 RTR4 RTR5 RTR6
}
E ! "Can't find Cr_Bot (Forklift Bot)"
I @Ç¢ PLAYER THEN
E ! "Can't find Player!"
}
{ ACTIVATE_USE_BOT
@Ç¢ USE_BOT
^ïá = 2
M ACTIVATE
^ïá = 1
A OFF
}
{ DEACTIVATE_USE_BOT
@Ç¢ USE_BOT
^ïá = 2
M DEACTIVATE
q DEACTIVATED 0
o
^ïá = 0
A ON
}
{ SHOW_USEBOT
I ^åö THEN é
I @Ç¢ USE_BOT THEN
{
Y CE11 CE12 CE21 CE22 CE23 CE24 CE31 CE32 CE33
CE41 CE42 CE43
BLK1 BLK2 BLK3 BLK4 BLK5 BLK6 BLK7
GRD1 GRD2 GRD3 GRD4 HAL1
@Ç¥ NURSEBOT_WOUNDS
}
E
! "Can't find USE_BOT"
}
{ PARTIALLY_HIDE_USEBOT
I ^åö THEN é
I @Ç¢ USE_BOT THEN
{
Y CE41 CE42 CE43 CE32 CE33
@Ç¥ NURSEBOT_WOUNDS
¥ AVDGS 175
}
E
! "Can't find USE_BOT"
}
{ HIDE_USEBOT
I ^åö THEN é
I @Ç¢ USE_BOT THEN
Y CE41 CE42 CE43
E
! "Can't find USE_BOT"
}
{ LASER_HIT_USE_BOT
^åö = 1
@Çå `ǽ
Ü 20 20 20 1
ú BOOM WHITE CURFIG
ú SPARKS MEDI CURFIG
K CURFIG
l CURFIG CONTINUE
}
{ TNFABOLT_HIT_USE_BOT
^åö = 1
@Çå `ǽ
Ü 20 20 20 1
ú BOOM WHITE CURFIG
ú SPARKS MEDI CURFIG
K CURFIG
l CURFIG CONTINUE
}
{ ACTIVATE_FORKLIFT
@Ç¢ CR_BOT
^ïí = 2
M ACTIVATE
^ïí = 1
A OFF
}
{ DEACTIVATE_FORKLIFT
@Ç¢ CR_BOT
^ïí = 2
I ^ïó = 1 THEN
{
M LOWER
^ïó = 0
}
M DEACTIVATE
q DEACTIVATED 0
o
^ïí = 0
A ON
}
{ NOACCESS_FORKLIFT
"wrnl" $Ç│ "THIS IS A RESTRICTED AREA! /FENTREE INTERDITE /GVORSICHT: ZUTRITT VERWEIGERT!"
@Çå `Çç
W 60
"wrnl" 0 "/! "
}
{ SHOW_FORKLIFT
I ^êé = 1 THEN é
I @Ç¢ CR_BOT THEN
{
¥ VERBOTEN 150
¥ STAY_OUT 250
I @Ç¡ CURFIG AIR THEN ^êö = 1
}
E ! "Can't find Cr_Bot (Forklift Bot)"
}
{ USEBOTMESSAGE
P ~ÇÇ
:TOP
I @Çú == 0 THEN é
I ^åö THEN é
â
~ÇÇ = 0
I @Ç¢ USE_BOT THEN
{
I @Ç╗ CURFIG AVDBAR1 <= 110 && ~ÇÇ == 0 THEN
~ÇÇ = 1
I @Ç╗ CURFIG AVDBAR2 <= 110 && ~ÇÇ == 0 THEN
~ÇÇ = 1
I @Çó ^åæ THEN
I @Ç╗ CURFIG AVDBAR3 <= 110 && ~ÇÇ == 0 THEN
~ÇÇ = 1
I @Çó ^åÆ THEN
I @Ç╗ CURFIG AVDBAR4 <= 110 && ~ÇÇ == 0 THEN
~ÇÇ = 1
}
I ~ÇÇ THEN
{
"wrnl" $Ç│ "THIS IS A RESTRICTED AREA! /FENTREE INTERDITE /GVORSICHT: ZUTRITT VERWEIGERT!"
@Çå `Çç
W 60
"wrnl" 0 "/! "
}
J #Çí
}
//$ 26 - version number