Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: problems with my first model addon.

  1. #11
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    that awsome good stuff GNATT, too funny like i wrote before heh newbie hehehehe but on a serious note i still cant seem to get animations to work, when I middle mouse click or even in game, im stumped. also my insrument panel it seems something about it cant open the co.paa file i made even tho i put it in the texture window directory ?

  2. #12
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    Okay Back AT It , still having issues with the animations not showing up in Buldozer, this is what i have so Far ! When I try to open it up in Buldozer i Get Error NO Entry 'bin\config.cpp.CfgSkeletons'. ??? this is For arma2 guys !
    Model.cfg !
    Code:
    class CfgSkeletons
    {
        class Vehicle;
            class FAB_Boat:Vehicle
        {
                    isDiscrete=1;
            skeletonInherit="FAB_Boat";
            skeletonBones[]=
            {
                "vrtule",
                              "" ,
                "volant"
            };
        };
    };
    class Rotation;
    class CfgModels
    {
            class Ship;
        class FAB_Boat:Ship
        {
            sectionsInherit="";
                    skeletonName="FAB_BoatSkeleton";
            sections[]=
            {
            };
            class Animations
            {
                            class DrivingWheel
                {
                    type="rotation";
                    source="drivingWheel";
                    selection="volant";
                    begin="osaVolantZac";
                    end="osaVolantKon";
                    memory="false";
                    minValue=-1;
                    maxValue=1;
                    angle0=2;
                    angle1=-2;
                };
                             class vrtule: Rotation
                {
                    type="rotation";
                    source="rotor";
                    selection="vrtule";
                    axis="osa vrtule";
                    sourceAddress="loop";
                    angle0=0.000000;
                    angle1=62.831852;
                };
            };
        };
    };
    Config.cpp !
    Code:
    class CfgPatches 
     { 
         class MyFABBoat 
          { 
          units[] = {FAB_Boat}; 
          weapons[] = {}; 
          requiredVersion = 0.10; 
              requiredAddons[] ={"CAWeapons","CACharacters","CA_Anims_Char"}; 
          }; 
           
    }; 
    
    class CfgVehicles 
    { 
         class Ship; 
         class FAB_Boat:Ship
         {
           memoryPointLMissile = "Missile_1"; //zkusim otocit
           memoryPointRMissile = "Missile_2"; //zkusim otocit 
           scope=2;
         side=1; 
             displayName=" FAB_Boat";
              crew=SoldierWPilot;
              Audible=6;
              accuracy = 0.03;
              armor= 30;
              LockDetectSystem = 2;
               picture="\FAB_Boat\icons\FAB_Boat_picture_CA.paa";
             Icon="\FAB_Boat\icons\FAB_Boat_icons_CA.paa"; 
         model="\FAB_Boat\FAB_Boat.p3d"; 
             mapsize = 8;  
         transportSoldier=2;
             namesound=FAB_Boat; 
             maxSpeed=150; 
            precision=10; 
            brakeDistance=15;
        weapons[]={HellfireLauncher};
        magazines[]={8Rnd_Hellfire};    
            soundEngine[]={\ca\air\Data\Sound\AH1_engine_v3a,db32,1};
     };
     };
    class CfgNonAIVehicles
    {
        class ProxyDriver;
        class ProxyParasutista: ProxyDriver {};
            class ProxyWeapon;
        class ProxyAGM114Hellfire: ProxyWeapon {model = \ca\air\AGM114Hellfire; simulation = "maverickweapon";};
        
    };
    Last edited by [FRL]Myke; Aug 24 2012 at 17:11.

  3. #13
    class CfgSkeletons
    {
    class Vehicle;
    class FAB_Boat:Vehicle
    class Ship;
    class FAB_Boat:Ship
    {
    sectionsInherit="";
    skeletonName="FAB_BoatSkeleton";
    skeleton name is wrong at first glance.

    and
    skeletonInherit="FAB_Boat";
    it isnt inheriting anything unless you have more model.cfg ?
    A chopper cup of Coffee in a chopper coffee pot
    TOH Now with added Coffee
    http://www.helpivanmartin.org/

  4. #14
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    okay so I named my project originally FAB_Boat in p\drive \armawork folder. should i change that ? more model cfg ? sorry im relly noob at this no experiance at all .

  5. #15
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    5,692
    @NITRO65

    please make use of the code tags when posting scripts or configs, it makes the post easier readable. You might click on edit of your post to see how it is done. Thank you.

  6. #16
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    Am i suppose to be using the model config editor in the tools section of o2? If so i wish there was a tutorial on that

  7. #17
    MODEL.CFG is just a text file. No, don't (well .... I've never) use the config editor thats part of O2. I use the same editor I use for CONFIG.CPP
    So long as the (one and only) MODEL.CFG file is in the same directory as the P3D file, then when you load your P3D into O2, the model.cfg will automatically load also.
    NOTES:
    - If you edit your MODEL.CFG while O2 is open, Buldozer will likely NOT update animations. I usually a) open any other p3d file, b) close, c) reopen your main p3d file.
    - As I already mentioned, your Class CFGModels must, MUST contain the same name as your P3D file name.
    e.g.
    PHP Code:
    class CfgModels
    {
        class 
    Ship;
        class 
    FAB_Boat:Ship
    ...
    ... 
    Your P3D file MUST be called "FAB_Boat.p3d"

  8. #18
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    thanks Gnat, For some reason cant seem to get my animations to load into buldozer , However i do have the the p3d file as the same name FAB_Boat !

  9. #19
    Suspect its failing quietly in the background due to a lot of error

    memory="false";
    Thats not the way you use it (and you havent defined false anyway).
    Simply replace with
    memory=0;

    class vrtule: Rotation
    You didnt predefine "Rotation"
    and you dont need to
    Just do
    class vrtule {

    skeletonName="FAB_BoatSkeleton"
    There is no FAB_BoatSkeleton defined !!
    Instead you have
    class CfgSkeletons
    {
    class Vehicle;
    class FAB_Boat

    Needs fixing

  10. #20
    had a problem with that too i just flipped it and it seemed to work

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Problems editing M4 Aimpoint sample model
    By sv5000 in forum ARMA 2 & OA : MODELLING - (O2)
    Replies: 10
    Last Post: Mar 11 2012, 22:42
  2. Problems with new Sample Model
    By Thromp in forum TAKE ON HELICOPTERS : ADDONS - Configs & Scripting
    Replies: 4
    Last Post: Jan 28 2012, 12:35
  3. problems with bones of model
    By skykiller in forum ARMA 2 & OA : MODELLING - (O2)
    Replies: 8
    Last Post: Jun 23 2011, 03:56
  4. problems with bones of model
    By skykiller in forum OFP : O2 MODELLING
    Replies: 2
    Last Post: Jun 17 2011, 15:09
  5. Babushka Hit Model problems
    By volkov956 in forum ARMA 2 & OA - TROUBLESHOOTING
    Replies: 2
    Last Post: Jul 3 2009, 00:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •