Jump to content
Sign in to follow this  
brad7

I've made a backpack but cant get it in game?

Recommended Posts

Ive made a backpack and cant get it in game, i modified the kiory alice pack and that worked in game but when i made my own pack it would'nt appear in game and i would get bad vehicle type error dont know where i am going wrong. I copied all the other files he had but i altered the config and texture if someone could help me get it in game it would be great thanks...

Heres my config:

#define private 0

#define protected 1

#define public 2

#define true 1

#define false 0

class CfgPatches {

class My_Backpacks {

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = { "A3_Weapons_F" };

};

};

class cfgVehicles {

class ContainerSupply;

class Bag_Base;

class B_Bergen_Base; // External class reference

class UrbanPack : B_Bergen_Base {

scope = public;

class TransportMagazines{};

class TransportWeapons{};

isbackpack = 1;

transportMaxWeapons = 2;

transportMaxMagazines = 50;

class DestructionEffects{};

displayName = "Urban Pack";

model = "\My Backpack\UrbanPack.p3d";

vehicleClass = "Backpacks";

allowedSlots[] = {1000};

};

};

Edit = underlined bits are what i changed...

---------- Post added at 16:38 ---------- Previous post was at 15:18 ----------

I've got it in game but i cant get to position correctly on the player its either above or below the correct positioning then when i go to a low stance its floating above the player?

Share this post


Link to post
Share on other sites

You can try making your backpack a component named "Spine2", and see how well that places it. I have the following in my model.cfg for my custom headgear:

"Spine","Pelvis",
"Spine1","Spine",
"Spine2","Spine1",
"Spine3","Spine2",

hopefully you have these in your model.cfg skeleton class.

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  

×