Jump to content
Sign in to follow this  
360plus

No interaction with inventory item!

Recommended Posts

I have made a new model and i have got it in the game and it spawns and such. My problem is that when i walk up to it and try and put it into my inventory there is not option.
 
https://i.gyazo.com/6b729325980a60222a6b88d995a09533.jpg
 
I have the config set up right as it works for other models just not the rope. This is my first time modeling something into the game. I think it might have something to do with the model and not the config

 

here is the class from the config.

class C_Inv_Rope_i : ItemCore {
		scope = public;
		displayName = "Rope";
		descriptionShort = "Rope";
		picture = "\C_Inv_Items\data\UI\Rope_ca.paa";
		model = "\C_Inv_Items\Rope.p3d";
		allowedSlots[] = {901, 801, 701};
		mass = 1;
	};
class C_Inv_Rope : WeaponHolder_Single_limited_weapon_F {
  scope = public;
  scopeCurator = 2;
  simulation = "thing";
  displayName = "Rope";
  author = "Test";
  picture = "\C_Inv_Items\data\UI\Rope_ca.paa";
  model = "\C_Inv_Items\Rope.p3d";
  vehicleClass = "Items";
  submerged = 0;    // initial submersion, <0 inital delay
  submergeSpeed = 0;
  timetolive = 0;
  disappearAtContact = false;
  airFriction2[] = {0.01, 0.01, 0.01};
  airFriction1[] = {0.01, 0.01, 0.01};
  airFriction0[] = {0.01, 0.01, 0.01};
  airFriction = 0.09;
  airRotation = 0;
  gravityFactor = 1;

  class TransportMagazines {
    class C_Inv_Rope_i {
      magazine = "C_Inv_Rope_i";
      count = 1;
    };
  };
};

If anyone knows please help!!

 

Share this post


Link to post
Share on other sites

I think it might need a 'Geometry' lod for the game to recognise when you're "aiming" at it and when to prompt the action.

Share this post


Link to post
Share on other sites

Hi Guys!

 

I have a similar problem. The Object ist showing in the Arsenal and the Inventory, but the Editor placed Object is invisible. When I placed a Medikit then is it visible, but I cann`t take it.

class CfgPatches
{
	class SC_USB_Stick
		{
		units[] = {"SC_USB_Stick64_Item"};
		weapons[] = {"SC_USB_Stick64"};
		requiredVersion = 0.1;
		requiredAddons[] = {};
		};
};

class CfgWeapons
{
	class ItemCore;
    class InventoryItem_Base_F;
	
	
	class SC_USB_Stick64:  ItemCore
    {
        author = "[TFE] Survival";
        displayName = "USB 64Gb";
        model = "\sc_usb_stick\sc_usb_stick_64.p3d";
        scope = 2;
		scopeArsenal = 2;
        scopeCurator = 2;
		simulation = "ItemMineDetector";
        picture = "\sc_usb_stick\Data\sc_usb_stick_ui_64.paa";
		allowedSlots[] = {901, 801, 701};
	class ItemInfo: InventoryItem_Base_F
        {
            mass= 0.1;
        };
    };
};


 class CfgVehicles {
	
	class Item_Base_F;
	
	
	class SC_USB_Stick64_Item : Item_Base_F 
	{
		scope = 2;
		scopeCurator = 2;
		displayName = "USB Item 64Gb";
		author = "[TFE] Survival";
		icon = "iconObject_1x1";
		vehicleClass = "Items";
		model = "\sc_usb_stick\sc_usb_stick_64_dummy.p3d";

		
class TransportItems 
		{
			class SC_USB_Stick64 
			{
				name = "SC_USB_Stick64";
				count = 1;
			};
		};
	};
};

Sry for my english ;)

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  

×