Mapdev%3Aset.lua - beyond-all-reason/springrts_engine_wiki_mirror GitHub Wiki
set.lua Reference
This file lists all the units, buildings and features that belong to the gaia team, their locations and orientation.
Source
The engine source code which reads this file from the map is viewable here:
- ???
Example
Can be found in the map blueprint
File Location
relative to the root directory of the map
- ./mapconfig/featureplacer/set.lua
Formatting
check Lua Documentation for syntax etc.
In this wiki page, variables are organised as such:
Data Types
Sections
setcfg
----------------------------------------------------------
-- AutoCreated by FeaturePlacer (by smoth)
local setcfg = {
unitlist = {
...
{ name = 'name', x = 0 , z = 0 , rot = "0"},
...
},
buildinglist = {
...
{ name = 'name', x = 0 , z = 0 , rot = "0"},
...
},
objectlist = {
...
{ name = 'name', x = 0 , z = 0 , rot = "0"},
...
},
}
return setcfg