Page 1 of 1

Spawn units map mod

Posted: 19 Oct 2017, 08:23
by GNU[BDC]
Hi,
I have read wiki about all those mods files and jscript, it did not work.
more info:
http://developer.wz2100.net/wiki/Script ... l#Triggers
http://developer.wz2100.net/wiki/ScriptingIntroduction
Idea is to create survival map with many waves. Players have to survive all wave to win the game.

Anyone could give me an example of map/script that works and spawn units with a timer. So i could expand it.

Thanks

Re: Spawn units map mod

Posted: 19 Oct 2017, 10:00
by NoQ
These links are for the old wzscript engine. For javascript see those instead.

As for the examples, there's tower defense. It is for 3.1 and it's a single-player challenge mod rather than a map. The way the challenge locks map settings can be achieved with map.json in 3.2 (see how teams are locked in 4c-fishnet, i think allowed options are similar to challenge.json). The scripts themselves didn't change much, though most likely stats of cyborg waves need to be updated (cyborg bodies were simplified in game).