Damage radius for explosions [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Damage radius for explosions [Solved]

Post by Executer94 »

I edit a exp odf file to make more damage in a larger radius

but it doesn't damage anymore

here is my odf:
Hidden/Spoiler:
[ExplosionClass]

ClassLabel = "explosion"

[Properties]

LifeSpan = "2.0"
Effect = "com_sfx_spiral"
Damage = "800.0"
DamageRadius = "100.0"

ArmorScale = "3.0"
HealthScale = "1.8"
ShieldScale = "0.1"

Shake = "5.0"
ShakeLength = "3.0"
ShakeRadius = "305.0"
Push = "15.0"
PushRadius = "200.0"

SoundProperty = "com_weap_obj_med_exp"
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: damage raduis at explosions

Post by 501st_commander »

dont know if this is it but try moveing this under [properties] and above lifeSpan = "2.0"

Code: Select all

Damage = "800.0"
DamageRadius = "100.0"
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: damage raduis at explosions

Post by myers73 »

the shake radius and damage radius that big will cause horrible lag even in single player as it will most likely effect the whole map.
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Re: Damage radius for explosions

Post by Syth »

This is the what you change
DamageRadiusInner = "20.0"
DamageRadiusOuter = "25.0"
The inner radius shouldnt be larger then the outer radius
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Damage radius for explosions

Post by Executer94 »

works better units get damage :D
but what's the different of damageradius and DamageRadiusInner ,DamageRadiusOuter
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Damage radius for explosions

Post by Frisbeetarian »

Other than the apparent, no one here can give you an answer to that. It could be that the code for the latter two is more stable then the code for just DamageRadius, but that's just one theory.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Damage radius for explosions

Post by Executer94 »

ok

it works better with the inner and outer radius.

Thank you

Can be loocked!
Post Reply