Page 1 of 1
Civilian building??
Posted: 20 Dec 2012, 21:11
by davidovo
Hi again, I wish to know if I need to create a new side (civilian) to put civilian in-game wich won't be automaticly attacked by players unit.
But those civilian will be able to be targetted manually.
Also I want to put civilian building in-game.
Re: Civilian building??
Posted: 20 Dec 2012, 21:23
by knorke
there is Gaia team.
you must make a lua script that spawns units for that team.
http://springrts.com/wiki/Lua_Scripting
for example duke_spawner.lua in this map:
http://zero-k.info/Maps/DetailName?name ... 0nukem%204
won't be automaticly attacked by players unit.
But those civilian will be able to be targetted manually.
Spring.SetUnitNeutral
http://springrts.com/wiki/Lua_SyncedCtrl
Re: Civilian building??
Posted: 20 Dec 2012, 21:25
by davidovo
Super thanks dude