Difference between revisions of "Scripting"

From SF3
Jump to: navigation, search
Line 31: Line 31:
 
echo ------------------------------------------------------------------------------<br />  
 
echo ------------------------------------------------------------------------------<br />  
 
pause<br />  
 
pause<br />  
exit<br />
+
exit
 
</code>
 
</code>
  

Revision as of 10:05, 7 July 2017

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

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?
I've got just the right thing for ya!

@echo off
echo ------------------------------------------------------------------------------
echo --- Coyping changed Level.as files. ------------------------------------------
echo ------------------------------------------------------------------------------
echo.
xcopy D:\directory\sf3\root\bin_win32\configs\levels\*.as D:\directory\sf3\root\data\configs\levels /f /d /s
echo.
echo ------------------------------------------------------------------------------
pause
exit

Simply make yuself a .bat file with this, insert the correct directory and have a gread an' awesome life!
Yur welcome fella.

Classes & Important Notes

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

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

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?
I've got just the right thing for ya!

@echo off
echo ------------------------------------------------------------------------------
echo --- Coyping changed Level.as files. ------------------------------------------
echo ------------------------------------------------------------------------------
echo.
xcopy D:\directory\sf3\root\bin_win32\configs\levels\*.as D:\directory\sf3\root\data\configs\levels /f /d /s
echo.
echo ------------------------------------------------------------------------------
pause
exit

Simply make yuself a .bat file with this, insert the correct directory and have a gread an' awesome life!
Yur welcome fella.

Classes & Important Notes

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