Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » Creating a MOLLE backpack set ? (edited for clarity)
Creating a MOLLE backpack set ? (edited for clarity)[message #329539]
|
Sat, 04 January 2014 04:07
|
|
AvianSavara |
  |
Messages:34
Registered:December 2013 Location: Montr |
|
|
Preamble: I'd like to create the USMC's ILBE system of main ruck/assault backpack and hydration pack.
I'm not such a fan of leg rigs, conceptually speaking. Backpackers will tell you that any hindrance should be removed from the lower body and that a good ruck should be "high and tight". SO. I've been wondering how to go about making backpacks MOLLE compatible.
Source: My own ILBE backpack at home has several rows of PALS loops outside (and even inside) that are just screaming "customize meeeeee", so I figure it could be done for JA2 as well.
On to work:
Objective 1: Create ILBE Gen II Main Ruck (3 Large Backpack pockets, options for All Molle on : 4 Small pockets and 1 Large pocket)
Objective 2: Create ILBE Gen II Assault Pack (2 Combat Pack pockets, options for Small Molle on 4 Small pockets) Combo with Main Ruck
Objective 3: Create a Medium-sized canteen-like item that has all the same behaviors, but has a larger water capacity. Shouldn't be too hard to adapt from the existing canteen. (STI to come later once testing is conclusive)
Currently using this thread for reference:
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/326499/Creating_Molle_Items_%28Guide%29.html#Post326499
The option to add Molle Attachments to any item seems to be in the XML editor : I can give items Available Attachments field the "All Molle" value. For all the editor cares, I could put it on my gun (not sure the ramifications of that yeah). Ok, so far, so good.
Biggest Problem: Can't quite wrap my head around the difference between and
Let's say I'm designing the Main Ruck in XML editor. I set the 3 large backpack pockets as default in Pocket fields 10, 11 and 12.
Then... I want to be able to add up to 4 small pockets and 1 large pocket, but they're obviously not the same size.
How do I calculate the sum total of to reflect that?
(31 gives me my "five pockets", but doesn't help differentiate between types)
Secondly, is a complete mystery to me. OffTopic's thread only mentions the "basic unit" being "Tiny Pocket" as a base of volume 1. I'd like to imagine that it's the actual "number of pockets" but whenever I compare with other stock items in the editor that value is in the double-digits (suggesting another bitfield sum?)
Also, the pocket order/distribution in that thread seems to mention only vests and leg-rigs, which begs the question : Is there a code-related reason which prevents backpacks and combat packs from taking pocket attachments? Like specific item classes and behaviors, etc?
Thanks for anyone's input!
[Updated on: Tue, 07 January 2014 05:21] by Moderator Report message to a moderator
|
|
|
|
|
Re: Creating a MOLLE backpack set ? (edited for clarity)[message #329946]
|
Thu, 23 January 2014 18:42 
|
|
Off_Topic |
  |
Messages:997
Registered:January 2009 |
|
|
Quote:Secondly, is a complete mystery to me. OffTopic's thread only mentions the "basic unit" being "Tiny Pocket" as a base of volume 1. I'd like to imagine that it's the actual "number of pockets" but whenever I compare with other stock items in the editor that value is in the double-digits (suggesting another bitfield sum?)
This just refers to the volume each pocket takes up on a Rig, E.G. The 3.11 Leg Rig has An available volume of 17, this means you could attach 2 Tiny Pockets (Pocket Volume=6x2=12) 0r 3 Pistol Mag Pockets (Pocket Volume=2x3=6). As long as you have pocket space/volume available you can add pockets. (I changed the tiny pocket size after that post from 1->6.)
Quote:Also, the pocket order/distribution in that thread seems to mention only vests and leg-rigs, which begs the question : Is there a code-related reason which prevents backpacks and combat packs from taking pocket attachments? Like specific item classes and behaviors, etc?
You should talk to Silversurfer about the combatpack pockets, i didn't assign any while adding MOLLE to 1.13.
It may look easy to add these items through the editor, but you would be better off adding them through the xml files.
EDIT:
Rereading your post i forget to comment on this:
Quote:Then... I want to be able to add up to 4 small pockets and 1 large pocket, but they're obviously not the same size.
How do I calculate the sum total of to reflect that?
(31 gives me my "five pockets", but doesn't help differentiate between types)
As it stands now, the Vests/Leg Rigs have pockets assigned to them. E.G. A leg Rig has a max of 5 pockets, 4 small 1 medium. These are different to the pockets you assign through the editor. These are the "pockets" you add the pockets to, if that makes any sense.
Go to Data 1.13/Tabledata/Items/Attachmentslots to see the index number you need for Backpacks/Combat packs. I'm pretty sure Silversurfer added them.
[Updated on: Thu, 23 January 2014 18:52] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: Creating a MOLLE backpack set ? (edited for clarity)[message #329982]
|
Fri, 24 January 2014 22:11 
|
|
Off_Topic |
  |
Messages:997
Registered:January 2009 |
|
|
I have a bit of free time so I can give you a few pointers.
Quote:Objective 1: Create ILBE Gen II Main Ruck (3 Large Backpack pockets, options for All Molle on : 4 Small pockets and 1 Large pocket)
A good starting place would be to duplicate the TIMS Back Pack/Combat items (uiIndex 1094/1097).
Do this through the .xml file (open with Notepad++) by locating them with their uiIndex, copying them and placing them at the end of the items.xml. Make sure you correct their uiIndex so it is sequential to the last uiIndex.
They will be missing a tag required for MOLLE to work, this number determines what size MOLLE can be attached. E.G. TIMS Bacpack:
1094[color:#009900] Change this number![/color]
TIMS Backpack
TIMS Backpack
The backpack part of the TIMS set. You can mount the combat pack onto it in place of the flap.
TIMS Backpack
If you want to carry all sorts of big things cross-country, you'll need a backpack like this one. Can be worn in conjunction with a TIMS combat pack.
131072
32
[color:#33CC00]3[/color]
19
1
686
35
27
500
7
2
1
1
1
2
1
100.0
They have a lot of the qualities you want to begin with. After that, you would need to create two new entries in the LoadBearingEquipment.xml, one for Backpack/Combat pack.
19
This is the LBE it currently points to, you need to create a new one (sequential), and then point your new MOLLE Backpack to it in this field. Again you can copy the lBE ubClassIndex19 in order to have a starting point:
So this is the TIMS Backpack in the Loadbearing...xml: Again it's missing some Data in order for MOLLE to work.
19[color:#009900]Change this number[/color]
4
1
34
0[color:#006600]You need to add a number here, it's the capacity of the MOLLE. The best Vest has 100 at the moment, so add what you thinks is relative here[/color]0 [color:#33CC00]This is how many pockets (MOLLE) can be added 5=31 etc[/color]
0
0
0
0
0
0
0
0
4
4
4
4
The problem you will have here is that there are no Big MOLLE items/attachment points, so you'll either have to create them or be happy with small/Medium MOLLE items being attached. Same goes for Combat Pack Pockets.
You will have to edit other Tags above, weight/Camo/price and change the stis if you have new images.
Quote:Objective 2: Create ILBE Gen II Assault Pack (2 Combat Pack pockets, options for Small Molle on 4 Small pockets) Combo with Main Ruck
Follow above
Quote:Objective 3: Create a Medium-sized canteen-like item that has all the same behaviors, but has a larger water capacity. Shouldn't be too hard to adapt from the existing canteen. (STI to come later once testing is conclusive)
You could easily add a Canteen pocket to your gear, but again, i only added a normal sized one. You could duplicate this pocket to hold 2 or create a new item.
Anyway, hope this helps and i'll be around the weekend if you need help. It would be a useful addition to the game.
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Creating a MOLLE backpack set ? (edited for clarity)[message #330166]
|
Wed, 29 January 2014 16:26 
|
|
AvianSavara |
  |
Messages:34
Registered:December 2013 Location: Montr |
|
|
Okay, so I'm still trying to get the Main Ruck and Assault pack items to work first before I get seriously started on the hydration system.
Off_Topic, I got your .7z file and brought it home to my JA2 directory. In this case, I overwrote the .sti files but I had to edit the xmls manually so it wouldn't squash previous edits I'd done to item 1705 (not the same sequence as your files).
As it stands:
The Main Ruck is uiIndex 1706 and ubClassIndex 99, and points to ubGraphicNum 220
The Assault pack is uiIndex 1707 and ubClassIndex 100 and points to ubGraphicNum 219
(changed some item names around too, to taste, but that's just me)
I wanted to test it out by loading up a save and ordering it from BR, but it's not showing up in the inventory. I opened up the xml editor to see if it was being picked up, and items 1706 and 1707 don't seem to show up there either. But they are in the XML files Items.xml and their classes are defined in LoadBearingEquipment.xml, no problem there.
Inspected all .sti files to see if the items 219 and 220 were showing up and yes they are.
Is there a range for the of items (ex: 0-1705) defined in some other file that I'm unaware of?
Included the relevant snippets code here, just in case you pick up something weird about it.
Toggle Spoiler
From Items.xml
1706
ILBE Ruck
USMC ILBE Gen II Main Ruck
The Improved Load Bearing System (ILBE) backpack was created for use by the United States Marine Corps based on feedback received during initial combat situations that took place during the first US involvement in Iraq.
ILBE Ruck
The ILBE system consists of three main parts, the Main Pack, the Hydration System, and the Assault Pack.
131072
32
3
99
2
220
25
27
700
7
2
1
1
1
2
1
5
100.0
1707
ILBE Pack
USMC ILBE Gen II Assault Pack
There are Molle webbing straps on the main outer panel and sides. Two straps and clips on each side are used for compression, or attaching to the ILBE main pack.
ILBE Assault Pack
There are Molle webbing straps on the main outer panel and sides. Two straps and clips on each side are used for compression, or attaching to the ILBE main pack.
131072
16
3
100
2
219
10
22
500
7
2
1
1
1
2
1
5
100.0
From LoadBearingEquipment.xml
99
4
1
34
100
2099
0
0
0
0
0
0
0
0
4
4
4
0
100
3
1
30
40
79
0
0
0
0
8
8
0
0
0
0
0
0
Report message to a moderator
|
|
|
|
|
|
|
|
Re: Creating a MOLLE backpack set ? (edited for clarity)[message #330174]
|
Wed, 29 January 2014 21:03 
|
|
AvianSavara |
  |
Messages:34
Registered:December 2013 Location: Montr |
|
|
Alright gents. Thanks again for all the coaching. Currently going through the motions but I have to stop because It's nearing 2:00 pm my time and I've been awake since 7:00 pm yesterday night... yeah...
Progress so far:
1) Tested the backpacks, all good!
2) Created the graphics for:
- Hydration Carrier (bigitem, interface and tileset)
- Hydration Bladder (bigitem, interface and tileset)
- Hydration x1 (silhouette)
3) loaded these assets to their relevant STI files
4) Created the Pocket type for "Hydration" which has the silhouette and is Medium in size, limited to misc items
5) Created a food type called "Hydration Bag" that behaves like a rather large canteen.
6) Created the Hydration Carrier (LBE) and Bladder (canteen) items
Problems encoutered:
A) Going to have to fix the blue on BigItems version of the Bladder, whoops...
B) For some reason, the silhouette in the Carrier still appears as a canteen... Haven't quite figured how to link the silhouette number (49, in my case) to the actual frame in the .sti (I define it in the .xml, but nothing tells me that they are connected)
C) I define the pocket type as medium but the carrier only seems to want to go into small size pockets... (And the point is that it's meant for a backpack or Layout position 11 or 12 on a vest)
I'll be grateful for any comments!
And of course, as soon as I'm absolutely satisfied with the .sti graphics, I'll release the raw bitmap data for whoever wants to play around with it
Report message to a moderator
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Mar 24 09:06:49 GMT+2 2025
Total time taken to generate the page: 0.01387 seconds
|