Side edits causing crash

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
hiddenslayer
Private Recruit
Posts: 25
Joined: Tue Mar 19, 2013 2:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII
xbox live or psn: No gamertag set

Side edits causing crash

Post by hiddenslayer »

So, I've been having an issue with my force lightning...I basically increased the range to 40, and some other tiny edits (stamina usage, and damage)....when I munged it and put the sides into my server, it would continuously crash both Dooku, and Emperor. So I went back and replaced it with stock lightning files, and ONLY changed the force usage and damage.....after munging it still crashes them, for some reason.

P.S. It's not the damage, b/c I used the same value as all the other forces(?).
P.SI. Is Vader "CLICK" (instead of "HOLD") supported?
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Stupid Side Issue...

Post by Kingpin »

Can you post your LUA?
hiddenslayer
Private Recruit
Posts: 25
Joined: Tue Mar 19, 2013 2:51 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBFII
xbox live or psn: No gamertag set

Re: Side edits causing crash

Post by hiddenslayer »

Alright

com_weap_inf_force_lightning
Hidden/Spoiler:
][WeaponClass]

ClassLabel = "cannon"

[Properties]
HUDTag = "hud_force_lightning"
GeometryName = ""
HighResGeometry = ""

FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
Discharge = "med_smoke_effect"

RoundsPerClip = "0"
ReloadTime = "0.0"
HeatRecoverRate = "0.3"
HeatThreshold = "0.25"

OrdnanceName = "com_weap_inf_force_lightning_ord"

TriggerSingle = "0"
ShotDelay = "0.0"
HeatPerShot = "0.1"

EnergyDrain = 0.0

InstantPlayFireAnim = 1
OffhandWeapon = 1

PitchSpread = "0.0"
YawSpread = "0.0"

SpreadPerShot = "0.0"//1.2
SpreadRecoverRate = "0.0"//0.08
SpreadThreshold = "0.0"//0.03
SpreadLimit = "0.0"

StandStillSpread = "0.0"//0.4
StandMoveSpread = "0.0"//0.9
CrouchStillSpread = "0.0"//0.1
CrouchMoveSpread = "0.0"//0.6
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"

LockOnRange = "64.0"
LockTime = "0.0"
AutoAimSize = "2.0"

SalvoCount = "1"
ShotsPerSalvo = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.5" // must have one or no animation - Mike Z
SalvoTime = "0.0"

//ChargeRateLight = "1.0"
//MaxChargeStrengthLight = "1.0"
//ChargeDelayLight = "0.0"
//ChargeRateHeavy = "1.0"
//MaxChargeStrengthHeavy = "0.5"
//ChargeDelayHeavy = "2.2"

//RecoilLengthHeavy = "0.25"
//RecoilStrengthHeavy = "2"
//RecoilDecayHeavy = "0.0"

FireSound = "force_lightning_fire"
ReloadSound = ""
WeaponChangeSound = ""
ChangeModeSound = ""
FireEmptySound = ""
ChargeSound = ""
ChargeSoundPitch = "0.05"
OverheatSound = ""
OverheatSoundPitch = "0.5"
OverheatStopSound = ""

TargetEnemy = "1"
TargetNeutral = "1"
TargetFriendly = "1"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "0"[/spoiler]


And here's the ORD (I didn't even open the EXP).
[spoiler][OrdnanceClass]

ClassLabel = "emitterordnance"

[Properties]
Explosion = "com_weap_inf_force_lightning_exp"

ImpactEffectWater = "com_sfx_watersplash_ord"

ConeLength = "15"
ConeAngle = "80"
FirstRadius = "0.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 = "3000" // 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 = "3100" // 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.0"
ShieldScale = "1.0"
PersonScale = "1.0"
AnimalScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.0"

SmolderEffectTimer = "3.0"

SmolderEffect = "com_sfx_inf_damage_electricity"
SmolderBone = "bone_ribcage"

SmolderEffect = "com_sfx_inf_damage_electricity"
SmolderBone = "bone_pelvis"

Push = "0.0"
LightningEffect = "com_sfx_lightning"
LightningEffectScale = "0.15"
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
EDIT
Well, Sorry for the DBle post...
But thanks for editing my title...whoever it was :P
And, if you could fix my post...I dunno how to add spoiler tags!! :(

Double posting is against the RULES; please EDIT your post instead -Staff
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Side edits causing crash

Post by Anakin »

he asked for a lua file and you posted an odf file.

and the spoiler tags are called hide on this board
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Side edits causing crash

Post by JimmyAngler »

the lua is found here:
BF2ModTools/data_XXX/Common/scripts/XXX.

XXX can be substituted for your map name.
Post Reply