Question about map-features?
Moderator: Moderators
Question about map-features?
Is there any way to put on map some random units that will be fight back when someone approaches? All features are static and goddamn its just boring. I need know a way to put some unit on map. Maybe some widget that i can put in map archive and script example for put in archive too?
Re: Question about map-features?
Yes, spawn some units belonging to Gaia team. You need a gadget for that, widgets can't change the game state, they can only do what a player can.
Spring.CreateUnit("lvl1seal",x,y,z,"south",Spring.GetGaiaTeamID())
Spring.CreateUnit("lvl1seal",x,y,z,"south",Spring.GetGaiaTeamID())
Re: Question about map-features?
=) OK now some hilarious question.Where i need to put this code?
What file? In what folder in archive folder tree?
P.S. I'm wondering that gaia its link to old Age of Empires meme where all neutral units was on Maya side. :D
What file? In what folder in archive folder tree?
P.S. I'm wondering that gaia its link to old Age of Empires meme where all neutral units was on Maya side. :D
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Question about map-features?
Featureplacer can do it a lot more simply.
GAIA is the map's "Team". Neutral player (that will happily attack you).
GAIA is the map's "Team". Neutral player (that will happily attack you).