| 04-14-2009, 09:09 PM | #1 |
Hi guys, I am making a naga race, and a fan suggested to replicate the protoss carrier ability. It is quite simple, You have a unit (master ship) and that unit has no attack. However it can train small little units that can attack and can be attacked. This wouldn't be a problem ... however it is: - the player can not control the little carriers, they have their "own" life - the only way to do this (adding own life) is to make a unit use locust and code it's movement (see phoenix map) - if a unit has locust, it can not be damaged, nor killed ... So, basically, I want my units to ignore orders from the owning player, but I still want them to die ... Is there a nice way for me to do this? |
| 04-14-2009, 10:20 PM | #2 |
Take a look at Vexorians 'Independent Summons' in the resources. He used the ward classification + a trigger to stop 'smart' orders > units are still selectable, targetable but refuse to obey (ofc in combination with some triggered movement)Edit: Added the link |
| 04-14-2009, 10:26 PM | #3 |
Use Locust Swarm with levels that correspond to the number of trained "ships". So for example, if they've trained 5, it levels the ability to 6 (since level 1 would be 0 ships) and sends out 5 ships that will do their own thing exactly like the protoss carrier ships do. You may have to do some ability tweaking to make them behave better, but it should do what you want it to. Oh hmm... They need to die as well... Hmm... |
| 04-14-2009, 10:37 PM | #4 |
The wall in my Glacial Wall spell is made of unselectable (and thus uncontrollable), but killable units, so you could use the method I used there. |
| 04-14-2009, 11:01 PM | #5 |
The code is terrible, and it is bugged with what I suspect is the I2H bug. The movement of the interceptors is in no way similar to sc's . But the main idea sort of works. |
