-
Notifications
You must be signed in to change notification settings - Fork 1
SWAT Source Documentation
This is our custom documentation of the SWAT Source Code
Huge method that initializes everything
Creates a variety of sound effects. Initialized at game started
Only does:
call CreateItem( 'I01M', -842.7, -1945.2 )
Creates units for "Player 9". Not entirely sure but I think these are dummy units used for various abilities and item effects
This method makes just two units:
set gg_unit_Ulic_0013 = CreateUnit( p, 'Ulic', -23.7, 18.0, 352.485 )
set gg_unit_Udre_0014 = CreateUnit( p, 'Udre', 61.2, 42.8, 119.020 )
These seem to be udg_RadDmgCiv and udb_RadDmgHero respectively.
Creates neutral passive buildings and sets resources to 1?
Creates neutral units. Think this creates scientist and stuff
Does nothing
Simply calls CreateUnitsForPlayer9 and CreateUnitsForPlayer10
Simply calls the other 4 create methods (neutral and player)
Sets all of the regions used in the game
Displays text on a specific player's screen
Displays text on all players screens
Displays text above the specified unit
No idea but this method never seems to be called. Messages every player and displays text to the team. Then displays a message, s2 to just player oP
Sends a message to player oP: "Inventory is full." and plays a sound, gg_snd_InvFull.
gg_unit_Ulic_0013 Dummy Rad Damage Civ unit
gg_unit_Udre_0014 Dummy Rad Damage Hero unit
I00B = Active Solar Batteries I000 = Inactive Solar Batteries