Double weapon?

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
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Double weapon?

Post by Coley »

Hi,
I have two questions to the doubleweaponsset from darthd.u.c.k. .

1. Is it possible to give a unit, for example, two vibroswords, if I call the animations "[...]melee[...] ?

2. My unit walks around the battlefield with the right animations (the left arm is positioned to hold the 2nd weapon), but there isn´t a weapon :)

Thanks for help
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: Double weapon?

Post by DarthD.U.C.K. »

1. If i understand your question right you want to give a unit a vibrosword for the left hand using the doubleweaponskeleton. You cant just rename the animations because they made for pistols. (i dont want to go into detail here, if you want to know more about animations etc./dont understand what im writing, read the instructions in the doubleweaponskeletonreadme)

Anyway, i dont know if this works but if it does its the most easy way to do what you want:
give the unit the animation you want (i suppose its aalya), but after the animationname write the name of one of the doublepistolanimsets like

Code: Select all

AnimationName       = "aalya jango
this can be used to make the unit load anims from another animset (aalya) when it cant find them in the firt animset (jango) and since there arent any "saber" anims in the "jango"-set it should load them from the "aalay"-set. if this also applies for the basepose it will work, if it doesnt, well then it wont work

the second way (which will definitelly work) is only possible when using a unit that has the normal skeleton (no wookie, twilek, magnaguard etc.) is explained in this tutorial: http://www.gametoast.com/viewtopic.php?f=27&t=10000
follow it except that you have to copy all animations from the "aalya"-folder (if you want to use that animset), rename the aalay in front of the anims to the name of the new animset and instead of also copying the basepose from there you take the one thats included in the doubleweaponskeletonassetspack

this may be hard to understand first but after you understood the animationsystem of battlefront it will be easy


2. you have to give the unit the left pistol as addonmesh (as written in the readme)
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Double weapon?

Post by Coley »

Yeah. I have a problem (I think it has to do with this topic).
I have everything I done deleted and copie-pasted the original files of the assets into my folders.
But game is still crashing :cry:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_dashattack_end(_upper)


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


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_dashflip2(_upper)
(and thanks for the link, I´ll try it if this is fixed :cry: )
Post Reply