"Common" Side Issues

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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

"Common" Side Issues

Post by modmaster13 »

Hey guys, so I'm doing some side mod stuff, and I'm trying to use my custom Republic Side mod on a map. Whenever I go to load up my custom Republic side mod ingame, my game crashes. Here is a message I keep getting:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(1604)
Weapon base class "com_weap_veh_laser_blue" not found
So I've been editing the ord files to change colors of blaster bolts of vehicles and what not, and I have a file in my SIDES/Common/odf folder called "com_weap_veh_laser_blue"

Here is "com_weap_veh_laser_blue":
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "weapon"

[Properties]
HUDTag = "hud_vehicle_lasers"
MuzzleFlash = "med_muzzle_flash"
Discharge = "med_smoke_effect"

RoundsPerClip = "0"
ReloadTime = "0.0"

SalvoCount = "1"
ShotsPerSalvo = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"

LockOnRange = "75"
LockTime = "0.5"
AutoAimSize = "1.0"

MinSpread = "0"
MaxSpread = "0"

MinRange = "0"
OptimalRange = "100"
MaxRange = "250"

ScopeTexture = "weapon_scope4"

RecoilLengthLight = "0.2"
RecoilStrengthLight = "1"
RecoilLengthHeavy = "0.1"
RecoilStrengthHeavy = "0.6"

TriggerSingle = "0"

YawSpread = "0.1"
PitchSpread = "0.1"
SpreadPerShot = "0.0"
SpreadRecoverRate = "1.0"
SpreadThreshold = "0.9"
SpreadLimit = "0.1"

TargetPerson = "0"
TargetAnimal = "0"
TargetDroid = "0"
TargetVehicle = "0"
TargetBuilding = "0"

AITargetPerson = "1"
AITargetAnimal = "1"
AITargetDroid = "1"
AITargetVehicle = "1"
AITargetBuilding = "1"

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

DisplayRefire = "0"


//*****SOUND*****//
ReloadSound = ""
WeaponChangeSound = ""

OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = "com_weap_energy_refilled"
Does anyone know why this keeps crashing my game? I can use custom Separatist, Rebel, and Imperial custom sides on my map with custom blaster bolt colors, but whenever I try to activate my custom Republic side mod, it constantly crashes. This is driving me bonkers!
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: "Common" Side Issues

Post by Marth8880 »

The ODF probably isn't being "required" properly. Try listing the ODF either in your custom ingame REQ (if you have one) (and don't forget to move the ODF itself as well if you do do that), or try listing it in the REQ file of the side that's using it.
Post Reply