joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
All I've done is do this to the US avenger weapon code:

AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
AntiGround = Yes

instead of:

AntiAirborneVehicle = Yes
AntiAirborneInfantry = No
AntiGround = No

. But, my avenger now can only fire on ground units and refuses to fire on air units. what's wrong?
Sponsor
klingondragon
11 years ago
Anti ground
I think this could be the problem
This probably makes it be an anti ground vehicle and not anti air
I could be wrong
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Well missile defenders also have similarity to my case here.
Their air and ground weapons are combined as one (not separated like patriots, tows etc) except that they didn't have an 'AntiGround = No' statement because weapons are predetermined as anti ground. i tried removing those from my avenger airlaserone and airlasertwo yet they wont shoot at the aircrafts.
klingondragon
11 years ago
You could try the actual weapon.ini and see what's in there
If it comes to it you could always make it have two weapons (one ground and one air)
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Yeah Ill just make two of those, it isnt that hard anyways probably will take 60 seconds.
Still wondering how the bug happens though
klingondragon
11 years ago
Who knows

Sometimes ive found my when I make a map.ini it file but as soon as I rewrite the code letter for letter it works again

Ini is temperamental and can be hard sometimes
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Nope, doesn't work.
I tried rewriting the code and still wont shoot at chinooks xD
klingondragon
11 years ago
What are you even trying to do
joewijoyo
  • joewijoyo
  • 79.25% (Friendly)
  • Captain Topic Starter
11 years ago
Just messing around making a more powerful US faction 😛.
I made a separate anti air weapon for the avenger anyways so now I can shoot at aircrafts