Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: problems with my first model addon.

  1. #1

    problems with my first model addon.

    Im having issues with my boat, I get it into game but its always backwards from the way I place It? And my driver proxy is also backwards? Ive tried reversing the driver proxy but it doesnt seem to matter help Im a Newbie at t? Also My Animations arent working either, this is the config i tried to make.
    PHP Code:
    class CfgPatches
     
    {
         class 
    CAWater
          
    {
          
    units[] = {FAB_Boat};
          
    weapons[] = {};
          
    requiredVersion 0.10;
              
    requiredAddons[] ={};
          };
          
    };
    #include "basicDefines.hpp"
    #include "CrewAnimations.hpp"
    class CfgVehicles
    {
         class 
    RHIB;
         
         class 
    FAB_Boat:RHIB
         
    {
         
    scope=2;
             
    displayName=" FAB_Boat";
         
    model="\FAB_Boat\FAB_Boat.p3d";
             
    mapsize 8;
             
    namesound "aircraft";
         
    transportSoldier=2;
             
    maxSpeed=300;         
        };
    };
     class 
    Sounds
     
    {
       class 
    Engine
       
    {
        
    sound[] = {"\FAB_Boat\sound\FAB_Boat_turbine",2.51189,1.0,900};
       };
      };
     class 
    Rotation;
    class 
    CfgModels
    {
        class 
    AllVehicles;
        class 
    ShipAllVehicles
        
    {
            
    isDiscrete=0;
            
    skeletonInherit="FAB_Boat";
            
    skeletonBones[]=
            {
                
    "vrtule_1",
                
    "vrtule_2",
                
    "vrtule_3",
                
    "otocvez",
                
    "volant",
                
    "",
                
    "radar",
                
    ""
            
    };
        };
            
    precision=10;
            
    brakeDistance=20;
            
    skeletonName="FAB_Boat";
            class 
    Animations  
            
    {
                
                class 
    DrivingWheel
                
    {
                    
    type="rotation";
                    
    source="drivingWheel";
                    
    selection="volant";
                                    
    sourceAddress="clamp";
                    
    begin="osaVolantZac";
                                    
    end="osaVolantKon";
                                    
    memory="1";                        
                    
    angle0=2;
                    
    angle1=-2;
                            };
                class 
    virtule_1rotation
                
    {
                        
    type="rotationZ";
                        
    source="rotor";
                        
    selection="vrtule_1";
                    
    axis="vrtule_1_axis";
                    
    sourceaddress="loop";
                                    
    memory="1";                                    
                    
    angle0=0.000000;
                    
    angle1=62.831852;
                            };
                class 
    vrtule_2rotation
                
    {
                    
    type="rotationZ";
                    
    source="rotor";
                    
    selection="vrtule_2";
                    
    axis="vrtule_2_axis";                
                    
    sourceAddress="loop";
                                    
    memory="1";                
                    
    angle0=0.000000;
                    
    angle1=62.831852;
                            };
                class 
    rotor_3rotation
                
    {
                    
    type="rotationZ";
                    
    source="rotor";
                    
    selection="vrtule_3";
                    
    axis="vrtule_3_axis";                
                    
    sourceAddress="loop";
                                    
    memory="1";                
                    
    angle0=0.000000;
                    
    angle1=62.831852;    
                };
    }        }; 
    Last edited by Max Power; Jun 11 2012 at 17:44.

  2. #2
    Please use [PHP ][ / PHP] tags when posting this code, so we can read it.
    We will also need to see the CONFIG.CPP to understand what might be happening.

  3. #3
    I took the liberty of adding some php tags.


    Please use the CWR2 CBT to help us provide a better experience.

  4. #4
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread

    Sorry about the tags Gnatt Not Sure how to get them

    Quote Originally Posted by Max Power View Post
    I took the liberty of adding some php tags.
    Thankyou for adding tags MAX , I wouldnt know where to begin with tags and i have a video showing in in game just cant seem to get it to move , I git the proxy fixed for driver, but cant seem to get anything else to work this is the video on you tube ( http://youtu.be/V7nEbpfzC6o). AND thanks to all that show us little guys how to do this stuff

    ---------- Post added at 15:07 ---------- Previous post was at 14:55 ----------

    Sorry Gnat im knew , dont know anyting about php I got my driver proxy fixed but boat wont move at all (http://youtu.be/V7nEbpfzC6o) this is the boat i designed I know its ruff but im trying

  5. #5
    When editing a post, click GO ADVANCED to see all tags.

    Your config is messed up bad.
    Change CONFIG.CPP to
    PHP Code:
    class CfgPatches
     
    {
         class 
    MYFASTBOAT
          
    {
          
    units[] = {FAB_Boat};
          
    weapons[] = {};
          
    requiredVersion 0.10;
              
    requiredAddons[] ={};
          };
          
    };

    class 
    CfgVehicles
    {
         class 
    RHIB;
         class 
    FAB_Boat:RHIB
         
    {
         
    scope=2;
             
    displayName=" FAB_Boat";
         
    model="\FAB_Boat\FAB_Boat.p3d";
             
    mapsize 8;
             
    namesound "aircraft";
         
    transportSoldier=2;
             
    maxSpeed=300;
            
    precision=10;
            
    brakeDistance=20;
     class 
    Sounds
     
    {
       class 
    Engine
       
    {
        
    sound[] = {"\FAB_Boat\sound\FAB_Boat_turbine",2.51189,1.0,900};
       };
      };

        };
    }; 
    Make another file in the folder called MODEL.CFG
    PHP Code:
    class CfgSkeletons 

        class 
    Ship;
        class 
    MYBOATBonesShip
        
    {
            
    isDiscrete=1;
            
    skeletonInherit "";
            
    skeletonBones[]=
            {
                
    "vrtule_1","",
                
    "vrtule_2","",
                
    "vrtule_3","",
                
    "otocvez","",
                
    "volant","",
                
    "radar",""
            
    };
        };
    };

    class 
    cfgModels
    {
        class 
    Ship;
        class 
    NAME_OF_MY_P3D_FILEShip
        
    {
            
    skeletonName "MYBOATBones";
            
    sectionsInherit="";
            
    sections[]=
            {
                
    "vrtule_1",
                
    "vrtule_2",
                
    "vrtule_3",
                
    "otocvez",
                
    "volant",
                
    "radar"
            
    };
            class 
    Animations  
            
    {
                class 
    DrivingWheel
                
    {
                    
    type="rotation";
                    
    source="drivingWheel";
                    
    selection="volant";
                    
    sourceAddress="clamp";
                    
    begin="osaVolantZac";
                    
    end="osaVolantKon";
                    
    memory="1";                        
                    
    angle0=2;
                    
    angle1=-2;
                };
                class 
    virtule_1
                
    {
                    
    type="rotationZ";
                    
    source="rotor";
                    
    selection="vrtule_1";
                    
    axis="vrtule_1_axis";
                    
    sourceaddress="loop";
                    
    memory="1";                                    
                    
    angle0=0.000000;
                    
    angle1=62.831852;
                };
                class 
    vrtule_2
                
    {
                    
    type="rotationZ";
                    
    source="rotor";
                    
    selection="vrtule_2";
                    
    axis="vrtule_2_axis";                
                    
    sourceAddress="loop";
                    
    memory="1";                
                    
    angle0=0.000000;
                    
    angle1=62.831852;
                };
                class 
    rotor_3
                
    {
                    
    type="rotationZ";
                    
    source="rotor";
                    
    selection="vrtule_3";
                    
    axis="vrtule_3_axis";                
                    
    sourceAddress="loop";
                    
    memory="1";                
                    
    angle0=0.000000;
                    
    angle1=62.831852;    
                };
            }
        };
    }; 
    Now you should be able to see the Animations in BULDOZER by clicking and rolling the middle mouse button.
    BTW, it won't go 300kph .... the game engine won't let it.

  6. #6
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    Thanks Gnatt, ? About the middle mouse thing its not working um , do you have to select a certain object or something before opening buldozer i tried ctrl a and just selecting certain things before opening Buldozer just no luck. Buldozer works fine just no animations. im also designing some other models a heavy lift chopper, and my baby SR-71 blackbird plane ther coming along real nice I want those perfect this is a kool learning experiance

  7. #7
    So long as the MODEL.CFG file is there before you load the P3D it should work.
    Did you change the "NAME_OF_MY_P3D_FILE" bit !?
    And no, you dont have to select anything, the middle mouse click does it for you.

  8. #8
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    OK so IN Game controls are all backwards lol, S is forward W is reverse but my left and right controls are good heh, not sure what to think about that!

  9. #9
    Private First Class
    Join Date
    Jun 11 2012
    Posts
    16
    Author of the Thread
    OK so I fixed THE model just had it backwards in o2 , reversed the model and repacked it its fine now all controls are right direction lol.

  10. #10
    hmmmm.....


Page 1 of 3 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
  •