Custom Weapon and animap "human_" error [Solved]

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
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Custom Weapon and animap "human_" error [Solved]

Post by Tourny »

Hi,

I made a staff weapon in XSI and exported with no errors.
Then I made an ODF but forgot to change the geometry from the bowcaster (which is what I edited) and it worked fine.
Then I went back and corrected my mistake.
Now whenever you play as the soldier and switch to that weapon (after spawning) it crashes.

The Error Log says:

Code: Select all

Message Severity: 3
.\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'all_inf_rifleman' failed to find animmap human_
I checked the Common/Munged folder and found the correct animations.

It's looking for the default rifle animations.

Anyone got any ideas?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Custom Weapon and Can't find animap "human_"

Post by DarthD.U.C.K. »

hmm i think manderek had such an animmap error before but i dont think it was solved..
i could be wrong though
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Custom Weapon and Can't find animap "human_"

Post by Tourny »

Hidden/Spoiler:
[code]Logging LevelPack
16:58:4007/27/09

=== all_inf_rifleman.lvl ===
Missing file com_sfx_watersplash_xl.config
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon_exp.class.req
munged\pc\sgc_weap_inf_jaffa_staffweapon_exp_high.class.req
Missing file cis_weap_inf_bulldog_ordnance.class
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon_ord.class.req
munged\pc\sgc_weap_inf_jaffa_staffweapon_ord_high.class.req
Missing file com_weap_inf_equip_lg.class
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon.class.req
munged\pc\all_weap_inf_rocket_launcher.class.req
Missing file com_weap_inf_ord_hum_sm.class
Reqd by ..\common\munged\pc\com_weap_inf_pistol_ord.class.req
..\common\munged\pc\com_weap_inf_shotgun_ord.class.req
..\common\munged\pc\com_weap_inf_sniper_rifle_ord.class.req
Missing file com_weap_inf_equip_sm.class
Reqd by munged\pc\all_weap_inf_pistol.class.req
munged\pc\all_weap_inf_thermaldetonator.class.req
Missing file com_weap_inf_equip_med.class
Reqd by munged\pc\all_weap_inf_shotgun.class.req
munged\pc\all_weap_inf_sniper_rifle.class.req
Missing file com_weap_inf_ord_hum_rocket.class
Reqd by ..\common\munged\pc\com_weap_inf_rocket_launcher_ord.class.req
Missing file all_inf_soldierjungle.texture
Reqd by munged\pc\all_inf_soldier.model.req
munged\pc\all_inf_soldier_low1.model.req

=== all_inf_sniper.lvl ===
Missing file marksperson.zaabin
Reqd by munged\pc\all_inf_sniper.class.req
Missing file leialz.zaabin
Reqd by munged\pc\all_inf_sniper.class.req
Missing file com_sfx_watersplash_xl.config
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon_exp.class.req
munged\pc\sgc_weap_inf_jaffa_staffweapon_exp_high.class.req
Missing file cis_weap_inf_bulldog_ordnance.class
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon_ord.class.req
munged\pc\sgc_weap_inf_jaffa_staffweapon_ord_high.class.req
Missing file com_weap_inf_equip_lg.class
Reqd by munged\pc\sgc_weap_inf_jaffa_staffweapon.class.req
munged\pc\all_weap_inf_rocket_launcher.class.req
Missing file com_weap_inf_ord_hum_sm.class
Reqd by ..\common\munged\pc\com_weap_inf_pistol_ord.class.req
..\common\munged\pc\com_weap_inf_shotgun_ord.class.req
..\common\munged\pc\com_weap_inf_sniper_rifle_ord.class.req
Missing file com_weap_inf_equip_sm.class
Reqd by munged\pc\all_weap_inf_pistol.class.req
munged\pc\all_weap_inf_thermaldetonator.class.req
Missing file com_weap_inf_equip_med.class
Reqd by munged\pc\all_weap_inf_shotgun.class.req
munged\pc\all_weap_inf_sniper_rifle.class.req
Missing file com_weap_inf_ord_hum_rocket.class
Reqd by ..\common\munged\pc\com_weap_inf_rocket_launcher_ord.class.req
0 Errors 0 Warnings

[/code]
That's what the logs in my _BUILD\Sides folder say.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Custom Weapon and Can't find animap "human_"

Post by AQT »

Are you missing the line AnimationBank = "" or ComboAnimationBank = "" in the weapon's ODF?
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Custom Weapon and Can't find animap "human_"

Post by Tourny »

