Jump to content
Sign in to follow this  
Gonobob

need help with config.cpp

Recommended Posts

hi all

i'm trying to make new skins in config.cpp and get error Bad Vehicle Type

can anyone help me with this?

sorry for bad english

Thanks.

class CfgPatches {
class dayz_server {
	units[] = {"Ins_Soldier_Base","YourTag_test_objs","Bot_Sniper"};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"dayz_code","CACharacters2","CACharacters"};
};
class CfgVehicleClasses
{	
class YourTag_test_objs
{
	displayName = "Test Objects";
};
};

class CfgVehicles {
class Ins_Soldier_Base;
class Bot_Sniper: Ins_Soldier_Base {
displayName = "BOT_Sniper";
vehicleClass = "YourTag_test_objs";	
model = "\ca\characters2\civil\Pilot\Pilot";
side = 1;
weapons[] = {"Throw","Put"};
backpack = "";
magazines[] = {};
respawnWeapons[] = {"Throw","Put"};
respawnMagazines[] = {};
weaponSlots = "1	 + 	4	 + 12*		256	 + 2*	4096	 + 	2	 + 8*	16  + 12*131072";
canHideBodies = 1;
};
};

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  

×