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:14] – vicstartup_scripts [2026/06/22 12:14] (current) – external edit 127.0.0.1
Line 13: Line 13:
 atgoldscenarios atgoldscenarios
 atgoldsound atgoldsound
-natocounters+-
 ssg.ogg ssg.ogg
 nuke.wav nuke.wav
Line 25: Line 25:
 </code> </code>
  
-Explanation: +===Explanation=== 
--Line 1 : Name of Mod + 
--Line 2 : Scenario file that is used to load initial graphics+-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 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 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 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 6 : Directory to use to play sounds
--Line 7 : the startup soundtrack + 
--Line 8 : the startup soundeffect. IS NOT USED AT MOMENT. +-Line 7 : - 
--Line 9 : the number of buttons on the main menu+ 
 +-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 -Each remaining line: A button with the following data: Active,Size,X,Y,Text,Function,Data
  
-Button Data:+===Button Data=== 
 -Active = 0=no greyed out , 1=yes active -Active = 0=no greyed out , 1=yes active
 +
 -Size = 1-8 or 18 -Size = 1-8 or 18
 +
 -X,Y = both are relative to the center of the window -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) + 
-  +-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//
-//14=credits//+
startup_scripts.1287324889.txt.gz · Last modified: 2026/06/22 12:13 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki