Wookie with Wampa claws

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
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Wookie with Wampa claws

Post by Lorul1 »

The title says it all
I'm trying to take the wampa claw attack (the one from the hoth hunt map that comes with battlefront 2) and add it to the (rebel alliance) Wookie. I want the wookie to have both the claw attack and the bowcaster, however I am having big problems trying to get the claw attack to work do :runaway:
can someone please give me a walk through on how to do this
(or if this has already been done give me a link so i don't have to do it my self :D )
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Wookie with Wampa claws

Post by AQT »

Lorul1 wrote:however I am having big problems trying to get the claw attack to work do :runaway:
You are having big problems because...?

The stock SNW side assets should contain all of the files you will need to get this weapon to work. Also, there aren't that many files to look through, so you shouldn't have a hard time getting just the essential files. And the last thing you need to know is that the bowcaster should be the first primary weapon, while the claw attack (or any .combo-based melee weapon in general) should be the second primary weapon.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

it still doesn't work

my odf :
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "all_inf_default"

[Properties]

UnitType = "trooper"

MaxHealth = 800.0

MaxSpeed = 6.0
MaxStrafeSpeed = 4.5

CollisionRootScale = "1.15"
CollisionHeadOffset = "0.0 -0.2 0.0"

WEAPONSECTION = 1
WeaponName = "all_weap_inf_bowcaster"
WeaponAmmo = 6

WEAPONSECTION = 2
WeaponName = "hot_weap_lightsaber_wampa"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "ewk_weap_inf_spear"
WeaponAmmo = 20
WeaponChannel = 1

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 2.25 0.0
TrackOffset = "0.0 0.0 4.0"
TiltValue = "5.0"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 2.0 0.0
TrackOffset = "0.4 0.05 3.25"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "PRONE"
EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"

CAMERASECTION = "PRONEZOOM"
EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 2.25 0.0
TrackOffset = "0.0 0.0 4.5"
TiltValue = "5.0"
CameraBlendTime = "0.75"

// general VO - Some wookie VO unavailable
HurtSound = "all_inf_com_chatter_wound_wookie"
DeathSound = "all_inf_com_chatter_death_wookie"
FoleyFXClass = "wok_inf_soldier"



VOUnitType = 2


VOSound = "wok1_command_follow SC_Follow"
VOSound = "wok1_command_stopFollow SC_StopFollow"
VOSound = "wok1_command_stopVehicle SC_VehicleWaitUp"
VOSound = "wok1_command_getIn SC_GetIn"
VOSound = "wok1_command_getOut SC_GetOut"
VOSound = "wok1_response_follow SC_FollowResponse"
VOSound = "wok1_response_stopFollow SC_StopFollowResponse"
VOSound = "wok1_response_stopVehicle SC_VehicleWaitUpResponse"
VOSound = "wok1_response_getIn SC_GetInResponse"
VOSound = "wok1_response_getOut SC_GetOutResponse"

VOSound = "wok2_inf_chatter_AcquiredTarget AcquiredTarget"
VOSound = "wok2_inf_chatter_NearbyEnemySlaughter NearbyEnemySlaughter"
VOSound = "wok2_inf_chatter_NearbyFriendlySlaughter NearbyFriendlySlaughter"
VOSound = "wok2_inf_chatter_KillingSpree4 KillingSpree4"
VOSound = "wok2_inf_chatter_KillingSpree8 KillingSpree8"
VOSound = "wok2_inf_chatter_HeadshotKill HeadshotKill"
VOSound = "wok2_inf_chatter_Grenade Grenade"
VOSound = "wok2_inf_chatter_FriendlyFire FriendlyFire"
VOSound = "wok2_inf_chatter_RebelsShootDeadBody RebelsShootDeadBody"
VOSound = "wok2_inf_chatter_GivePowerup GivePowerup"

VOSound = "wok1_inf_pc_com_hostile SpottedVO"
VOSound = "wok1_inf_pc_com_bacta NeedMedicVO"
VOSound = "wok1_inf_pc_com_mechanic NeedRepairVO"
VOSound = "wok1_inf_pc_com_ammo NeedAmmoVO"
VOSound = "wok1_inf_pc_com_transport NeedPickupVO"
VOSound = "wok1_inf_pc_com_backup NeedBackupVO"
VOSound = "wok1_inf_pc_com_clear_area AttackPositionVO"
VOSound = "wok1_inf_pc_com_defend DefendPositionVO"

VOSound = "wok1_inf_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "wok1_inf_pc_com_bacta_inVehicle NeedMedicVO +InVehicle"
VOSound = "wok1_inf_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "wok1_inf_pc_com_ammo_inVehicle NeedAmmoVO +InVehicle"
VOSound = "wok1_inf_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "wok1_inf_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "wok1_inf_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "wok1_inf_pc_com_defend_inVehicle DefendPositionVO +InVehicle"
[/code]
And this is the "Message Severity: 3" errors I get when opening the "BFront2" error thing :

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_alternate_attack(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation wookie_sabre_stand_alternate_attack(_upper)
I don't know what those errors mean

I did COMPLETELY copy over everything in the "snw" side folder to my "all" side folder
I also added some lightsaber "SetMemoryPoolSize" things into my lua from other maps with jedi because I think that the wampa claws count as lightsabers.

this is very confusing please help
and thank you in advanced
User avatar
commanderawesome
Field Commander
Field Commander
Posts: 971
Joined: Tue Aug 13, 2013 11:58 pm
Projects :: Skin Changer - Warfront - Other stuff
Games I'm Playing :: SWBF SWTOR KotOR EaW
xbox live or psn: AaTc_CmdrAwesome
Location: The Universe

Re: Wookie with Wampa claws

Post by commanderawesome »

Did you remember to copy over the animation files in the MUNGED folder?
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: Wookie with Wampa claws

Post by Anakin »

You need to edit the odf to have something like this:
AnimationName ="wampa" not sure about the right animation name and the command. Look in the wampa odf for a line saying something about the animation or skleton. This is what you need.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

commanderawesome wrote:Did you remember to copy over the animation files in the MUNGED folder?
I already copied over all the files even the "MUNGED" files.
Anakin wrote:Look in the wampa odf for a line saying something about the animation or skleton. This is what you need.
There is a "Skelton" line and after I added that to the wookie the map started up this time, but it doesn't work because the map crashes on the troop selection screen.

Here is the "Message Severity: 3" thing I got :

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation wookie_sabre_stand_alternate_attack(_upper)
Thanks for everyone's help so far, I think were really close to figuring this out. :?
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: Wookie with Wampa claws

Post by Anakin »

Mh looks like there is in your unit's odf or an parent of it an line that still calls the wookie animation. I know there are two ways to get an animation set for an unit. One is with the skleton line, the otherwith the animation name line. I don't know what the different is. But i think in the wookie default odf is the animation name line that calls the wookie animation set. And in the child odf is the skleton line that calls the wampa animation.
Two ways to solve:
Change the animation line to call the wampa animation, too, or delete the whole animation name line.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

it didn't work
this is what happened

I found the wookie skeleton line in the parent file so I took it out (because I already have the wampa skeleton line in the "child" file). I also changed the "lowrez skeleton line" (in the parent) to the wampa one.
I started up the game.
I could see the troop selection screen then it crashed.
I checked the log thing and there were NO error 3 's for some weird reason.
I stated the game up again, but this time I used the console to disallow team 1 (rep) to spawn.
this time it was me (as the wookie) against the droid army. Everything worked - except that the wookie ONLY had the wampa claw attack - I wanted him to have both the claw attack and the bowcaster

any ideas :?
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: Wookie with Wampa claws

Post by Anakin »

Sorry i have no idea. Maybe some memory pool thing??

You could try to take the wampa as base unit and just change the model from wampa to wookie. Than you can start to add the other weapons. I think this is easyer becauseyou can see where the game crashes. If the problem are the weapons or the model/animations.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Wookie with Wampa claws

Post by AQT »

Remunge the Wampa animation set using the Wookiee basepose.msh. Then use this new animation set for your unit's skeleton.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

I got it to WORK ... somewhat

i had to remove the bow caster, but i really want that to be a part of this unit so we will come back to that later.
Anakin wrote:Sorry i have no idea. Maybe some memory pool thing??.

The problem was not with the memory pool, but to avoid future issues whats the highest memory pool settings for jedi stuff ("combo" stuff in lua)

AQT wrote:Remunge the Wampa animation set using the Wookiee basepose.msh. Then use this new animation set for your unit's skeleton.
sounds like a good idea AQT
but how do i do this, what files do i need to open and edit :?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Wookie with Wampa claws

Post by AQT »

Wookiee and Wampa animation files can be found in BF2_ModTools\assets\Animations\SoldierAnimationBank.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

I followed all of those instructions carefully and the two files are not appearing where they should (in the all file) why is this happening
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Wookie with Wampa claws

Post by AQT »

There should be three files (i.e. .anims, .zafbin, and .zaabin). Please describe in detail the steps you took. Merely saying that you followed the instructions carefully, exactly, word-for-word, as written, etc. isn't very helpful.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Wookie with Wampa claws

Post by Lorul1 »

Hmmmm ... I followed the steps 100% both times - but I found a new problem . :| :runaway:

When I double click "munge" like the instructions say, for a second you can see the black screen with white letters. (System32\cmd.exe)

Using "bandicam" I took an on-screen video then paused it at the spot where I could read the exe to see where these files are going.

The white letters say:

Image

I don't think it's supposed to say that. I think it's because I have an NVIDIA graphics card on my windows 8 pc or something.
So i tried it on my moms pc ... and i got this

Image

and this

Image

I did get a "Zen Asset folder" but it has nothing in it.
I don't know what "process" is using the file mentioned in the pic above.

:? ... Do you think someone will have to do this for me? If so, i can just give them the files so that they can munge the new animation, and give then publish the new animation to the whole community ( I have Norton antivirus program so ill make sure that its virus free ).

OR
I could just get more help and we can just work this out.
What do you think guys :?
Post Reply