this is my first mod i am working :D
Guys, i have a model with a working with. He is not finished but i want to test in-game.
I start working with mods a few days, i create a simple model.cfg and config.cpp file. But when a try to open my object the message "cannot load object amazonas.p3d".
And in arma 3 rpt "ModParams - Undefined or empty mod directory".
config.cpp
class CfgPatches
{
class Amazonas_F
{
units[] = {"Amazonas_OZ"};
weapons[] = {};
requiredVersion[] = {};
requiredAddons[] = {};
};
};
class CfgVehicles
{
class Air;
class Plane : Air {};
class Amazonas_OZ : Plane{
scope = 2;
scopeCurator = 2;
displayName = "C105 Amazonas";
model = "amazonas.p3d";
side = 3; /// 3 stands for civilians, 0 is OPFOR, 1 is BLUFOR, 2 means guerrillas
faction = CIV_F; /// defines the faction inside of the side
};
};
model.cfg
class CfgSkeletons
{
class Default
{
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class Vehicle : Default{};
class Plane : Vehicle{};
class amazonasSkeleto
{
skeletonInherit = "Plane";
skeletonBones[] = {
};
};
};
class CfgModels
{
class Default
{
sectionsInherit="";
sections[] = {};
skeletonName = "";
};
class Vehicle: Default {};
class Plane : Vehicle {};
class amazonas : Plane
{
sections[] =
{
"camo1"
};
};
};
O2 Print of my model:
http://image.prntscr.com/image/6b4470096bf04bd9ad4c048c95dafab3.png
i miss something required to work?