Lua ConstGame


Contents

Engine

string Game.version

number Game.maxUnits
number Game.maxTeams
number Game.maxPlayers
number Game.squareSize
number Game.gameSpeed

Host

number Game.gameMode
number Game.startPosType

boolean Game.commEnds
boolean Game.limitDGun
boolean Game.diminishingMetal
boolean Game.ghostedBuildings

Map

string Game.mapName
string Game.mapHumanName
number Game.mapX
number Game.mapY
number Game.mapSizeX in worldspace/opengl coords
number Game.mapSizeZ in worldspace/opengl coords
number Game.gravity
number Game.tidal
number Game.windMin
number Game.windMax
number Game.extractorRadius
boolean Game.mapDamage
boolean Game.mapWaterVoid
boolean Game.mapWaterPlane

Mod

string Game.modName
string Game.modShortName
string Game.modVersion
string Game.modMutator
string Game.modDesc

boolean Game.allowTeamColors
number Game.multiReclaim
number Game.reclaimMethod
number Game.transportAir
number Game.transportShip
number Game.transportHover
number Game.transportGround
number Game.fireAtKilled
number Game.fireAtCrashing

Checksums

string Game.mapChecksum
string Game.modChecksum

Categories

table Game.springCategories

 example: {
   ["vtol"]         = 0,  ["special"]      = 1,  ["noweapon"]     = 2,
   ["notair"]       = 3,  ["notsub"]       = 4,  ["all"]          = 5,
   ["weapon"]       = 6,  ["notship"]      = 7,  ["notland"]      = 8,
   ["mobile"]       = 9,  ["kbot"]         = 10, ["antigator"]    = 11,
   ["tank"]         = 12, ["plant"]        = 13, ["ship"]         = 14,
   ["antiemg"]      = 15, ["antilaser"]    = 16, ["antiflame"]    = 17,
   ["underwater"]   = 18, ["hover"]        = 19, ["phib"]         = 20,
   ["constr"]       = 21, ["strategic"]    = 22, ["commander"]    = 23,
   ["paral"]        = 24, ["jam"]          = 25, ["mine"]         = 26,
   ["kamikaze"]     = 27, ["minelayer"]    = 28, ["notstructure"] = 29,
   ["air"]          = 30
 }

table Game.armorTypes (bidirectional)

 example: {
   [1]  = amphibious,   [2] = anniddm,     [3] = antibomber,
   [4]  = antifighter,  [5] = antiraider,  [6] = atl,
   [7]  = blackhydra,   [8] = bombers,     [9] = commanders,
   [10] = crawlingbombs, ...
   ["amphibious"]   = 1, ["anniddm"]    = 2, ["antibomber"] = 3
   ["antifighter"]  = 4, ["antiraider"] = 5, ["atl"]        = 6
   ["blackhydra"]   = 7, ["bombers"]    = 8, ["commanders"] = 9
   ["crawlingbombs"]= 10, ...
 }

Retrieved from "http://spring.clan-sy.com/wiki/Lua_ConstGame"

This page has been accessed 1,076 times. This page was last modified 19:38, 27 October 2008.




Page editing toolbox

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in
Special pages
New pages
File list
Statistics
Bug reports
More...

Site layout created by Roflcopter.