joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Anyone has an idea on how to make the microwave emitter of the microwave tank to behave like a vehicle pilot killer?
What I mean is like, when jarmen kell uses his kill pilot ability, it neutralizes the enemy's vehicle and turns it white.
I want to make the microwave emitter do just that such that it becomes a moving kill-pilot vehicle while stacking with the existing MicrowaveTankEmitterWeapon that burns infantry.
I thought of adding another one of these to create it;
Behavior = FireWeaponUpdate ModuleTag_22
Weapon = MicrowaveTankEmitterWeapon
ExclusiveWeaponDelay = 500 ; If we fire a real weapon, we turn this module off for this long
End

but since they cannot be stacked (i believe) , does anyone has a workaround for this?
Sponsor
precision_bomber
11 years ago
Change the damage type of MicrowaveTankEmitterWeapon to KILL_PILOT in weapon.ini
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Sorry if I wasn't clear.
I want to stack the two weapons such that my microwave tank can:
1. Still possess the MicrowaveTankEmitterWeapon that does MICROWAVE damage
2. ;while having the same emitter (or another invisible weapon with the same radius) be able to kill pilots of vehicles

edit: actually ive just changed my mind in an instant.

for number 2, id rather have the weapon have an EMP effect within the emitter's radius. any idea how to do that?
klingondragon
11 years ago
I can give you the code give me a minute
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Alright take your time! Thanks!
klingondragon
11 years ago
replace the old weapon set with this:

  WeaponSet
    Conditions          = None 
    Weapon              = PRIMARY MicrowaveTankBuildingDisabler
    Weapon              = SECONDARY MicrowaveTankBuildingClearer
    Weapon              = TERTIARY USAJarmenKellVehiclePilotSniperRifle
  End
and add this to weapon.ini

Weapon USAJarmenKellVehiclePilotSniperRifle
  PrimaryDamage = 1.0
  PrimaryDamageRadius = 100.0
  DamageDealtAtSelfPosition = Yes
  AttackRange = 100.0
  DamageType = KILL_PILOT
  DeathType = NORMAL
  WeaponSpeed = 600.0          ; dist/sec (huge value == effectively instant)
  FireFX = FX_MicrowaveTankEmitter 
  RadiusDamageAffects = ENEMIES
  DelayBetweenShots = 250           ; time between shots, msec
End

joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Wouldn't that make the KILL_PILOT weapon as a weapon that you ought to target with rather then become a persistently firing weapon like the microwave emitter that fires as long as the microwave tank exists?
klingondragon
11 years ago
It works ive tested it
The beam fires up automatically and kills the pilot
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
I dont think you get it. This is what I mean by microwave emitter


Now what I was asking for is an emitter like that that kills pilots (or EMP the vehicles) while be able to burn infantry alike when you drive the microwave tank alongside.
klingondragon
11 years ago
it does kill the pilot when it drives past and if the infantry are in the way it kills them too (like the original weapon)

have you tested my modifications if not don't moan until you've tried it
please be precise if English is not your first language I'm sorry if its hard to explain
if it is your first language I'm sorry but your sentences aren't great

i may be able to make it kill infantry aswell but its getting a bit hard
klingondragon
11 years ago
I've just relooked at the video

do you mean the china or usa tank?

all this is for usa
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
microwave tank is only for the USA bro 😛.

and what you made there is a disablestream that will only fire when you target someone
klingondragon
11 years ago
it fired when it drove past for me
i was using the attack move though
also there is a china microwave tank
the us one is actually an ecm tank
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
actually you got it the way around.
china is ECM tank
USA is microwave tank.

And actually since you said that Ill test it right now . I just looked at the code but i never tested it since it didnt look like what i wanted. ill edit this post to post the results.
klingondragon
11 years ago
next time test before you moan

also did you want the us or china one?
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
US duh because microwave tank is from the US.

and yes i just tested it. it didnt work because the code obviously is for the creation of another disable stream. do you get what i mean now btw?
klingondragon
11 years ago
it worked fine for me

if you use atack move it kills the pilot but yes with the original data stream

i can make it do what the video did (that was a china ecm i think) as i just found the weapon for that but i will have to remove one of the other weapons ( i will remove the building clearing one)

check my original code as im going to change it now for you
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
No.....

What you just made was for the US microwavetank and you still dont get what i mean.

Look at the video link i posted. See the microwave tank driving through and killing the people without the guy clicking to fire? Thats what I want; except I want one that drives through vehicles and disables them (like Superweapon General EMP Patriot or EMP Blast by China), stacking with the same emitter that can burn the infantry like shown in the video.
klingondragon
klingondragon
11 years ago
in my testing of these codes it does need to be targeted but it does do a burst that all kills the pilots