Scripting.tbl: Difference between revisions

Nuke (talk | contribs)
Wanderer (talk | contribs)
m added a link
Line 37: Line 37:
[[Script - Escort Reticle|Escort Reticle]]<br>
[[Script - Escort Reticle|Escort Reticle]]<br>
[[Script - Example HUD|Example HUD]]<br>
[[Script - Example HUD|Example HUD]]<br>
[[Script - Hud Pong|Hud Pong]]<br>
[[Script - Proximity Trigger|Proximity Trigger]]<br>
[[Script - Scripted Flak|Scripted Flak]]<br>
[[Script - Scripted Flak|Scripted Flak]]<br>
[[Script - Ship Viewer|Ship Viewer]]<br>
[[Script - Ship Viewer|Ship Viewer]]<br>
[[Script - Splash Screen|Splash Screen]]<br>
[[Script - Splash Screen|Splash Screen]]<br>
[[Script - Velocity Indicator|Velocity Indicator]]<br>
[[Script - Velocity Indicator|Velocity Indicator]]<br>
[[Script - Hud Pong|Hud Pong]]
 
 




[[Category:Tables]]
[[Category:Tables]]
[[Category:Scripting Examples]]
[[Category:Scripting Examples]]

Revision as of 10:48, 17 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

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