Page 1 of 1

Odd Aalya Bug

Posted: Sat Mar 05, 2011 2:37 pm
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]

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 2:57 pm
by Firefang
Do you have the award rifle award? Because it sounds like an award weapon glitch.

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 3:03 pm
by Snork
You don't need to have gotten the award to use the weapon, its just an odf like a regular weapon

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 3:06 pm
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.

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 3:10 pm
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"

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 3:38 pm
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

Re: Odd Aalya Bug

Posted: Sat Mar 05, 2011 3:50 pm
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.