Flamethrower: Fire Not Coming Out//Off Hand Weapon [Solved]

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
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Flamethrower: Fire Not Coming Out//Off Hand Weapon [Solved]

Post by LitFam »

I am using a wrist flamethrower as a weapon for a death watch trooper but no fire comes out can anyone help me get fire out (BTW this is an off-hand weapon)

Update: I fixed the problem http://www.moddb.com/mods/litfams-custo ... rower-fire

Picture http://www.moddb.com/mods/litfams-custo ... #mediaform

Flame Thrower ODF

Code: Select all

[WeaponClass]
ClassParent         = "com_weap_inf_flame"

[Properties]
OrdnanceName        = "dwt_weap_inf_flamethrower_ord"

HUDTag              = "hud_vehicle_flak"

// to make it work - Mike Z
OffhandWeapon       = "1"
InstantPlayFireAnim = "1"
InitialSalvoDelay = "0.2" // 14 frames

//******************************************************
//***************   SOUND       ****************
//******************************************************

FireSound           = "flame_on"
ReloadSound         = "com_weap_inf_reload_med"
ChangeModeSound     = "com_weap_inf_equip_med"
FireEmptySound      = "com_weap_inf_ammo_empty"
WeaponChangeSound   = "com_weap_inf_equip_med"
JumpSound           = "com_weap_inf_rifle_mvt_jump"
LandSound           = "com_weap_inf_rifle_mvt_land"
RollSound           = "com_weap_inf_rifle_mvt_roll"
//ProneSound          = "com_weap_inf_rifle_mvt_lie"
SquatSound          = "com_weap_inf_rifle_mvt_squat"
//StandSound          = "com_weap_inf_rifle_mvt_getup"
Flame Thrower ORD ODF

Code: Select all

[OrdnanceClass]
ClassParent 		= "com_weap_inf_flame_ord"

[Properties]

//Explosion         	=  "dwt_weap_inf_flamethrower_exp"

PlayEffectOnOwnerAimer = "cmm_sfx_weap_flamethrower_ord"

AffectFriends = "1"  // default is 1. should the ordnance affect friends. 
AffectEnemies = "1"  // default is 1. should the ordnance affect enemies. 

LaserTexture        	= "fire"
LaserGlowColor      	= "253 43 43 100"
LightColor          	= "253 43 43 150
LightRadius         	= "5.0"

LifeSpan            	= "0.80"
Velocity            	= "500.0"
Gravity             	= "1.0"
Rebound             	= "0.0"

MaxDamage           	= "500.0"
DamageTransitionDelay   = "0.0"     //How long in seconds before the damage change begins.
DamageTransitionPeriod  = "0.0"     //How long in seconds the damage change lasts.
DamageFinalDamage       = "-1.0"    //What the damage would be at the end of the transition period.  A negative value means that no change is applied.

VehicleScale        	= "0.1"
ShieldScale         	= "1.0"
PersonScale         	= "1.0"
DroidScale          	= "1.0"
BuildingScale       	= "0.1"

BonusAmplification  = "0.25"				//how much more damage will be done when team_bonus_blaster_amplication is on
Flame Thrower EXP ODF

Code: Select all

[ExplosionClass]
ClassParent 		= "com_weap_inf_flame_exp"

[Properties]
Post Reply