Possible?

Talk about anything here.
Post Reply
*Apollo

Post 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
User avatar
Baron LeDant
Posts: 364
Joined: Mon Mar 22, 2004 9:14 pm

Post by Baron LeDant »

Well you can change which unit set you get (see wabe in the gimble), don't know about actually having UT.
I wear a plastic ass on my bag ~ Da Cheeze
Eddaweaver
Posts: 1026
Joined: Mon Sep 13, 2004 6:05 am
Location: M.E.

Post by Eddaweaver »

Appy, remember the map/plugin "Mythwarrior"? It's probably possible to do this via scripting.



Edited By Eddaweaver on 1141025836
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Post 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
Post Reply