Ordnance explosion push isn't working, any ideas?

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
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Ordnance explosion push isn't working, any ideas?

Post by Taivyx »

So I gave my shotgun's ordnance an invisible explosion in order to set a pushback value, so that when you kill someone with the shotgun, they fly backwards :D
Problem is, it's not working, and I have no clues as to why it isn't. :?

The line in my shotgun ordnance code that calls for the invisible explosion

Code: Select all

ExplosionExpire		= "remington_ord_exp"
remington_ord_exp.odf
Hidden/Spoiler:
[code][ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage = "0.0"
DamageRadiusInner = "4.5"
DamageRadiusOuter = "6.5"

Push = "10.0"
PushRadiusInner = "0.5"
PushRadiusOuter = "0.5"

Shake = "0.0"
ShakeLength = "0.0"
ShakeRadiusInner = "0.0"
ShakeRadiusOuter = "0.0"

Effect = "com_sfx_ord_exp"
WaterEffect = "com_sfx_watersplash_ord"

VehicleScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "1.0"
AnimalScale = "1.0"

SoundProperty = ""
//WaterExplosion = "com_weap_obj_med_water_exp"[/code]
Before someone asks, yes I know it's using the explosion, because it played an explosion sound before I took it out in the second-to-last line

EDIT: By the way the reason that the push value is set at the ridiculous number of 10 is because I was worried it wouldn't be noticeable (10 is the value of push for a grenade)
Last edited by Taivyx on Sat Aug 23, 2008 4:13 pm, edited 1 time in total.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Ordnance explosion push isn't working, any ideas?

Post by MandeRek »

Taivyx wrote:So I gave my shotgun's ordnance an invisible explosion in order to set a pushback value, so that when you kill someone with the shotgun, they fly backwards :D
Problem is, it's not working, I have no clues why it isn't. :?

The line in my shotgun ordnance code that calls for the invisible explosion

Code: Select all

ExplosionExpire		= "remington_ord_exp"
remington_ord_exp.odf
Hidden/Spoiler:
[code][ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage = "0.0"
DamageRadiusInner = "4.5"
DamageRadiusOuter = "6.5"

Push = "10.0"
PushRadiusInner = "0.5"
PushRadiusOuter = "0.5"

Shake = "0.0"
ShakeLength = "0.0"
ShakeRadiusInner = "0.0"
ShakeRadiusOuter = "0.0"

Effect = "com_sfx_ord_exp"
WaterEffect = "com_sfx_watersplash_ord"

VehicleScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "1.0"
AnimalScale = "1.0"

SoundProperty = ""
//WaterExplosion = "com_weap_obj_med_water_exp"[/code]
Before someone asks, yes I know it's using the explosion, because it played an explosion sound before I took it out in the second-to-last line

EDIT: By the way the reason that the push value is set at the ridiculous number of 10 is because I was worried it wouldn't be noticeable (10 is the value of push for a grenade)
Can't you just add a nice push value in the ordnance odf? :?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Ordnance explosion push isn't working, any ideas?

Post by Taivyx »

Just tried that, didn't change a thing, as I suspected, cause push value is a explosion-exclusive value
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Re: Ordnance explosion push isn't working, any ideas?

Post by -_- »

Try: ExplosionName = "remington_ord_exp"
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Ordnance explosion push isn't working, any ideas?

Post by Taivyx »

Well I already stated that it's using the explosion...... I'll give it a shot though

EDIT: Woah, it works! That was surprising. Thanks, Skyhawk! :D
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Ordnance explosion push isn't working, any ideas?

Post by Maveritchell »

For future reference, ExplosionExpire is the explosion that plays when an ordnance dies, not when it hits.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Ordnance explosion push isn't working, any ideas?

Post by obiboba3po »

Taivyx wrote:Well I already stated that it's using the explosion...... I'll give it a shot though

EDIT: Woah, it works! That was surprising. Thanks, Skyhawk! :D
wow thats pretty cool that it works. i never knew that it worked like that. (btw im pretty sure that was face)
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Re: Ordnance explosion push isn't working, any ideas?

Post by -_- »

obiboba3po wrote:
Taivyx wrote:Well I already stated that it's using the explosion...... I'll give it a shot though

EDIT: Woah, it works! That was surprising. Thanks, Skyhawk! :D
wow thats pretty cool that it works. i never knew that it worked like that. (btw im pretty sure that was face)
-_-(Face).. aka Skyhawk. :roll:
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Ordnance explosion push isn't working, any ideas?

Post by obiboba3po »

oh lol didnt know that...at least i know now thanks for correcting me :)
Post Reply