time bomb exp
Posted: Sat Apr 28, 2007 11:45 am
i was wondering how you can make a time bomb send out a buff amin insted of the explosion?
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"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"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"