No, but 'tis in a rather odd place.
Hidden/Spoiler:
[code][WeaponClass]
ClassLabel = "cannon"
GeometryName = "sgc_weap_inf_jaffa_staffweapon.msh"

[Properties]
GeometryName = "sgc_weap_inf_jaffa_staffweapon"
HighResGeometry = "sgc_weap_inf_jaffa_staffweapon"

//******************************************************
//*************** CHARGE STATES ****************
//******************************************************
OrdnanceName = "sgc_weap_inf_jaffa_staffweapon_ord"

FireSound = "cis_weap_inf_bulldog_fire"
ChargeSound = "all_weap_inf_bowcaster_charge"
ChargeSoundPitch = "0.05"

NextCharge = 0.95
ShotsPerSalvo = 1
ShotPatternCount = 1
OrdnanceName = "sgc_weap_inf_jaffa_staffweapon_ord_high"

FireSound = "cis_weap_inf_bulldog_fire"
ChargeSound = "all_weap_inf_bowcaster_charge"
ChargeSoundPitch = "0.05"

ChargeUpEffect = "com_sfx_chargeup"
MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 200 0 255"
FlashLength = 0.025
FlashLightColor = "255 100 0 255"
FlashLightRadius = "4.0"
FlashLightDuration = "0.5"
Discharge = "small_smoke_effect"

RoundsPerClip = "0"
ReloadTime = "0.0"
//HeatRecoverRate = "0.15"
//HeatThreshold = "0.3"

ZoomMin = "2.0"
ZoomMax = "5.0"
ZoomRate = "0.0"

AnimationBank = "rifle"

ShotDelay = "1.0"
TriggerSingle = "1"
//HeatPerShot = "0.15"
MaxPressedTime = "1.25"

HeatPerShot = "0.3"
HeatRecoverRate = "0.35"
HeatThreshold = "0.1"

YawSpread = "0.0"
PitchSpread = "0.0"

//KickSpread = "0.25"
SpreadRecover = "5.0"

SpreadPerShot = "1.1"//1.2
SpreadRecoverRate = "4.8"//0.08
SpreadThreshold = "1.6"//0.03
SpreadLimit = "6.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"

//KickStrength = "0.25"
//KickBuildup = "100.0"

MinRange = "0"
OptimalRange = "15"
MaxRange = "30"

LockOnRange = "64.0"
LockTime = "0.0"
AutoAimSize = "1.0"
LockOnAngle = "3.0"

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

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

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

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.15"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.5"
ChargeDelayHeavy = "2.0"

RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.1"
RecoilStrengthLight = "1"
RecoilStrengthHeavy = "0"

//******************************************************
//*************** SOUND ****************
//******************************************************

FireSound = "cis_weap_inf_bulldog_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
FireLoopSound = ""
ReloadSound = "com_weap_inf_reload_lg"
ChargeSound = "cis_weap_inf_rocket_launcher_tracking"
ChargeSoundPitch = "0.5"
ChangeModeSound = "com_weap_inf_equip_lg"
WeaponChangeSound = "com_weap_inf_equip_lg"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
[/code]
That's the Weapon's ODF.

EDIT: I changed the ODF to reflect a change I made- the results did not differ. BTW, this is what happens when you try to play:

Map loads,
Side Selection functions,
Character Selection functions,
It crashes a few seconds after you click spawn.

As a side note, right before I crash I see the weapon doing the weapon floating thing.
Last edited by Tourny on Mon Jul 27, 2009 7:13 pm, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Custom Weapon and Can't find animap "human_"

Post by AQT »

Try moving it beneath the line HighResGeometry = "all_1st_weap_inf_bowcaster" to see whether it would make a difference. It's probably picky like that.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Custom Weapon and Can't find animap "human_"

Post by Tourny »

I just did that. Read the post aboce yours, I edited it right as you posted.

EDIT: I've seen errors like these before when the character had its own skeleton and I told it to use animations from somewhere else. I fixed it by putting the animations into the skeleton's animation bank, or by erasing the skeleton. I would try that now but I don't know how it would work- since there are so many human_ animation banks- and it should be able to find them anyway, since they are in the common folder.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Custom Weapon and Can't find animap "human_"

Post by AQT »

At first I thought this problem was similar to the one found here: http://www.gametoast.com/forums/viewtop ... 5&p=315673 I guess not.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Custom Weapon and Can't find animap "human_"

Post by Tourny »

zmrk......

I can try moving the Animation Bank line where it should be.


EDIT: It worked!!! Thanks AQT!
Post Reply