Page 1 of 1

Posted: Thu Feb 23, 2006 9:01 am
by *Apollo
Hey,

Would it be possible to create a coop-plugin that allows regular unit-trading at the start of the map? Or is that... f00ked?

-Appy

Posted: Thu Feb 23, 2006 10:47 am
by Baron LeDant
Well you can change which unit set you get (see wabe in the gimble), don't know about actually having UT.

Posted: Mon Feb 27, 2006 2:36 am
by Eddaweaver
Appy, remember the map/plugin "Mythwarrior"? It's probably possible to do this via scripting.



Edited By Eddaweaver on 1141025836

Posted: Mon Feb 27, 2006 11:01 am
by A-Red
Right, but that changes between different full unitsets. I think Apollo was wondering if it is possible to do more complex versions of this, where you can trade three warriors for two archers or vice versa, or many other options.

This would be possible, but might take a lot of script depending on how many options you want to have. The best way I can think of is a taunt-based system. Set up a TUNI to test if three warriors are taunting, then make a couple of CTRLs, one to make those warriors invisible and the other to make two previously invisible archers appear. You could set up another TUNI to see if two archers are taunting, and make a different trade based on that.

But this can cause a problem if you want multiple trade options for a given unit type. Do you want to trade those two archers for three warriors, or for one dwarf? Using the system I just described, you would only be able to do one or the other. There would have to be a way for the player to choose which option they wanted. There are probably multiple ways to do it--if you know what the SNIF action is, this might finally be a chance to use it.

A-Red