Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » How to customise attachments that can be added to guns
How to customise attachments that can be added to guns[message #366249] Thu, 05 September 2024 03:19 Go to next message
B1TM4ST3R

 
Messages:11
Registered:September 2023
My apologies if this has been discussed before. I want to kit my team out with the newer style AK rifles but would like to be able to add a Grippod attachment to them. Does anybody know how to do this? It would really add alot of value to my sessions if i am able to customise diff guns this way and would massively appreciate any help if there is a way of editing certain files to this end.

EDIT: I probably should have left this post in Kitty's domain that's my bad. Still, if anybody wanted to share how this process is done it would act as a reference point for others as i am sure there are people who want to know how to do this. Another example is adding a large pocket for a Toolbox to the Radio Set. I appreciate it may be a complicated process and any explanation might prove difficult, if you could just point me in the right direction that would also help.

[Updated on: Sun, 08 September 2024 23:35]

Report message to a moderator

Private
Re: How to customise attachments that can be added to guns[message #366297 is a reply to message #366249] Tue, 05 November 2024 20:22 Go to previous message
MasterN is currently offline MasterN

 
Messages:51
Registered:February 2011
Location: Berlin - Ger
Hello B1TM4ST3R.
In the Wiki (http://ja2v113.pbworks.com/w/page/4218357/Modding%20and%20Customizing#XMLFileDetails) you can find the field explanation for Attachments.xml (the file you need to change) and information you need to be aware of.

So you need to know two things: The index of the grippod from Items.xml and the indices of the rifles you'd like to attach to (Items.xml). Place a new entry in the Attachment.xml at the right place and you're good to go. I think your game exits with error if you placed the entry in the wrong place so be vigilant.

<ATTACHMENT>
	<attachmentIndex>37</attachmentIndex> <!-- Grippod number here, order first by this-->
	<itemIndex>1163</itemIndex> <!-- AK number here, every weapons needs its own entry, then order by this-->
	<APCost>8</APCost> 
	<NASOnly>0</NASOnly>
</ATTACHMENT>
hope it helps

Report message to a moderator

Corporal
Previous Topic: Problem with merges..
Next Topic: XML Editor Changelog
Goto Forum:
  


Current Time: Mon Dec 02 08:58:34 GMT+2 2024

Total time taken to generate the page: 0.01086 seconds