Odd Aalya Bug

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
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Odd Aalya Bug

Post by Snork »

I'm trying to make a character using aayla's model (Enraged Prostitute XD) and I'm having some troubles. When I try to switch primary weapon the whole game freezes, even though there is no weapon in that slot at all. It only happens with this character. In the character select screen, it lists her having no weapons despite the fact that when I spawn she has the elite rifle she is supposed to have. I can spawn fine, as long as I don't press the primary weapon shift button.
I have copied the odf's for her tentacles, the munged files and the .msh/.option files and none of them are glitching, so I'm lost. It doesn't CTD, the game just freezes. Halp.


Select Character Screen
Hidden/Spoiler:
Image
ODF
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"
GeometryName = "rep_inf_aaylasecura.msh"

[Properties]
NumTentacles = "2"
BonesPerTentacle = "3"
TentacleCollType = "0"



GeometryName = "rep_inf_aaylasecura"
GeometryLowRes = "rep_inf_aaylasecura_low1"
forcemode

AnimationName = "aalya"



CollisionScale = "0.0 0.0 0.0" // don't take damage from collisions

///JetJumpEnd


WEAPONSECTION = 1
WeaponName = "tgt_weap_award_rifle"
WeaponAmmo = 4


///SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_secura_spawn"
SndHeroDefeated = "hero_secura_exhausted"
SndHeroKiller = "hero_secura_exhausted"

VOSound = "rep_off_response_hero_command SC_Follow"
VOSound = "rep_off_response_hero_command SC_StopFollow"
VOSound = "rep_off_response_hero_command SC_VehicleWaitUp"
VOSound = "rep_off_response_hero_command SC_GetIn"
VOSound = "rep_off_response_hero_command SC_GetOut"

VOSound = "hero_secura_AcquiredTarget AcquiredTarget"
VOSound = "hero_secura_KillingSpree4 KillingSpree4"

VOUnitType = 189
SoldierMusic = "rep_hero_secura_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
//ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "rep_inf_soldier"


[/code]
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: Odd Aalya Bug

Post by Firefang »

Do you have the award rifle award? Because it sounds like an award weapon glitch.
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: Odd Aalya Bug

Post by Snork »

You don't need to have gotten the award to use the weapon, its just an odf like a regular weapon
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: Odd Aalya Bug

Post by Firefang »

I know, but if you have a normal weapon, get an award, and don't have the award weapon set up, it will freeze.
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: Odd Aalya Bug

Post by Anakin »

that's a problem with many maps if you have legend in Some weapon and if you scroll the game crashes. have you a error log??

WEAPONSECTION = 1
WeaponName = "tgt_weap_award_rifle"
WeaponAmmo = 4

try to use the stock weapon

why this:

ClassParent = "com_hero_default"
User avatar
Snork
Lieutenant General
Lieutenant General
Posts: 669
Joined: Thu Jun 07, 2007 3:34 pm
Games I'm Playing :: SWBF2 and Minecraft
xbox live or psn: No gamertag set
Contact:

Re: Odd Aalya Bug

Post by Snork »

okay I managed to fix it so it doesn't crash by removing the unlock/score lines from the common_award weapons but I re-added the pistol she had before and that won't show up

Code: Select all


WEAPONSECTION = 1
WeaponName         = "tgt_weap_rifle"
WeaponAmmo         = 5

WEAPONSECTION = 2
WeaponName 	= "tgt_weap_inf_pistol"
WeaponAmmo	= 9 


Additionally, if I switch from her to another character the game CTD's
CalvaryCptMike
Captain
Captain
Posts: 476
Joined: Sat Feb 19, 2011 3:10 pm
Projects :: Nothing--absolutely nothing
Location: Freed by alien robots, now living on Mars
Contact:

Re: Odd Aalya Bug

Post by CalvaryCptMike »

Some things about award weapons.( they are really simple if you understand them )

Your award rifle's odf should look something like this:
[WeaponClass]
ClassLabel = "cannon"

[Properties]
------------
MedalsTypeToUnlock = 1
ScoreForMedalsType = 1
------------


AnimationBank = "rifle"

blablabla
The first highlighted line is what makes the AWARD weapon appear after receiving the award.

The second line that is highlighted means that this weapon will be unlocked when you get the "Frenzy" award, not any of the other awards.

In non-award weapons this line is used instead of MedalsTypeToUnlock:
MedalsTypeToLock = 1

That means that when you get the award and change to the award rifle, the regular rifle will disappear.

If you change weapons after getting the award that automatically locks your award rifle but there are no other weapons to change to so it freezes becuase you must have at least One primary weapon.

By the way do you have the permanent award rifle?

Try adding this to your weapon odf:

ScoreForMedalsType = -1
MedalsTypeToLock = -1
MedalsTypeToUnlock = -1

That should fix your problem but it will take away award weapons. :)

EDIT: it looks like you understand the award weapon stuff already.
Post Reply