Jump to content
KokaKolaA3

Need help with riotshield!

Recommended Posts

hey, im trying to make a riot shield, i have the basic knownledge in O2 but i don't know what i have to do in for the shield.

 

I used the config from the French Intervention Forces riot shield:

class CfgPatches
{
	class kka3_GSF_riot
	{
		units[]={};
		weapons[]={};
		requiredVersion=0.1;
		requiredAddons[]=
		{
			"A3_Weapons_F",
			"A3_Weapons_F_Items",
			"A3_Weapons_F_Acc"
		};
	};
};
class SlotInfo;
class CowsSlot;
class PointerSlot;
class cfgWeapons
{
	class ItemCore;
	class InventoryFlashLightItem_Base_F;
	class Rifle;
	class Rifle_Base_F: Rifle
	{
		class WeaponSlotsInfo;
	};
	class kka3_GSF_riot_shield_A: Rifle_Base_F
	{
		scope=2;
		model="\shield\bouclier";
		displayName="Riot Shield";
		picture="\kka3_GSF_riot\data\shield.paa";
		UiPicture="\kka3_GSF_riot\data\shield.paa";
		descriptionShort="Riot Shield";
		handAnim[]=
		{
			"OFP2_ManSkeleton",
			"\kka3_GSF_riot\data\shield.rtm"
		};
		destrType="DestructNo";
		armor=9000000;
		passThrough=1;
		class WeaponSlotsInfo: WeaponSlotsInfo
		{
			class PointerSlot: SlotInfo
			{
				linkProxy="\A3\data_f\proxies\weapon_slots\SIDE";
				displayName="$STR_A3_PointerSlot0";
				compatibleItems[]=
				{
					"acc_flashlight"
				};
			};
		};
		class LinkedItems
		{
			class LinkedItemsAcc
			{
				slot="PointerSlot";
				item="acc_flashlight";
			};
		};
	};
};

So my question is now:

what LOD`s and geo points does i have to set and other things i have to do in O2. I've found Zach Gibson`s Guide on how to make a weapon, but the shield does not have a magazine or a barrel or anything like this, so i don't need that but does it work then?

 

 

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

×