time bomb exp

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
Abiter_b

time bomb exp

Post by Abiter_b »

i was wondering how you can make a time bomb send out a buff amin insted of the explosion?
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: time bomb exp

Post by Darth_Z13 »

Yes you can. Say I wanted to give a CIS time bomb a Magnaguard's Neuro Poison, here's what I would have to do...

1. Open cis_weap_inf_timebomb_destroyed_exp.odf. and erase everything in it. Paste this into it.

Code: Select all

[ExplosionClass]
ClassLabel          = "explosion"

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

Push                = "0.0"
PushRadiusInner     = "0.0"
PushRadiusOuter     = "0.0"

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

WaterEffect         = "com_sfx_watersplash_sm"
Effect 		    = "com_sfx_buff_poison"
Decal               = "decal_explosion"

LightColor 	    = "46 252 5 150"
LightRadius 	    = "0.0"
LightDuration 	    = "0.0"

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

SoundProperty       = "com_buff_fire"
2. Open com_weap_inf_timebomb_exp.odf. Erase everything in it. Paste this into it.

Code: Select all

[OrdnanceClass]

ClassParent      = "com_weap_inf_buff_ord"

[Properties]

DebuffDamageTimer = "15"
DebuffDamageRate = "30"

AffectFriends = "0"  // default is 1. should the ordnance affect friends. 
AffectEnemies = "1"  // default is 1. should the ordnance affect enemies. 
ApplyOnOwnerIfOnOthers = "0"
And munge normally. I haven't tested this but I'm pretty sure it will work.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: time bomb exp

Post by SBF_Dann_Boeing »

don't think it does, i've tried many ways to have an exp emit some type of ordnance like that but it wont work. u may see those green things they prolly wont do anything.
Abiter_b

Post by Abiter_b »

tryed that and came up with these errors in game u couldnt use the timebomb

Code: Select all

Message Severity: 2
.\Source\Ordnance.cpp(510)
Ordnance "abc_weap_inf_timebomb_ord" missing expire explosion "abc_weap_inf_timebomb_exp"

Message Severity: 3
.\Source\WeaponDispenser.cpp(573)
Dispenser missing entity class "abc_weap_inf_timebomb_ord"
the files are all there tho?
Post Reply