Difference between revisions of "Scripting.tbl"

From FreeSpace Wiki
Jump to: navigation, search
m (added a link)
m (forgot to add one of the examples earlier)
Line 35: Line 35:
  
 
==Examples==
 
==Examples==
 +
[[Script - Death Flash|Death Flash]]<br>
 
[[Script - Escort Reticle|Escort Reticle]]<br>
 
[[Script - Escort Reticle|Escort Reticle]]<br>
 
[[Script - Example HUD|Example HUD]]<br>
 
[[Script - Example HUD|Example HUD]]<br>

Revision as of 18:03, 20 August 2006

This feature requires SCP


The scripting table is used for scripting special features like alternate HUDs or ship viewer into the game.

Usefull references:


General Format

  • Scripting table consist of several sections
  • All sections and most of the entries are optional
  • All sections end with #End
  • #Global Hooks
  • #State Hooks

#Global Hooks

  • $Global:
  • $Splash:
  • $GameInit:
  • $Simulation:
  • $HUD:

#State Hooks

  • $State:
    • $Hook:

Examples

Death Flash
Escort Reticle
Example HUD
Hud Pong
Proximity Trigger
Scripted Flak
Ship Viewer
Splash Screen
Velocity Indicator