I am working on a unique map but i would need some way of making predefined areas unbuildable on it (teleport exits, i dont want them porced up). Can somebody lend me a helping hand or even point me in the direction?
On a related note: Is there a way to kill air units via lua?
Request: A map gadget that makes area unbuildable
Moderator: Moderators
Re: Request: A map gadget that makes area unbuildable
Code: Select all
Gadget:AllowCommand(unitID, unitDefID, unitTeam, cmdID, cmdParams, cmdOptions, cmdTag, synced)
And for killing air:
Code: Select all
Spring.DestroyUnit
( number unitID,
[boolean selfd = false,]
[boolean reclaimed = false,]
[number attackerID] ) -> nil
Re: Request: A map gadget that makes area unbuildable
woohoo thanks!
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Request: A map gadget that makes area unbuildable
I suggest doing that, if the map design permits. Not only is it easy to do for you, it's also very intuitive for player to see where the unbuildable area starts.Niobium wrote:There may be a way to do this via the map itself though, like very shallow water.
Re: Request: A map gadget that makes area unbuildable
The map will be a voidwater map so the only way i could do it would be with perlin noise in heightmap but that would fuck up pathing.
I will make the textures distinct and write it out in description.
I will make the textures distinct and write it out in description.
Re: Request: A map gadget that makes area unbuildable
there are some maps which do that i think..
ie that one circular map that comes up in every 3 player xta game, arctic blender or whats it called.
this one:
http://www.springfiles.com/spring/sprin ... ic-inferno
ie that one circular map that comes up in every 3 player xta game, arctic blender or whats it called.
this one:
http://www.springfiles.com/spring/sprin ... ic-inferno