Jump to content
Sign in to follow this  
Tomsz

How to add a custom scope to my weapon

Recommended Posts

Hey guys I am hoping one of you will know how I would go about add'ing a custom scope to a gun, the gun I'm referring to is able to use both ARCO and RCO scopes but I have a scope I want to attach

but when I have the gun and try to add the scope it doesn't allow it, how would I fix this? all help is greatly appreciated!

Share this post


Link to post
Share on other sites

the game requires you to define what scope(s) a weapon can use (which is rather backwards thinking) - creating a custom scope isn't enough, you also have to alter the weapon config for the weapon you want to use it.

Stuff that needs changing

specifically:

class CowsSlot : SlotInfo
{
	// targetProxy
	linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";

	// display name
	displayName = $STR_A3_CowsSlot0;

	// class names with items supported by weapon 
	compatibleItems[] = {"optic_Arco","optic_aco", "optic_ACO_grn","optic_hamr","optic_Holosight"};
}; 

but this is an editing question, and as such, belongs in the editing forum ;)

Share this post


Link to post
Share on other sites

Thanks so much, with your help I was able to attach my desired scope!

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
Sign in to follow this  

×