Jump to content
Robalo

ASDG Joint Rails

Recommended Posts

I would bet my money on the conflicting mod to be SUD Russians, cus it added custom optics to cow slot and didn´t had ASDG support, so it might mess up the vanilla optics a lot... or maybe SUD+SBS USMC... try replacing both for RHS and see what happens!

cheers!

Share this post


Link to post
Share on other sites

Updated mod v0.2 available at withSIX. Download now by clicking:

banner-420x120.png

Hey Robalo , you can upload updates or new mods to withSIX yourself now!

Make your own promo page, get the power to release your work at your own point of choosing.

To learn more, follow this guide.

Share this post


Link to post
Share on other sites
Updated mod v0.2 available at withSIX. Download now by clicking:

https://withsix-usercontent-cdn.withsix.com/mod/b475ec30-9cfe-4e63-9cdc-9da4b617e623/logos/banner-420x120.png

Hey Robalo , you can upload updates or new mods to withSIX yourself now!

Make your own promo page, get the power to release your work at your own point of choosing.

To learn more, follow this guide.

I was confused by this, knowing 0.16 is the latest version of JR, then noticed it's the config for RHS 0.3.6.

Note that since RHS is now at 0.3.8, I advise against using my old config with it. Hope I manage to find some time to update my config for latest RHS soon enough.

Thanks

Share this post


Link to post
Share on other sites

The version on PlayWithSix doesn't have the addon pbo and signs arranged properly (in an "addons" folder), and shows as corrupted and unusable in multiplayer in the Arma 3 launcher.

Share this post


Link to post
Share on other sites

Hi Robalo!

Can you give me a little help trying to get a working config for FFAA MOD? I think the ASDG JR config is alright but for some reason it doesn't work at all... I mean, i can attach on other weapons (with ASDG JR) our attachments but I cannot attach on my weapons a non-vanilla attachment (with ASDG JR integrated)..

Here is the config of the FFAA Weapons:

http://pastebin.com/T03p4ZBq

And here is the config of the ASDG JR for FFAA Weapons:

