Difference between revisions of "Scripting"

From SF3
Jump to: navigation, search
 
Line 15: Line 15:
  
 
Project specific enums: [[Script/LogicEnums]]
 
Project specific enums: [[Script/LogicEnums]]
−
 
−
=== Data and bin_win32 ===
 
−
 
−
So ya sick of copy pasting your changed Level.as from bin_win32 to data? You wanna change this boring part of yur life an' wanna spice it up? <br />
 
−
I've got just the right thing for ya!
 
−
 
−
<code>
 
−
@echo off<br />
 
−
echo ------------------------------------------------------------------------------<br />
 
−
echo --- Coyping changed Level.as files. ------------------------------------------<br />
 
−
echo ------------------------------------------------------------------------------<br />
 
−
echo.<br />
 
−
xcopy D:\directory\sf3\root\bin_win32\configs\levels\*.as D:\directory\sf3\root\data\configs\levels /f /d /s <br />
 
−
echo.<br />
 
−
echo ------------------------------------------------------------------------------<br />
 
−
pause<br />
 
−
exit
 
−
</code>
 
−
 
−
Simply make yuself a .bat file with this, insert the correct directory and have a gread an' awesome life! <br />
 
−
Yur welcome fella, and hav a nice day!
 
−
 
−
== Classes & Important Notes ==
 
−
 
−
=== Class structure ===
 
−
* LevelBase.as
 
−
* LevelBase_Gameplay.as
 
−
* Level.as
 
−
 
−
* WeatherBase
 
−
* Weather
 
−
 
−
 
−
=== Creatures ===
 
−
Coming soon ...
 
−
* Characters
 
−
* Generic Characters
 
−
* Mobs
 
−
* RTS Units
 
−
** RTS Workers, Note: they can't be teleported.
 
−
 
−
=== Buildings ===
 
−
Coming soon ...
 
−
* Placed buildings
 
−
* RTS Buildings
 
−
 
−
=== LogicObjects ===
 
−
Coming soon ...
 
−
* PhysicBlocker
 
−
* Switch
 
−
* Map / Spots
 
−
* Map Transtition
 
−
** note: To fully disable a map transition it needs to be enabled/disabled
 
  
 
== List of all pages ==
 
== List of all pages ==
  
 
{{Special:PrefixIndex/Script/}}
 
{{Special:PrefixIndex/Script/}}

Latest revision as of 21:45, 8 February 2018

Starting

When this is your first time here: Script/InitialSetup

Coming more soon...

Debug Commands

Coming soon ...

Debug Console

Coming soon ...

Datatypes

Usable datatypes: Script/BasicDataTypes

Project specific enums: Script/LogicEnums

List of all pages