- Joined
- Jun 9, 2008
- Messages
- 308
Units with locust ability do whatever they want, are unselectable and unkillable and there is one of these things I want to get rid of.
For context, I am in the very earliest stages of trying to make a "Trade Caravan"- system where if you build a trade building, it immediately spawns a mobile trade unit with locust ability that travels randomly (Wander-neutral) across the map. At regular intervals, it will spawn gold income if it happens to be close to a neutral or friendly structure (say townhalls give lots of gold, farms little).
The locust part is so you as a player can just leave it alone and not micro manage it.
It would be cool however if enemy players could deny trade to you by killing your trade unit if it gets too close. This in turn you would have to adress by either limiting the enemy's territory or researching an upgrade for the caravans so they defend themselves (fire at nearby hostiles with phoenix fire ability).
Any ideas of how this could be done?
I am not 100% attached to the locust ability though, if I can have the same result with something else that's cool too. One possible alternative would be that the unit gets deselected whenever the owner tries to select it, but the enemy can select it just fine - but that seems a bit clunky.
EDIT: Also, as a general question, while we are at it, do you think is there a way to do this sort of thing for locusts?
For context, I am in the very earliest stages of trying to make a "Trade Caravan"- system where if you build a trade building, it immediately spawns a mobile trade unit with locust ability that travels randomly (Wander-neutral) across the map. At regular intervals, it will spawn gold income if it happens to be close to a neutral or friendly structure (say townhalls give lots of gold, farms little).
The locust part is so you as a player can just leave it alone and not micro manage it.
It would be cool however if enemy players could deny trade to you by killing your trade unit if it gets too close. This in turn you would have to adress by either limiting the enemy's territory or researching an upgrade for the caravans so they defend themselves (fire at nearby hostiles with phoenix fire ability).
Any ideas of how this could be done?
I am not 100% attached to the locust ability though, if I can have the same result with something else that's cool too. One possible alternative would be that the unit gets deselected whenever the owner tries to select it, but the enemy can select it just fine - but that seems a bit clunky.
EDIT: Also, as a general question, while we are at it, do you think is there a way to do this sort of thing for locusts?
Last edited: