SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: (DW)skelltor on December 13, 2009, 10:19:34 PM

Title: time bomb
Post by: (DW)skelltor on December 13, 2009, 10:19:34 PM
i was wondering if anyone knew how to mod the time bomb so that you can place like 1-15 and make them have no time limet but go off when relode is pressed i saw it in the elite sides mod so i know it can be done i am just wondering how

skelltor
Title: Re: time bomb
Post by: Phobos on December 13, 2009, 10:28:46 PM
I put these in my custom map Phobos I'm making. It would likely crash online but here's what you need.

all_weap_inf_remote_charge_dispenser.odf
[WeaponClass]
ClassLabel          = "detonator"

[Properties]
GeometryName            = "com_weap_inf_seismic_mine"

RoundsPerClip           = "1"
ShotDelay           = "0.0"
ReloadTime          = "3.0"
IconTexture                 = "HUD_timebomb_icon"

TriggerAll          = "1"

AnimationBank           = "grenade"

TrackingSound               = ""

WEAPONSECTION           = 1

ModeTexture         = "HUD_weap_mine"
//ModeTextureColor      = "42 235 42 100"
ReticuleTexture         = "reticule_00"
OrdnanceName            = "all_weap_inf_remote_charge_dispenser_ord"

ShotDelay           = "0.5"
MaxItems            = "3.0"

AutoAimSize         = "1.0"

MinStrength         = "0.3"
MaxStrength         = "0.4"

FireSound           = "com_weap_throw_fire"
FireEmptySound      = "com_weap_inf_ammo_empty"
FireLoopSound       = ""
ReloadSound         = "all_weap_inf_equip_med"
ChargeSound         = ""
ChargeSoundPitch    = ""
ChangeModeSound     = "all_weap_inf_equip_med"
WeaponChangeSound   = "all_weap_inf_equip_med"
OverheatSound       = ""
OverheatSoundPitch  = ""
OverheatStopSound   = ""
ClankLeftWalkSound  = ""
ClankRightWalkSound = ""
ClankLeftRunSound   = ""
ClankRightRunSound  = ""
JumpSound           = "all_weap_inf_pistol_mvt_jump"
LandSound           = "all_weap_inf_pistol_mvt_land"
RollSound           = "all_weap_inf_pistol_mvt_roll"
ProneSound          = "all_weap_inf_pistol_mvt_squat"
SquatSound          = "all_weap_inf_pistol_mvt_lie"
StandSound          = "all_weap_inf_pistol_mvt_getup"





all_weap_inf_remote_charge_dispenser_exp.odf
[ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage          = "2000.0"
DamageRadiusInner   = "4.5"
DamageRadiusOuter   = "8.5"

Push            = "10.0"
PushRadiusInner = "3.5"
PushRadiusOuter = "4.5"

Shake           = "2.0"
ShakeLength     = "1.25"
ShakeRadiusInner= "8.0"
ShakeRadiusOuter= "16.0"

//Effect        = "com_sfx_weap_grenade_schrap_exp"
//Effect          = "timebomb"
Effect          = "seismiccharge2"
//WaterEffect     = "watersplash_lg"
WaterEffect     = "seismicchargewater"
Decal           = "decal_explosion"
LightColor      = "255 255 255"

LightRadius     = "10.0"

LightDuration   = "1.0"

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

SoundProperty   = "com_weap_seismic_exp"


all_weap_inf_remote_charge_dispenser_ord.odf

[GameObjectClass]
ClassLabel          = "mine"

[Properties]
GeometryName            = "com_weap_inf_seismic_mine"
ExplosionTrigger        = "all_weap_inf_remote_charge_dispenser_exp"
ExplosionExpire         = "all_weap_inf_remote_charge_dispenser_exp"
ExplosionDeath          = "com_weap_inf_landmine_destroyed_exp"

TrailEffect         = "com_sfx_weap_grenade_gold"
LightColor          = "224 224 160 150"
LightRadius         = "4.0"

//LifeSpan            = "5.0"
Velocity            = "0.0"
Gravity             = "1.0"
Rebound             = "0.0
Friction            = "1.0

MaxHealth           = "150"

//TickSound         = "all_weap_inf_timebomb_timer"
//TickSoundPitch    = "0.5"

//CollisionOtherSound     = "com_weap_remote_charge_land"
//CollisionFoliageSound   = "com_weap_remote_charge_land"
//CollisionWaterSound     = ""


To have more than 3 just change MaxItems            = "3.0" to whatever you want. I think if you go over 12 it gets buggy and possibly crashes but just test it out.
Title: Re: time bomb
Post by: (DW)skelltor on December 13, 2009, 10:46:22 PM
ok thanks the mod that had it you could place up to 100 but that seamed a bit fakey and a least that versios worked online just to let you know
Title: Re: time bomb
Post by: Jango on December 24, 2009, 06:08:16 AM
you change the LifeSpan  line
Title: Re: time bomb
Post by: (DW)skelltor on December 26, 2009, 01:52:21 PM
thaks this topic can be closed now
EhPortal 1.34 © 2024, WebDev