Editing Useful Scripts
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= GECK = | = GECK = | ||
==Light switch== | ==Light switch== | ||
Line 123: | Line 24: | ||
End | End | ||
</pre> | </pre> | ||
==Forced Relative Orientation== | ==Forced Relative Orientation== | ||
Line 321: | Line 181: | ||
end | end | ||
</pre> | </pre> | ||
Line 421: | Line 196: | ||
Short toggle | Short toggle | ||
Float minitimer | Float minitimer | ||
Begin OnActivate | Begin OnActivate | ||
Activate ;For people without FOSE, still works. | Activate ;For people without FOSE, still works. | ||
con_setgamesetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA" | con_setgamesetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA" | ||
Line 432: | Line 205: | ||
con_setgamesetting shackingintro06 "Initializing Valhalla Republic MF Boot Agent v2.1.9" | con_setgamesetting shackingintro06 "Initializing Valhalla Republic MF Boot Agent v2.1.9" | ||
con_setgamesetting shackingintro09 "Copyright 2156-2234 Academy of Valhalla" | con_setgamesetting shackingintro09 "Copyright 2156-2234 Academy of Valhalla" | ||
end | |||
begin gamemode | |||
;On shutting down the terminal. Makes sure it doesn't show up on others. | |||
con_setgamesetting sComputersHeader1 "ROBCO INDUSTRIES UNIFIED OPERATING SYSTEM" | |||
con_setgamesetting sComputersHeader2 "COPYRIGHT 2075-2077 ROBCO INDUSTRIES " | |||
con_setgamesetting sHackingHeader "ROBCO INDUSTRIES (TM) TERMLINK PROTOCOL" | |||
con_setgamesetting shackingintro01 "WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK" | |||
con_setgamesetting shackingintro06 "Initializing Robco Industries(TM) MF Boot Agent v2.3.0" | |||
con_setgamesetting shackingintro09 "Copyright 2201-2203 Robco Ind." | |||
end | |||
</pre> | </pre> | ||
Line 460: | Line 224: | ||
<small>To be placed on a [[ | <small>To be placed on a [[Quest_Data_Tab|quest]], it will run some code when a key is released. See [http://fose.silverlock.org/fose_command_doc.html#DirectX_Scancodes FOSEs Command Docs] for additional DirectX Scancodes</small> | ||
<pre> | <pre> | ||
ScriptName HotkeyReleased | ScriptName HotkeyReleased | ||
Line 468: | Line 232: | ||
Begin GameMode | Begin GameMode | ||
if IsKeyPressed 25 != sToggle | if IsKeyPressed 25 != sToggle | ||
set sToggle to | set sToggle to sToggle == 0 | ||
if sToggle ;Button pressed | if sToggle ;Button pressed | ||
;Do things when button 'p' is pressed, in this case, decrease karma | ;Do things when button 'p' is pressed, in this case, decrease karma | ||
Line 477: | Line 241: | ||
endif | endif | ||
endif | endif | ||
End | End | ||
</pre> | </pre> |