Jump to content

Recommended Posts

I've been racking my brain to figure out how to use RHS's "rhs_western_rifle_scopes_slot_short " config for scopes and the ones for the other attachments to add some of my custom scopes to the weapon as well as the RHS ones I've tried a few things 

firstly i tried to append the class

 
 
0
 Advanced issue found
 
 
Spoiler

class CowsSlot: rhs_western_rifle_scopes_slot_short {
				compatibleItems[] +=
				{
					"SSQN_AR_ACOG",
					"SSQN_AR_ACOG_DR",
					"SSQN_AR_AimpointCompM4",
					"SSQN_AR_AimpointCompM4_Mag_OFF",
					"SSQN_AR_AimpointCompM4_Mag_ON",
					"SSQN_AR_AimpointMicroT1",
					"SSQN_AR_EOTech553",
					"SSQN_AR_EOTech553_Mag_OFF",
					"SSQN_AR_EOTech553_Mag_ON",
					"SSQN_AR_ACOG_C1",
					"SSQN_AR_ACOG_DR_C1",
					"SSQN_AR_AimpointCompM4_C1",
					"SSQN_AR_AimpointCompM4_Mag_OFF_C1",
					"SSQN_AR_AimpointCompM4_Mag_ON_C1",
					"SSQN_AR_AimpointMicroT1_C1",
					"SSQN_AR_EOTech553_C1",
					"SSQN_AR_EOTech553_Mag_OFF_C1",
					"SSQN_AR_EOTech553_Mag_ON_C1",
					"SSQN_AR_ACOG_C2",
					"SSQN_AR_ACOG_DR_C2",
					"SSQN_AR_AimpointCompM4_C2",
					"SSQN_AR_AimpointCompM4_Mag_OFF_C2",
					"SSQN_AR_AimpointCompM4_Mag_ON_C2",
					"SSQN_AR_AimpointMicroT1_C2",
					"SSQN_AR_EOTech553_C2",
					"SSQN_AR_EOTech553_Mag_OFF_C2",
					"SSQN_AR_EOTech553_Mag_ON_C2",
					"SSQN_AR_ACOG_C3",
					"SSQN_AR_ACOG_DR_C3",
					"SSQN_AR_AimpointCompM4_C3",
					"SSQN_AR_AimpointCompM4_Mag_OFF_C3",
					"SSQN_AR_AimpointCompM4_Mag_ON_C3",
					"SSQN_AR_AimpointMicroT1_C3",
					"SSQN_AR_EOTech553_C3",
					"SSQN_AR_EOTech553_Mag_OFF_C3",
					"SSQN_AR_EOTech553_Mag_ON_C3",
					"SSQN_AR_ACOG_C4",
					"SSQN_AR_ACOG_DR_C4",
					"SSQN_AR_AimpointCompM4_C4",
					"SSQN_AR_AimpointCompM4_Mag_OFF_C4",
					"SSQN_AR_AimpointCompM4_Mag_ON_C4",
					"SSQN_AR_AimpointMicroT1_C4",
					"SSQN_AR_EOTech553_C4",
					"SSQN_AR_EOTech553_Mag_OFF_C4",
					"SSQN_AR_EOTech553_Mag_ON_C4"
				};
			};

 

then i tried to look at the RHS config and do the same

 
 
0
 Advanced issue found
 
 
Spoiler

class CowsSlot: rhs_western_rifle_scopes_slot_short {
			class compatibleItems: compatibleItems
                {
                    SSQN_AR_ACOG = 0;
                    SSQN_AR_ACOG_DR = 0;
                    SSQN_AR_AimpointCompM4 = 0;
                    SSQN_AR_AimpointCompM4_Mag_OFF = 0;
                    SSQN_AR_AimpointCompM4_Mag_ON = 0;
                    SSQN_AR_AimpointMicroT1 = 0;
                    SSQN_AR_EOTech553 = 0;
                    SSQN_AR_EOTech553_Mag_OFF = 0;
                    SSQN_AR_EOTech553_Mag_ON = 0;
                    SSQN_AR_ACOG_C1 = 0;
                    SSQN_AR_ACOG_DR_C1 = 0;
                    SSQN_AR_AimpointCompM4_C1 = 0;
                    SSQN_AR_AimpointCompM4_Mag_OFF_C1 = 0;
                    SSQN_AR_AimpointCompM4_Mag_ON_C1 = 0;
                    SSQN_AR_AimpointMicroT1_C1 = 0;
                    SSQN_AR_EOTech553_C1 = 0;
                    SSQN_AR_EOTech553_Mag_OFF_C1 = 0;
                    SSQN_AR_EOTech553_Mag_ON_C1 = 0;
                    SSQN_AR_ACOG_C2 = 0;
                    SSQN_AR_ACOG_DR_C2 = 0;
                    SSQN_AR_AimpointCompM4_C2 = 0;
                    SSQN_AR_AimpointCompM4_Mag_OFF_C2 = 0;
                    SSQN_AR_AimpointCompM4_Mag_ON_C2 = 0;
                    SSQN_AR_AimpointMicroT1_C2 = 0;
                    SSQN_AR_EOTech553_C2 = 0;
                    SSQN_AR_EOTech553_Mag_OFF_C2 = 0;
                    SSQN_AR_EOTech553_Mag_ON_C2 = 0;
                    SSQN_AR_ACOG_C3 = 0;
                    SSQN_AR_ACOG_DR_C3 = 0;
                    SSQN_AR_AimpointCompM4_C3 = 0;
                    SSQN_AR_AimpointCompM4_Mag_OFF_C3 = 0;
                    SSQN_AR_AimpointCompM4_Mag_ON_C3 = 0;
                    SSQN_AR_AimpointMicroT1_C3 = 0;
                    SSQN_AR_EOTech553_C3 = 0;
                    SSQN_AR_EOTech553_Mag_OFF_C3 = 0;
                    SSQN_AR_EOTech553_Mag_ON_C3 = 0;
                    SSQN_AR_ACOG_C4 = 0;
                    SSQN_AR_ACOG_DR_C4 = 0;
                    SSQN_AR_AimpointCompM4_C4 = 0;
                    SSQN_AR_AimpointCompM4_Mag_OFF_C4 = 0;
                    SSQN_AR_AimpointCompM4_Mag_ON_C4 = 0;
                    SSQN_AR_AimpointMicroT1_C4 = 0;
                    SSQN_AR_EOTech553_C4 = 0;
                    SSQN_AR_EOTech553_Mag_OFF_C4 = 0;
                    SSQN_AR_EOTech553_Mag_ON_C4 = 0;
                };
			};

 

i then added 

class compatibleItems

as i was getting an error as it said the class wasn't defined then using that it said the class already was filled in then once i got it working with no Inheritance it had no attachments 

the final thing i tried was defining a new class all together using both as an array in the first attempt and as a class in the second attempt 

class ssqn_rifle_scopes:asdg_OpticRail1913_short
{
	compatibleItems[] +=
	{

any help will be much appreciated 

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

×