Search found 4 matches

by Dobudakter
Sun Jan 22, 2017 3:41 pm
Forum: Modding help
Topic: A way to change Stats for Units in game?
Replies: 5
Views: 2267

A way to change Stats for Units in game?

How to change the max_health of a turret with many kills, for example?
by Dobudakter
Tue Jan 17, 2017 7:39 pm
Forum: Modding help
Topic: How to place enemy units?
Replies: 3
Views: 1358

Re: How to place enemy units?

i just want to spawn some enemies around me or somewhere, at begin of a game, just to see how it works. What do i have to do?

spawn_enemy(name, surf, pos)

ok, that sounds good, but how can i set the "pos", and what want that "surf"?
by Dobudakter
Tue Jan 17, 2017 1:34 pm
Forum: Modding help
Topic: How to place enemy units?
Replies: 3
Views: 1358

Re: How to place enemy units?

I just used "place_result = unit[name]" in the "type = item". Yes, easy. Too easy.
And the "force = enemy" placed in the "type = unit", does nothing.
So, think you re right, i have to use more lua code. But i hoped for a more easy way.
by Dobudakter
Tue Jan 17, 2017 1:28 am
Forum: Modding help
Topic: How to place enemy units?
Replies: 3
Views: 1358

How to place enemy units?

i want to place Units in game, like Biters. Wrote a mod for this, but they are friendly. Want them to be enemies. But how? Cant get it.

Go to advanced search