class CfgPatches
{
class ffaa_comp_asdg_weapons
{
	units[] = {};
	weapons[]= 
	{
		"ffaa_armas_hkg36e_normal",
		"ffaa_armas_usp",
		"ffaa_armas_uspsl",
		"ffaa_armas_p226",
		"ffaa_armas_fnp9",
		"ffaa_armas_fnp9L",
		"ffaa_armas_hkmp5a5",
		"ffaa_armas_hkmp5pdw",
		"ffaa_armas_hkmp510a3",
		"ffaa_armas_ump",
		"ffaa_armas_aw",
		"ffaa_armas_aw50",
		"ffaa_armas_m95",
		"ffaa_armas_cetme_l",
		"ffaa_armas_cetme_c",
		"ffaa_armas_cetme_e",
		"ffaa_armas_mg3",
		"ffaa_armas_ameli",
		"ffaa_armas_mg4",
		"ffaa_armas_sdass",
		"ffaa_armas_sdassc",		
		"ffaa_armas_p90"
	};
	requiredVersion = 1.0;
	version = "2.0";
	versionStr = "2.0";
	versionAr[] = {2,0};
	requiredAddons[] = {"asdg_jointrails","ffaa_armas"};
	author[] = {"Kavinsky","FFAA Mod"};
	authorUrl = "http://www.ffaamod.es";
};
};
// Opticas
class asdg_OpticRail;
class asdg_OpticRail1913: asdg_OpticRail
{
class compatibleItems
{
	ffaa_optic_acog = 1;
	ffaa_optic_holografico = 1;
	ffaa_optic_leopol = 1;
	ffaa_optic_northern = 1;
	ffaa_optic_aw50 = 1;
	ffaa_optic_susat = 1;
	ffaa_optic_g36_holo = 1;
	ffaa_optic_mg4_g36 = 1;
	ffaa_optic_enasa = 1;
	ffaa_optic_lv = 1;
	ffaa_optic_long_leupold = 1;
};
};
class asdg_OpticRail1913_short: asdg_OpticRail1913{
class compatibleItems : compatibleItems
{
	ffaa_optic_leopol = 0;
	ffaa_optic_northern = 0;
	ffaa_optic_aw50 = 0;
	ffaa_optic_susat = 0;
	ffaa_optic_enasa = 0;
	ffaa_optic_lv = 0;
	ffaa_optic_long_leupold = 0;
};
};
class asdg_OpticRail1913_long : asdg_OpticRail1913 {
class compatibleItems : compatibleItems
{
	ffaa_optic_acog = 0;
	ffaa_optic_holografico = 0;
	ffaa_optic_g36_holo = 0;
	ffaa_optic_mg4_g36 = 0;
};
};
// Accesorios en el lado
class asdg_SlotInfo;
class asdg_FrontSideRail: asdg_SlotInfo
{
class compatibleItems
{
	ffaa_acc_puntero_ir = 1;
};
};
// Muzzles
class asdg_MuzzleSlot_556;
class asdg_MuzzleSlot_762;
class asdg_MuzzleSlot_9MM;
class CfgWeapons
{
class Pistol;
class Pistol_Base_F: Pistol
{
	class WeaponSlotsInfo;
};
class rifle;
class Rifle_Base_F: rifle
{
	class WeaponSlotsInfo;
};
class ffaa_armas_hkg36e_normal: Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_556
		{
			iconPosition[] = {0.08, 0.41};
               iconScale = 0.2;
               iconPinpoint = "right";
		};
		class PointerSlot: asdg_FrontSideRail
		{
			iconPosition[] = {0.32, 0.41};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.6, 0.22};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_cetme_l : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_556
		{
			iconPosition[] = {0.18, 0.52};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class PointerSlot: asdg_FrontSideRail
		{
			iconPosition[] = {0.32, 0.52};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.50, 0.45};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_cetme_c : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_762
		{
			iconPosition[] = {0.09, 0.48};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class PointerSlot: asdg_FrontSideRail
		{
			iconPosition[] = {0.26, 0.48};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.60, 0.41};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};	
class ffaa_armas_aw : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_762
		{
			iconPosition[] = {0.12, 0.42};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class CowsSlot: asdg_OpticRail1913_long
		{
			iconPosition[] = {0.62, 0.39};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_m95 : ffaa_armas_aw
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class CowsSlot: asdg_OpticRail1913_long
		{
			iconPosition[] = {0.54, 0.36};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_aw50 : ffaa_armas_m95
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class CowsSlot: asdg_OpticRail1913_long
		{
			iconPosition[] = {0.63, 0.39};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_hkmp510a3 : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_9MM
		{
			iconPosition[] = {0.26, 0.43};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class CowsSlot: asdg_OpticRail1913_short
		{
			iconPosition[] = {0.55, 0.34};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
		class PointerSlot : asdg_FrontSideRail
		{
			iconPosition[] = {0.32, 0.43};
               iconScale = 0.2;
               iconPinpoint = "Center";
		};

	};
};
class ffaa_armas_ump : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_9MM
		{
			iconPosition[] = {0.20, 0.41};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class CowsSlot: asdg_OpticRail1913_short
		{
			iconPosition[] = {0.50, 0.29};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
		class PointerSlot : asdg_FrontSideRail
		{
			iconPosition[] = {0.29, 0.41};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
	};
};
class ffaa_armas_p90 : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_9MM
		{
			iconPosition[] = {0.28, 0.56};
               iconScale = 0.2; 
               iconPinpoint = "right";
		};
		class CowsSlot: asdg_OpticRail1913_short
		{
			iconPosition[] = {0.43, 0.32};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
		class PointerSlot : asdg_FrontSideRail
		{
			iconPosition[] = {0.40, 0.56};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
	};
};
class ffaa_armas_mg4: Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class PointerSlot: asdg_FrontSideRail
		{				
			iconPosition[] = {0.41, 0.49};
               iconScale = 0.2; 
               iconPinpoint = "Center";
		};
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.65, 0.38};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_mg3: Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.52, 0.37};
               iconScale = 0.2;
               iconPinpoint = "bottom";
		};
	};
};
class ffaa_armas_ameli : Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class CowsSlot: asdg_OpticRail1913
		{
			iconPosition[] = {0.58, 0.47};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
		class PointerSlot : asdg_FrontSideRail
		{
			iconPosition[] = {0.27, 0.54};
               iconScale = 0.2;
               iconPinpoint = "Center";
		};
	};
};
class ffaa_armas_usp : Pistol_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{		
		class MuzzleSlot : asdg_MuzzleSlot_9MM
		{
			iconPosition[] = {0.38, 0.22};
               iconScale = 0.4; 
               iconPinpoint = "right";
		};
	};
};
// Escopeta
class ffaa_armas_sdass: Rifle_Base_F
{
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class CowsSlot: asdg_OpticRail1913_short
		{
			iconPosition[] = {0.62, 0.47};
               iconScale = 0.2; 
               iconPinpoint = "bottom";
		};
	};
};
};

