User Tools

Site Tools


startup_scripts

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
startup_scripts [2010/10/17 14:15] – vicstartup_scripts [2026/11/27 22:34] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====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> 
-Advanced Tactics Gold 
-atgoldscenarios/generic.at2 
-0 
-modgraphics 
-atgoldscenarios 
-atgoldsound 
-natocounters 
-ssg.ogg 
-nuke.wav 
-6 
-1,6,150,600,Load Scenario,3,atgoldscenarios\ 
-1,6,-135,600,Load Saved Game,4,savedgames\ 
-1,6,-425,600,New Random Game,13,generic.at2 
-1,6,-425,660,Old Random Game,11,generic.ptmaster 
-1,6,-135,660,Editor,12,generic.ptmaster 
-1,6,150,660,Quit,5, 
-</code> 
- 
-===Explanation=== 
- 
--Line 1 : Name of Mod 
- 
--Line 2 : Scenario file that is used to load initial graphics 
- 
--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 : the startup soundtrack 
- 
--Line 8 : the startup soundeffect. IS NOT USED AT MOMENT. 
- 
--Line 9 : 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.1287324932.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki