• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Unit camouflaging as another?

Status
Not open for further replies.
Level 28
Joined
Apr 6, 2010
Messages
3,107
This ability would function like a permanent shadomeld/invisibility spell: the unit cannot be seen without detection and will not attack if told to hide. However, the difference is that it doesn't turn the unit invisible, but into a different unit. As soon as it's detected or told to attack, the camouflaged unit regains its normal appearance.

Is this possible?
 
Level 7
Joined
Jul 1, 2008
Messages
1,025
Yes that is very possible, I assume this is a non-hero unit? If so then you could just use Bear form, when the ability is cast the unit changes to another one with permanent invisibility, no movement speed or attacks enabled. You could trigger it so that when the unit is attacked (detected) or issued an order it casts bearform off and can move and attack again. Obviously you;d set the unit model in bear form to something different so it looks camouflaged.

Was that what you were going for?
 
Level 28
Joined
Apr 6, 2010
Messages
3,107
I hadn't thought of using bearform... I'll have to try that, thanks.

The original idea was a crocodile unit that looks like a big floating log when not moving (and until the enemy gets too close). Then I later wanted to have a mobile version.

Would there be trigger allowing for one unit being considered non-hostile by enemies, even if the controlling player is hostile?

The idea being, the caster clicks on a unit and takes that unit's appearance, and will not be attacked by that player (and if a neutral unit is chosen, no player will attack it). The usual break-invisibility rules apply.

(This only applies for AI and units not being watched by the human player, who will most likely notice a sheep heading straight for their hero)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision
Trigger above shows that Player 2 is Enemy with Player 1 (default enemy in Warcraft III World Editor) BUT Player 1 treats Player 2 as Allied
Is this what you're trying to achieve ?
One-sided enemy ?
 
Status
Not open for further replies.
Top