spy/sabotoege unit
Moderator: Moderators
spy/sabotoege unit
A unit idea of mine is to make a unit that can copy an enemy unit , become that unit, the enemy takes controle of that unit, but you can still see through that unit. It has no attack but it has a suiside that you can activate for a deesent sized boom. What do you think?
Re: spy/sabotoege unit
Or we can all .cheat .give 1000 corkrog hmm?ianmac wrote:A unit idea of mine is to make a unit that can copy an enemy unit , become that unit, the enemy takes controle of that unit, but you can still see through that unit. It has no attack but it has a suiside that you can activate for a deesent sized boom. What do you think?

Technical aspect wise though, I think it would be very cool if we could create such a unit. Possible via lua maybe?
Probably the best (but also most labour-intensive approach) would be to make a "spy" version of each unit you want to copy, and spawn that instead of the target unit. So you have a "spy peewee" that has FBI info similar to a crawling bomb, but the script/model of a peewee.KDR_11k wrote:The problem is the animations, the unit cannot mimic the target's script in any way since that would prevent the explosion. Maybe you could hide the unit and attach it to a copy of the target unit with its weapons disabled...
One of those things that you wouldn't want to do by hand, but could probably make an excternal script to construct the FBIs/files automatically for you without too much trouble (but it would seriously clutter your mod unit list for one friggin' unit).