Any idea what's going on?

Share this post


Link to post
Share on other sites

Here is the config of the FFAA Weapons:

http://pastebin.com/T03p4ZBq

And here is the config of the ASDG JR for FFAA Weapons:

Any idea what's going on?

Yes your original FFAA config structure is very different from the JR config and it uses compatibleitems[] arrays.

Please check first page, has lots of config examples.

If you want to support both non-JR and JR setups, the config example with an intermediary base weapon class would help.

Share this post


Link to post
Share on other sites

Hey Robalo, hoping you can help me out.  I am using a redress script and run this mod.  When this mod is active, the following codes results NULL, if i turn it off. then it gives me the list of available scopes.  Any idea?  Or can i change it to be compatible with your MOD?

		_compatibleItems = [];
		_weaponSlots = configFile >> "CfgWeapons" >> "arifle_Katiba_F" >> "WeaponSlotsInfo";
		{_compatibleItems append (getArray (_weaponSlots >> _x >> "compatibleItems"))} forEach ["CowsSlot"];

end result = _compatibleItems =  [];

Any guidance would be appreciated! 

 

 

-----EDIT------

 

I think i figured it out reading the forums here.  Refered to this post: https://forums.bistudio.com/topic/157965-asdg-joint-rails/?view=findpost&p=2837122

 

If any other thoughts or tips i'll take it!!  Thanks again.  :)

Share this post


Link to post
Share on other sites

Yes but see my post just after that one for a better solution when using ASDG JR.

Share this post


Link to post
Share on other sites

Thanks.  I saw it yesterday but at first had some issues with it.  Tried again tonight and got it working flawlessly.  Here's my setup if others are interested:

_sightz = [_weapon, 201] call asdg_fnc_compatibleItems;
_lightz = [_weapon, 301] call asdg_fnc_compatibleItems;
_weaponacc1 = _sightz call BIS_fnc_selectRandom;
_weaponacc2 = _lightz call BIS_fnc_selectRandom;
_sightzcount = count _sightz;
_lightzcount = count _lightz;
If (_sightzcount > 0) then {_x addPrimaryWeaponItem _weaponacc1;};
If (_lightzcount > 0) then {_x addPrimaryWeaponItem _weaponacc2;};

Share this post


Link to post
Share on other sites

ASDG JR is part of CBA v2.0

 

What does this mean ?

 

For players

 

If you have CBA 2.0, you don't need ASDG JR anymore, it becomes redundant.

All your various ASDG compatibility addons are still valid to use.

 

For modders

 

All asdg_* classes remain unchanged. You don't need to update your configs.

Function asdg_fnc_compatibleItems became CBA_fnc_compatibleItems.

