Home » MODDING HQ 1.13 » v1.13 Coding Talk » (New) Common Attachment Framework (new title; was The NAS Receiver)
(New) Common Attachment Framework (new title; was The NAS Receiver)[message #303980]
|
Fri, 27 April 2012 18:19
|
|
Wil473 |
|
Messages:2815
Registered:September 2004 Location: Canada |
|
|
Madd MugsyBTW, using your bitmask list above, I had trouble figuring out where sniper rifles fit in. A sniper rifle should be able to have rails to mount a Rifle LAM, but without some additional differentiation, I ended up with foregrips and GLs on my sniper rifles LMGs face a similar issue.
Generic Tac Rail covered DMR = 4 + 4096 = 4100 (RIS Optics + Top RIS Hand Guard)
However, the non-RIS bipods in my mod present a bit of a problem for me. I've got three of the things: Bipod(original Ja2), Integral Bipod, and Heavy (Integral) Bipod. They don't always go into the same NAS slot as the integrals are kept out of the way so that underbarrel slot may still take a grip, RIS hand guard, or grenade launcher. For my purposes weapons that don't have a hand guard RIS of some sort, DMR/LAM/rifles, will just have the bipods assigned in Attachments.XML.
In addition to the two Attachment/receiver bundles I added yesterday, though of two more:
FN FAL Hand Guard - Bipod, Grip, FAL RIS Hand Guard
Misc. Classic Rifle Front End - Bipod, Grip, Universal RIS Block
Updated List:
0 None
1 pistol under barrel rail
2 pistol modular sights - Match, Reflex, Compact Holo Sights
4 RIS Optics
8 Russian Small Arms (RSA) Optics
16 SVD Optics
32 Scope Rings
64 HK Clamp Optics - Aim-Point-Projector, Clamp 4x Scope, RIS rail
128 AR-15 Carrying Handle - optics and a RIS rail
256 Modular Tactical Stock - yes I know one bit isn't going going to be enough for AIMNAS and all its stocks
512 Light RIS Hand Guard - RIS Grips, RIS Bipods, LAM
1024 Medium RIS Hand Guard - above + M203QD
2048 Heavy RIS Hand Guard - above + all RIS Launchers
4096 Top RIS Hand Guard - LAM's and RIS Bipod (weapon hangs from bipod)
8192 AK Hand Guard - Bipod, Grip, GP-30, RIS Handguard
16384 MP5 Hand Guard - Bipod, Grip, RIS Tri-Rail
32768 G3 Hand Guard - above + HK79
65536 M16 Hand Guard - Bipod, Grip, M203, three sizes of RIS Quad
131072 M4 Hand Guard - Bipod, Grip, two sizes of RIS Quad incl. the MWS which allows short barrel M203QD to be attached
262144 Pistol Suppressors
524288 Magnum Suppressors
1048576 Intermediate Cartridge Suppressor
2097152 AK Suppressors
4194304 Hi-Power Ammo Suppressor
8388608 40mm NATO Grenades
16777216 40mm Russian Grenades
33554432 37mm Grenades
67108864 Basic Vest Attachments
134217728 SMG suppressors (Smeagol will need this one)
268435456 Shotgun muzzle - forgot about the chokes and in the case of mods, shotgun suppressors
536870912 FN FAL Hand Guard - Bipod, Grip, FAL RIS Hand Guard
1073741824 Misc. Classic Rifle Front End - Bipod, Grip, Universal RIS Block
Modders will be able to adjust what each bit in the bitmask is used for right? I'm only thinking of examples of common attachment/weapon groups. I have not optimized it by sorting it for frequency of use (most common attachments/weapon groups with lower integers). Then again if there is a user-friendly interface in the XML Editor for setting up these lists, sorting the bitmask becomes a moot point.
EDIT: sorry inadvertently renamed the topic back to the old name. Copied new title from the first post. EDIT2: on closer examination, it looks like we just kept the old name after the change to the first post...
[Updated on: Fri, 27 April 2012 18:33] by Moderator Report message to a moderator
|
|
|
|
|
|
(New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: The NAS Receiver
By: Flugente on Wed, 25 April 2012 01:45
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: Flugente on Wed, 25 April 2012 02:49
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: Wil473 on Wed, 25 April 2012 18:51
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: Wil473 on Thu, 26 April 2012 10:07
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: Wil473 on Thu, 26 April 2012 16:48
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: Wil473 on Thu, 26 April 2012 18:16
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
|
|
|
Re: The NAS Receiver
By: JMich on Fri, 27 April 2012 10:50
|
|
|
(New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Fri, 27 April 2012 18:19
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Sun, 29 April 2012 23:20
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Sun, 03 June 2012 18:14
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Thu, 07 June 2012 22:38
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Sun, 02 August 2015 01:44
|
|
|
Re: (New) Common Attachment Framework (new title; was The NAS Receiver)
By: Wil473 on Sun, 07 April 2013 19:19
|
Goto Forum:
Current Time: Fri Jan 10 10:21:31 GMT+2 2025
Total time taken to generate the page: 0.01477 seconds
|