Page 2 of 2
Re: Setting up Dual Weapons.
Posted: Sat Sep 05, 2009 10:06 pm
by AQT
Your com_weap_inf_jangopistol.odf needs a ClassLabel because it cannot reference itself as a ClassParent.
Re: Setting up Dual Weapons.
Posted: Sat Sep 05, 2009 10:29 pm
by IronJaw
Re: Setting up Dual Weapons.
Posted: Sat Sep 05, 2009 10:50 pm
by kinetosimpetus
ClassLabel = "cannon"
Re: Setting up Dual Weapons.
Posted: Sat Sep 05, 2009 11:38 pm
by IronJaw
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?
Re: Setting up Dual Weapons.
Posted: Sat Sep 05, 2009 11:49 pm
by kinetosimpetus
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"
Re: Setting up Dual Weapons.
Posted: Sun Sep 06, 2009 12:32 am
by AQT
@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).
Re: Setting up Dual Weapons.
Posted: Sat Sep 12, 2009 11:52 am
by IronJaw
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?)
Re: Setting up Dual Weapons.
Posted: Sat Sep 12, 2009 11:58 am
by kinetosimpetus
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.
Re: Setting up Dual Weapons.
Posted: Sat Sep 12, 2009 10:15 pm
by IronJaw
So everything OK as my above post stated? Minus the weap_inf_jangopistol_l.odf ?
Re: Setting up Dual Weapons.
Posted: Sat Sep 12, 2009 10:20 pm
by kinetosimpetus
if the common weap inf jangopistol has ClassLabel not Classlable and the right msh names are used, i think so
Re: Setting up Dual Weapons.
Posted: Tue Sep 15, 2009 10:38 pm
by IronJaw
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.
Re: Setting up Dual Weapons.
Posted: Tue Sep 15, 2009 10:40 pm
by kinetosimpetus
ClassLabel?
Re: Setting up Dual Weapons.
Posted: Wed Sep 16, 2009 12:58 pm
by Par3210
Yeah, I think that may be his problem, from what he has posted.
Re: Setting up Dual Weapons.
Posted: Wed Sep 16, 2009 6:01 pm
by IronJaw
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;
Re: Setting up Dual Weapons.
Posted: Wed Sep 16, 2009 7:10 pm
by kinetosimpetus
If i remember right, there is no rep_ in the msh name, check that out and if necesary delete it from odf
Re: Setting up Dual Weapons.
Posted: Thu Sep 17, 2009 10:10 am
by IronJaw
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:

Re: Setting up Dual Weapons.
Posted: Thu Sep 17, 2009 12:40 pm
by Par3210
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)
