Page 1 of 1

time bomb exp

Posted: Sat Apr 28, 2007 11:45 am
by Abiter_b
i was wondering how you can make a time bomb send out a buff amin insted of the explosion?

RE: time bomb exp

Posted: Sat Apr 28, 2007 4:34 pm
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.

RE: time bomb exp

Posted: Sat Apr 28, 2007 4:57 pm
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.

Posted: Sat Apr 28, 2007 10:39 pm
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?