Jump to content

Mirage Tanks with Selectable Disguises


Chrono Vortex

Recommended Posts

5a48a8da29072_MirageDisguise.gif.45266584ddf1903bd2306bc53fd0ee39.gif

I had thought that this was only reliably possibly using Ares, but it turns out that the logic works pretty much perfectly in the vanilla game, and getting it to work is just a matter of messing with some INI.

This will enable mirage tanks to select their disguises in your map, which is useful if you want to make something like Prop Hunt in RA2.

All you need to do is open your map in WordPad or Notepad++ and paste in this code:

[MGTK]
Primary=OpticProjectors
Secondary=MirageGun

[OpticProjectors]
Damage=1
ROF=100
Range=-2
Projectile=Invisible
Speed=100
FireOnce=yes
Warhead=TankSnapshot
OmniFire=yes
RevealOnFire=no
TerrainFire=yes

[MirageGun]
Anim=none

[TankSnapshot]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
MakesDisguise=yes

The only issue with this is that it takes away the muzzle flash animation for when the mirage tank fires it's weapon. This is because, for this to work, the actual weapon has to be the mirage's secondary so the weapon which allows it to disguise can be its primary. The mirage weapon has no coordinates set for its muzzle flash animation when its a secondary weapon, which means the game just defaults to drawing it in the middle of the mirage tank. It looks really weird, so [MirageGun] and "Anim=none" simply gets rid of it.

Edited by Chrono Vortex
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...