User Tools

Site Tools


startup_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
startup_scripts [2010/10/17 14:03] – created vicstartup_scripts [2026/06/22 12:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====Startup Scripts==== ====Startup Scripts====
 +
 +The standard startup script looked for by AT is the file named "defaultmod.txt", however you can add other such startup files in the mod/ directory.
 +If other startupfiles are present the player will be allowed which one to use to startup the game.
 +
 +Example of standard startup script:
  
 <code> <code>
Line 8: Line 13:
 atgoldscenarios atgoldscenarios
 atgoldsound atgoldsound
-natocounters+-
 ssg.ogg ssg.ogg
 nuke.wav nuke.wav
Line 19: Line 24:
 1,6,150,660,Quit,5, 1,6,150,660,Quit,5,
 </code> </code>
 +
 +===Explanation===
 +
 +-Line 1 : Name of Mod. Is used to display in pop-up listbox when player has to choose which mod to use.
 +
 +-Line 2 : Scenario file that is used to load initial graphics. You can also leave this line blank. Then no graphics will be preloaded.
 +
 +-Line 3 : You have to specify a 0 here.
 +
 +-Line 4 : Directory to look for to overwrite systemgraphics/ files from (not all have to be replaced)
 +
 +-Line 5 : Directory to use when player selects 'load scenario' in main menu or wants to save a scenario in the editor.
 +
 +-Line 6 : Directory to use to play sounds
 +
 +-Line 7 : -
 +
 +-Line 8 : the startup soundtrack
 +
 +-Line 9 : the startup soundeffect. IS NOT USED AT MOMENT.
 +
 +-Line 10 : the number of buttons on the main menu
 +
 +-Each remaining line: A button with the following data: Active,Size,X,Y,Text,Function,Data
 +
 +===Button Data===
 +
 +-Active = 0=no greyed out , 1=yes active
 +
 +-Size = 1-8 or 18
 +
 +-X,Y = both are relative to the center of the window
 +
 +-Function = 5=quit, 6=open website (data), 11=old random (Data=master), 13=new random (data=master), 12=editor, 2= load specified scenario (data), 3 = load scenario from directory (data), 4= load saved game from directory (data), //14=credits//
startup_scripts.1287324200.txt.gz · Last modified: 2026/06/22 12:13 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki