odf help

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
mutedrancor
Master Sergeant
Master Sergeant
Posts: 177
Joined: Fri Dec 07, 2007 8:27 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: HMMM.......

odf help

Post by mutedrancor »

challenger 33 gave my his force fire .odfs and they were working fine until i screwed some thing up with the ord Here is the error log
Hidden/Spoiler:
Message Severity: 3
.\Source\Weapon.cpp(1719)
Weapon "com_weap_force_fire" missing ordnance 0.000000 "com_weap_inf_flamethrower_ord"
and the ord
Hidden/Spoiler:
[OrdnanceClass]

ClassLabel = "emitterordnance"

[Properties]
ImpactEffectWater = "com_sfx_watersplash_ord"

ConeLength = "10"
ConeAngle = "45"
FirstRadius = "2.0"
MaxTargets = "10" // Max number of targets to hit. Chaining is off so the damage will be split between the number of targets
NoChaining = "1" // No chaining - all bolts coming from the attacker

//OrdnanceSound = "com_weap_launcher_energy_dumbfire"

Damage = "5" // This is the min damage. Even if the initial damage is split between the number of targets, it will never go below this number for each target
MaxDamage = "15" // This is the max damage
JumpDeduction = "0" // No jump deduction. This is for chaining only
DamageThreshold = "0" // Always do damage (no threshold)
MaxJumpDistance = "0" // No max jump distance because the chaining is off

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

//Push = "0.0"
//LightningEffect = "com_sfx_lightning"
//LightningEffectScale = "0.25"
//NoTargetLightningEffectCount = "5" // The number of ligthning effects to display when the ordinance has no targets to hit
//NoTargetLightningEffectRandomSpread = "0.4" // The random rotation spread the ligthning effects does when the ordinance has no targets to hit

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

PlayEffectOnOwnerAimer = "com_sfx_weap_flamethrower_ord"
SmolderDamageRate = "50.0" // default is 0. the damage rate for smoldering targets

SmolderEffectTimer = "5.0"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_ribcage"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_head"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_pelvis"

SmolderVanishDeath = "0"

BonusAmplification = "0.5" //how much more damage will be done when team_bonus_blaster_amplication is on
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Re: odf help

Post by Challenger33 »

According to that, the file "com_weap_inf_flamethrower_ord" is not in your sides folder. Double check that and then report back :) .
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: odf help

Post by Maveritchell »

Challenger33 wrote:According to that, the file "com_weap_inf_flamethrower_ord" is not in your sides folder. Double check that and then report back :) .
That shouldn't be the issue. "Com_weap_inf_flamethrower_ord" is an ordnance that's in the common folder. The real issue looks like that he was modifying some properties in the actual weapon .odf ("com_weap_force_fire") and made the line that says "Ordnance =" to be "0.000000 'com_weap_inf_flamethrower_ord'." All he needs to do is remove that unnecessary numerical prefix to the actual name to his ordnance.
Post Reply