Talk:Useful Scripts

Revision as of 09:33, 24 February 2009 by imported>Illyism (added example script for FOSE)

Should we include FOSE scripts? --Illyism 14:23, 24 February 2009 (UTC)

Example

Script requires FOSE.

To be placed on a terminal, it changes the usual "Robco" headers to your liking.

ScriptName TerminalChange

Short toggle
Float minitimer

Begin OnActivate
  Activate ;For people without FOSE.
  con_setgamesetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA"
  con_setgamesetting sComputersHeader2 "Republic of Valhalla"
  con_setgamesetting sHackingHeader "VALHALLA REPUBLIC TERMLINK PROTOCOL"
  con_setgamesetting shackingintro01 "WELCOME TO VALHALLA REPUBLIC TERMLINK"
  con_setgamesetting shackingintro06 "Initializing Valhalla Republic MF Boot Agent v2.1.9"
  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

;Double-check
begin menumode 1057
  ;1057 = Terminal
  Con_SetGameSetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA OPERATING SYSTEM"
  con_SetGameSetting sComputersHeader2 "Republic of Valhalla"
  con_SetGameSetting sHackingHeader "VALHALLA REPUBLIC TERMLINK PROTOCOL"
  con_SetGameSetting sHackingIntro01 "WELCOME TO VALHALLA REPUBLIC TERMLINK"
  con_SetGameSetting sHackingIntro06 "Initializing Valhalla Republic MF Boot Agent v2.1.9"
  Con_SetGameSetting SHackingIntro09 "Copyright 2156-2234 Academy of Valhalla"
end


Return to "Useful Scripts" page.