Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
f2f_bho

Model_Cfg Help

Recommended Posts

I know there are a few threads, however i do not want this at the bottom of some dead thread, whereas it will not be answered for weeks poss months.. i am trying to move on to other projects... my issue:

after reviewing all of the model.cfg tuts... i still have some issues and i tried to follow the layouts as much as possible, i am not sure if my issues are syntax based or just plain noobness, as i am not a script or code guru.....

code:

class CfgSkeletons

{

class Truck;

class BH_M1000_Trailer: Truck

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]=

{

"Trailer_Hinge",

"Trailer_Bed",

"UserRamp1",

"Ramp_hinge",

};

};

};

class CfgModels

{

class Truck;

class BH_M1000_Trailer: Truck

{

sectionsInherit = "";

skeletonName = "M1000Bones";

sections[] = {};

class Animations

{

class UserRamp1

{

type="rotationX";

source="UserRamp1";

sourceAddress = "clamp";

selection="UserRamp1";

axis="AXIS_ramp1";

memory=1;

angle0="rad 22";

angle1="rad 0";

minValue=0.000;

maxValue=1.000;

};

};

};

};

I appreciate any help im sure its something stupid and simple.......

Edited by F2F_BHO
additional text

Share this post


Link to post
Share on other sites

think i got it

class BH_M1000_Trailer

should be

class BH_M1000_TrailerSkeleton

also, in cfgmodels, the skeleton name doesnt match

(might not be the best idea, but try remove class Truck, i never use base classes in my model.cfg but they work fine)

Share this post


Link to post
Share on other sites

Rog , thank you for the swift answer will adjust ....

Share this post


Link to post
Share on other sites

I believe skeletonName= must match the skeleton name that you have defined in cfgskeletons.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×