Jump to content


Photo

Scripting Problem

isengard explosive mine

  • Please log in to reply
1 reply to this topic

#1 Sperminator95

Sperminator95
  • New Members
  • 2 posts

Posted 27 March 2020 - 09:41 AM

Hello everyone, I am making a map for RotWK and I'm currently stuck on the Isengard explosive mine... I wanted to edit the damage made by the explosion but despite the entire afternoon spent trying to do so, I couldn't. I did put and edit in the map.ini tyhe following piece of code:

Weapon IsengardExplosiveMineExplosionWeapon   ; BALANCE Mine Weapon
AttackRange           = 50.0
DelayBetweenShots     = 2000            ; time between shots, msec
FireFX                = FX_ExplosiveMine
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS SELF ; SELF so mine affects siegeworks that made it 

; The highly destructive exposion that destroys everything. Consentrated to a small radius
; so that it doesn't destroy objects with awkward bounding boxes, like walls.
DamageNugget
Damage        = 150000
Radius        = 125.0
DelayTime     = 0
DamageType    = SIEGE
DamageFXType  = FLAME
DeathType     = BURNED
DamageScalar  = +50000% MBMMGateB ; Make sure we one shot kill Culvert but Ballista have to shoot alot
End

MetaImpactNugget                    ; A Nugget that throws things back with force 
; HeroResist = .75
ShockWaveAmount   = 900.0 
ShockWaveRadius   = 125.0
ShockWaveTaperOff = 0.66
End
End 

But without success, as the damage doesn't change. Maybe I'm editing the wrong thing... Thanks in advance for the replies

 

 

Btw the map has got sort of islands protected by very resistant minas morgul gate B



#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 07 April 2020 - 07:53 AM

Not sure if it's possible to directly edit weapons, try changing the object instead and give it a new weapon, which is the code up there with a new name?


Ridder Geel




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users