|
Post by lordvonburon on Mar 22, 2016 19:44:58 GMT
Hello,
i took a look into FC4 modding and was trying to make some normal weapon side weapons. But after digging through a lot of xml's i wasn't able to figure out how to do that...
Any ideas ?
|
|
|
Post by flanker1six on Mar 28, 2016 22:48:28 GMT
I'm not sure this is it, but there is a line in the individual weapons ark.xml files; in the paragraph headed: <object name="CWeaponProperties"> that indicates a weapons class i.e secondary or primary. This section is a fairly long paragraph with a lot of different weapon parameters in it. Here's the line for the 44 Mag in my files: <field name="selCategory" type="Enum">Secondary</field> All my rifle ark.xmls say Primary instead of Secondary in that line; so I'm thinking it has something to with what you're asking about. The 3 lines right below that one read: <field name="HolsterHandle" type="Hash32">CC89916A</field> <field name="text_RightHandHandle" type="String">righthand_pistols</field> <field name="RightHandHandle" type="Hash32">A67B1CF6</field> and might also affect whether a weapon is classed a a primary or secondary--I suspect they refer to character animations when switching weapons as you either draw or holster your secondary to the right side of your character. If it were me.................I'd FIRST change Primary to Secondary in the line above to see if that worked in game. If not you might want to change the next three lines as well, to see if that would make the class switch work. BE SURE TO BACK UP THE VANILLA FILE FIRST BEFORE MESSING WITH IT! Don't be like me and learn the hard way! BTW: If none of that works and your game is ******......................................we never spoke!
|
|
|
Post by jaguarz on Aug 30, 2022 23:08:03 GMT
I try to change the "selCategory" to secondary or 2, as long as <field name="HolsterHandle" type="Hash32">CC89916A</field> <field name="text_RightHandHandle" type="String">righthand_pistols</field> <field name="RightHandHandle" type="Hash32">A67B1CF6</field> but no luck I mean the weapon still cant be used in vehicle, anybody still on fc4 modding and can figure to make primary weapon usable in vehicle ?
|
|