Dual Weapons (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
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 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: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Dual Weapons (Solved)

Post by Fierfek »

Yes, I know there is a topic right next to this one, but I have a different problem.
I can get everything working, except for one snag:
Hidden/Spoiler:
Image
See how he's holding the pistol?
Here is his odf:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "soldier"
ClassParent = "rep_inf_default_blaze"

[Properties]
AnimationName = "dual2"
UnitType = "assault"
AnimatedAddon = "left_gun"
GeometryAddon = "westar34gun"
AddonAttachJoint = "bone_L_hand"

IconTexture = "rep_gunner_icon"

GeometryName = "rep_inf_arctrooper"
FirstPerson = "REP\reparc;rep_1st_arctrooper"
GeometryLowRes = "rep_inf_arctrooper_low1"
ClothODF = "rep_inf_arctrooper_cape"

OverrideTexture = "rep_inf_arc_blue"
OverrideTexture2 = "rep_inf_arc_pack_blue"
And his default class odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
UnitType = "assault"

MaxHealth = 550.0

MaxSpeed = 6.0 // base forward speed
MaxStrafeSpeed = 4.5 // base right/left speed

WEAPONSECTION = 1
WeaponName = "rep_weap_inf_double_pistol"
WeaponAmmo = 7

WEAPONSECTION = 2
WeaponName = "zx_wrist_flammethrower"
WeaponAmmo = 0
WeaponChannel = 1

VOUnitType = 121
What's going wrong?
Last edited by Fierfek on Sat Sep 12, 2009 12:23 pm, edited 1 time in total.
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: Dual Weapons

Post by DarthD.U.C.K. »

you cant add the right-hand pistol to the left hand
you have to use a seperate model for it because the coordinates of the left hand dont equal the one of the hp_weapons (where all wepons are attached to)
i released a lefthandversion of this pistol in my doublepistolassetspack
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Dual Weapons

Post by Xavious »

Looks to me like that pistol hasn't been set up correctly to be used in the left hand. Did you download a modified pistol model for use in the left hand? If so, which one? (and if not, then you need one)
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 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: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Re: Dual Weapons

Post by Fierfek »

I didn't download any modified pistols. How do I modify it so it works?
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: Dual Weapons

Post by DarthD.U.C.K. »

DarthD.U.C.K. wrote:you cant add the right-hand pistol to the left hand
you have to use a seperate model for it because the coordinates of the left hand dont equal the one of the hp_weapons (where all wepons are attached to)
i released a lefthandversion of this pistol in my doublepistolassetspack
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 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: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Re: Dual Weapons

Post by Fierfek »

Ah, sorry, didn't see those in your pack before.
Okay, have added them to unit, testing now.

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