Jump to content


Photo

Weapon range question

weapon flying height damage

Best Answer Gannicus, 06 August 2017 - 05:58 PM

Put the AntiAirborneMonster = Yes and AntiAirborneVehicle = Yes right below the weapon name and DamageMaxHeightAboveTerrain = 30 should be at least 300.

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 kkyuleug

kkyuleug
  • Members
  • 23 posts

Posted 05 August 2017 - 08:38 PM

Hello, I am trying to make it possible for Sauron's skill, "Fire of Doom" to attack flying units. So I'm studying on https://www.the3rdag...item-75?addview

 

On this tutorial,

 

In Weapon.ini

 

AntiAirborneVehicle = Yes

AntiAirborneMonster = Yes
 
This is the code allow to attack the flying units, but "Fire of Doom" already written yes. 
 
but in the game, the skill is not damaged flying unit. ex) eagle etc..  
 
How do I fix this code to damage the flying unit? Help me!


#2 Gannicus

Gannicus
  • Members
  • 24 posts

Posted 06 August 2017 - 11:50 AM

Fires of doom uses the same weapon as rain of fire to deal it's damage which is RainOfFirePhaseOneWeapon so you should edit that one.



#3 kkyuleug

kkyuleug
  • Members
  • 23 posts

Posted 06 August 2017 - 05:14 PM

Fires of doom uses the same weapon as rain of fire to deal it's damage which is RainOfFirePhaseOneWeapon so you should edit that one.

 
I referred to your hints and I see the code and I thought that I should edit the DamageMaxHeightAboveTerrain and I fixed it but nothing changed.
 
Weapon RainOfFirePhaseOneWeapon
RadiusDamageAffects = ENEMIES NEUTRALS
FireFX = FX_RainOfFirePhaseOne
DamageNugget                        ; A basic Nugget that just does damage
Damage        = 7250
DamageScalar  = 50% NONE +COMMANDCENTER
DamageTaperOff = 200
Radius        = 200
DamageMaxHeightAboveTerrain = 30
DelayTime     = 0
DamageType    = SIEGE
DeathType     = NORMAL
End
MetaImpactNugget                    ; A Nugget that throws things back with force
; HeroResist = .99
ShockWaveAmount = 50.0
ShockWaveTaperOff = 1.0
ShockWaveRadius = 50
End
;FireLogicNugget ; Increase the fuel where it hits
; LogicType = INCREASE_FUEL
; Radius = 150
; Damage = 25
; MinMaxBurnRate = 10
; MaxResistance = 5
;End
;FireLogicNugget ; Light everything on fire
; LogicType = INCREASE_BURN_RATE
; Radius = 150
; Damage = 100
;End
End
 
;------------------------------------------------------------------------------
Weapon RainOfFirePhaseOneWeapon02
RadiusDamageAffects = ENEMIES NEUTRALS
FireFX = FX_RainOfFirePhaseOne02
DamageNugget                        ; A basic Nugget that just does damage
Damage        = 7250
DamageScalar  = 50% NONE +COMMANDCENTER
DamageTaperOff = 200
Radius        = 200
DamageMaxHeightAboveTerrain = 30
DelayTime     = 0
DamageType    = SIEGE
DeathType     = NORMAL
End
MetaImpactNugget                    ; A Nugget that throws things back with force
; HeroResist = .99
ShockWaveAmount = 50.0
ShockWaveTaperOff = 1.0
ShockWaveRadius = 50
End
;FireLogicNugget ; Increase the fuel where it hits
; LogicType = INCREASE_FUEL
; Radius = 150
; Damage = 25
; MinMaxBurnRate = 10
; MaxResistance = 5
;End
;FireLogicNugget ; Light everything on fire
; LogicType = INCREASE_BURN_RATE
; Radius = 150
; Damage = 100
;End
End
 
 
There is no place to put  " AntiAirborneVehicle = Yes"
                                          AntiAirborneMonster = Yes
 
How do I edit?


#4 Gannicus

Gannicus
  • Members
  • 24 posts

Posted 06 August 2017 - 05:58 PM   Best Answer

Put the AntiAirborneMonster = Yes and AntiAirborneVehicle = Yes right below the weapon name and DamageMaxHeightAboveTerrain = 30 should be at least 300.



#5 kkyuleug

kkyuleug
  • Members
  • 23 posts

Posted 06 August 2017 - 08:10 PM

Put the AntiAirborneMonster = Yes and AntiAirborneVehicle = Yes right below the weapon name and DamageMaxHeightAboveTerrain = 30 should be at least 300.

 

Oh! DamageMaxHeightAboveTerrain = 30 is edited to 300,  it works well! Thank you very much!!!!! You are a genius!!!!! 


Edited by kkyuleug, 06 August 2017 - 08:10 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users