Question about map-features?

Question about map-features?

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Question about map-features?

Post by smoke_th »

:arrow: 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? :?:
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Question about map-features?

Post by zwzsg »

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())
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Question about map-features?

Post by smoke_th »

=) 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
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Question about map-features?

Post by Forboding Angel »

Featureplacer can do it a lot more simply.

GAIA is the map's "Team". Neutral player (that will happily attack you).
Post Reply

Return to “Map Creation”