Optional but recommended: change asdg_jointrails in requiredaddons to cba_jr

List CBA v2.0+ as a requirement instead of ASDG JR.

 

Future plans for ASDG JR

 

I will maintain a standalone version of JR for a while but in the long run I'd rather do it in one place (CBA).

  • Like 3

Share this post


Link to post
Share on other sites

Apologies for being a PITA, but I take it the _xtra PBO is in the same boat as the compatibility addons (i.e. still required)?

  • Like 1

Share this post


Link to post
Share on other sites

Apologies for being a PITA, but I take it the _xtra PBO is in the same boat as the compatibility addons (i.e. still required)?

 

Yes that one was separate. I'll make it available for download on it's own. Thanks for reminding me :)

  • Like 1

Share this post


Link to post
Share on other sites

Got one question - i downloaded newest R3F Weapons and cant attach scopes from example rh_acc or rhs to them - is a asdg_jr (cba built in) error or just bad config in their files?

Share this post


Link to post
Share on other sites

Got one question - i downloaded newest R3F Weapons and cant attach scopes from example rh_acc or rhs to them - is a asdg_jr (cba built in) error or just bad config in their files?

 

I'm not sure if latest R3F has any support for JointRails. You might need to install a JR config for R3F, I think da12thmonkey made one, you should search the R3F thread for it. Since they already require CBA I hope they will natively support JR in the future.

Share this post


Link to post
Share on other sites

i downloaded that config but it only works one way - You can put r3f attachments on other rifles - still missing solution most wanted to my group - to attach non-r3f attachments on hk417-416 rifles from r3f

Share this post


Link to post
Share on other sites

Hi, Robalo.

 

I'm unable to make that a KSVK sniper rifle accepts any other scope but its predefined ones (using NATO SF and Russian and its optional ASDG JR config file).

 

FYI, I have installed, together with ASDG JR and NATO SF and Russian Spetsnaz WEAPONS, the following MODS:

 

Task Force Arrowhead Radio 0.9.8

CBA 1.1.23

USAF Mod

AEF Uniforms

 

I have it tested in scenarios either made by me or suscribed in Workshop (f.ex., Firing Range v 1.5), to no avail.

 

Do you know what I'm doing wrong? Do I need any other file or config, specific for that rifle?

 

Thanks in advance for your help.

 

Saluditos,

 

Ferrán.

Share this post


Link to post
Share on other sites

CBA 1.1.23 is pretty out-dated, isn't it? The new CBA version already contains ASDG Joint Rails, so you don't have to (and shouldn't) start it separately.

Share this post


Link to post
Share on other sites

@golas, Ferryman

 

For any issues with mods and JR configs, you should try contacting their authors for support.

Share this post


Link to post
Share on other sites

It seems that after the patch 1.54 is your addon does not work correctly.

 

Care to elaborate ?

Last I checked it was working with 1.55 dev branch.

Share this post


Link to post
Share on other sites

No, it's used for weapon attachment compatibility ... scopes, flashlights etc. JR does not affect magazines.

  • Like 1

Share this post


Link to post
Share on other sites

Is there an optional or user made config available that adds compatibility with veterans mod? Ive been searching their topic and also google, but came up with nothing.

P.S. : i am aware that veterans mod uses its own attachments, but i have found plenty of user made configs for other addons, so maybe its out there all the same.

 

I would simply like to add some more diversity when it comes to attachments.

 

Greets

Share this post


Link to post
Share on other sites

I was just wondering as to adding bipods to weapons that have bipods as a fire-rate on them (pre-arma bipod addon), i've added all the required script and the bipods show up in the list in arsenal yet when selected they don't appear on the gun? 

This occurs on both guns with bipods on models and without, any luck with this? I managed to get suppressors from rh working properly, it's just bipods that are bugging me.

Share this post


Link to post
Share on other sites

...

The weapon model has to support bipods. There have to be "bipod" etc. memory points in the p3d.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×