Setting up Dual Weapons.
Moderator: Moderators
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Setting up Dual Weapons.
Your com_weap_inf_jangopistol.odf needs a ClassLabel because it cannot reference itself as a ClassParent.
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
So I change it to:
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
ClassLabel = "cannon"
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
Ok, so I changed that and the ord file (to ClassLabel = "bolt") and Munged, but I got this:
Do all of the jango.msh's need to be renamed com_********* and switched to the Sides\Common, folder?
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
No they don't need to be renamed.
change it in the trooper odf, the name of the mesh is "weap_inf_jangos_l" right? set that as the addon geometry instead of "rep_weap_inf_jangos_l"
change it in the trooper odf, the name of the mesh is "weap_inf_jangos_l" right? set that as the addon geometry instead of "rep_weap_inf_jangos_l"
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Setting up Dual Weapons.
@IronJaw: Why are you placing your files in and munging the Common side? You can instead place those files in your custom side and then you won't have deal with all this confusion. And you'll save space if you don't munge the Common side. For future reference, your odfs, mshs, tgas, etc. don't even need to have a "prefix" that agrees with your side's name. For example, your side is called "ABC" and one of the weapon ODFs is called "abc_weap_inf_rifle." It doesn't have to be like that at all. The weapon ODF can be called "rifle" and it would still work (if set up properly). And one last thing, sides don't need to be a three character code (which only applies to modIDs). It can be called "cool" and still work (again, if set up properly).
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
Ok, since I went out of town for a week, I think I need to review:
My goal is to get the rep_inf_ep3_trooper to wield the dual pistols.
1) The rep_inf_ep3_rifleman.odf looks like this:
2) The rep_inf_default_rifleman.odf looks like this:
3) The rep_weap_inf_jangopistol_r.odf looks like this: (It is supposed be in "sides\rep\odf")
4) The rep_weap_inf_jangopistol_l.odf looks like this: (It is supposed be in "sides\rep\odf")
5) The rep_weap_inf_jangopistol_ord.odf looks like this: (It is supposed be in the "side\rep\odf")
6) The rep_weapon_inf_jangopistol.odf looksl ike this: (It is supposed to be in "sides\rep\odf")
Now I know that those are wrong, but I also have to com_wepa_jango_etc. odf files: (That aren't supposed to be in the common folder, and don't necessarily need the "com" prefix)
1) The com_weap_inf_jangopistol_r.odf looks like this:
2) The com_weap_inf_jangopistol_l.odf looks like this:
3) The com_weap_inf_jangopistol.odf looks like this:
5) The com_weap_inf_jangopistol_ord.odf looks like this:
So, do I move and rename the com_weap_jango_etc. to the "sides\rep\odf" file? (After making the needed changes?)
My goal is to get the rep_inf_ep3_trooper to wield the dual pistols.
1) The rep_inf_ep3_rifleman.odf looks like this:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Now I know that those are wrong, but I also have to com_wepa_jango_etc. odf files: (That aren't supposed to be in the common folder, and don't necessarily need the "com" prefix)
1) The com_weap_inf_jangopistol_r.odf looks like this:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
Classlable = "cannon" should be ClassLabel in the com files
no need for all the left pistol odfs
the com odfs, can stay or move to rep
make sure the GemetryName's are correct, should be exaclty the msh filename without ".msh"
so "pistol" not "pistol.msh", so just check all of those, make sure they reference the correct model name.
no need for all the left pistol odfs
the com odfs, can stay or move to rep
make sure the GemetryName's are correct, should be exaclty the msh filename without ".msh"
so "pistol" not "pistol.msh", so just check all of those, make sure they reference the correct model name.
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
So everything OK as my above post stated? Minus the weap_inf_jangopistol_l.odf ?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
if the common weap inf jangopistol has ClassLabel not Classlable and the right msh names are used, i think so
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
So, even though the com_weap_inf_jangopistol.odf is in the Common sides folder, I wouldn't have to Munge the Common side?
EDIT
Ok, I moved all of the com_weap_inf_jangopistol stuff to the rep sides folder. I also changed the Classlabe to ClassLable on both the com_weap_inf_jangopistol_l/r.odf's.
I munged the rep side, but the map crashed when I tried to load it.
The Error Log:
It seems that I need to check over the .odf's again, but as to which one....... I have no idea.
EDIT
Ok, I moved all of the com_weap_inf_jangopistol stuff to the rep sides folder. I also changed the Classlabe to ClassLable on both the com_weap_inf_jangopistol_l/r.odf's.
I munged the rep side, but the map crashed when I tried to load it.
The Error Log:
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
ClassLabel?
- Par3210
- Jedi

- Posts: 1033
- Joined: Sun Jun 14, 2009 10:31 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Owning people in SWBF2
- Contact:
Re: Setting up Dual Weapons.
Yeah, I think that may be his problem, from what he has posted.
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
I see what you mean... I will check it..... I have now changed it to ClassLabel.... Munging now.
EDIT
I Munged and got this:
So I'm looking for where it asks for the Geometry and changing it to the right .msh...Or I might need to move/rename the .msh file.
Ok, the only time it asks for AnimationAddon is in the rep_inf_ep3_rifleman.odf;
EDIT
I Munged and got this:
Hidden/Spoiler:
Ok, the only time it asks for AnimationAddon is in the rep_inf_ep3_rifleman.odf;
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Setting up Dual Weapons.
If i remember right, there is no rep_ in the msh name, check that out and if necesary delete it from odf
- IronJaw
- Sergeant Major

- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Setting up Dual Weapons.
The .msh was labled rep_weap_inf_jango_l/r so I have added the "pistol" to the title and am looking through the .odf files. Will Munge and report back.
EDIT
There was a space in the jangopistol_l.msh!
I have fixed the name, and am Munging again.
EDIT2
I see where I double posted and will learn from my mistakes.
This should be considered an update, so it should be legal. If not just tell me......
It works!....... In a way......
The pistols show up, in hte left hand just fine...... even if the right weapon is the rifle.......
The rifle fires normally, but when I switch it to the secondary (The Dual Pistols) it only fires once (one laser, right pistol) and then reloads. Also there is a floating gun off to the left:

EDIT
There was a space in the jangopistol_l.msh!
EDIT2
I see where I double posted and will learn from my mistakes.
This should be considered an update, so it should be legal. If not just tell me......
It works!....... In a way......
The pistols show up, in hte left hand just fine...... even if the right weapon is the rifle.......
The rifle fires normally, but when I switch it to the secondary (The Dual Pistols) it only fires once (one laser, right pistol) and then reloads. Also there is a floating gun off to the left:
- Par3210
- Jedi

- Posts: 1033
- Joined: Sun Jun 14, 2009 10:31 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Owning people in SWBF2
- Contact:
Re: Setting up Dual Weapons.
The floating gun will be the hud icon. To fix it search for Fragme's downloadable tut to put that in the proper slot where all gun icons are. (Next to the amount of ammuntion) 
