Results 1 to 8 of 8

Thread: Gearbox Issue

  1. #1

    Gearbox Issue

    The standard gearboxes really do not do it for me. I've made quite a few static objects now, and that is just fine, I have a config template for static objects that works just fine. I need some sort of way to turn this static object into a .. well a working empty gearbox.

    Any help gents?

    Heres a photo..



    And heres my current config file..

    PHP Code:
    class CfgPatches 

        class 
    dar_objects 
        

            
    units[] = {"DAR_Milcase"}; 
            
    weapons[] = {}; 
            
    requiredVersion 0.1
            
    requiredAddons[] = {"CAData"}; 
        }; 
    }; 

    class 
    CfgVehicleClasses 

        class 
    dar_objects 
        

            
    displayName "DAR Objects"
        }; 
    }; 

    class 
    CfgVehicles 

        class 
    House
        class 
    DAR_MilcaseHouse//Wall 
        

            
    scope 2
            
    displayName "Military Case"
            
    vehicleClass "dar_objects"
            
    model "\dar_objects\dar_milcase.p3d"
            
    mapSize 0.2
            
    cost 1000
            
    armor 5000
            
    destrType "DestructNo"
        }; 
    }; 

  2. #2
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    5,700
    Why don't you simply inherit from a existing ammobox? Just remove the gear related code.

  3. #3
    Quote Originally Posted by [FRL]Myke View Post
    Why don't you simply inherit from a existing ammobox? Just remove the gear related code.
    Err.. I don't know where to find the configs for the normal gearboxes are? Any way to direct me to such?

  4. #4
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    5,700
    Please use "ammoboxes" instead of "gearbox" as at first i thought the thread is about vehicles gearbox.

    Ammoboxes can be found in the weapons.pbo.

    Code:
    class ReammoBox;
    class YourClassName: ReammoBox {
        scope = public;
        accuracy = 1000;
        displayName=$STR_DN_AMMO_CRATES_WEST;
        class TransportMagazines {};
        class TransportWeapons {};
    };
    I think this should work to create a empty box.

  5. #5
    Alright, I did as you said. But I do not get any gear option?

    PHP Code:
    class CfgPatches 

        class 
    dar_objects 
        

            
    units[] = {"DAR_milcase"}; 
            
    weapons[] = {}; 
            
    requiredVersion 0.1
            
    requiredAddons[] = {"CAData"}; 
        }; 
    }; 

    class 
    CfgVehicleClasses 

        class 
    dar_objects 
        

            
    displayName "DAR Objects"
        }; 
    }; 

    class 
    CfgVehicles 

        class 
    ReammoBox;
        class 
    DAR_milcaseReammoBox 
    {
        
    scope 2;
        
    displayName"MILSPEC Gearbox";
        
    vehicleClass "dar_objects";
        
    model "\dar_milcase\dar_milcase.p3d";
        
    mapSize 0.2
        
    cost 1000
        
    armor 5000
        
    destrType "DestructNo"
        class 
    TransportMagazines {};
        class 
    TransportWeapons {};
    };

    }; 
    Any ideas on this?

  6. #6
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    5,700
    What LOD's does your model have? At least Geometry LOD will be required afaik.

  7. #7
    HMMM.. I may have not implemented my Geo LOD.. I shall check that and report back at once..

  8. #8
    needs a memory point named doplnovani

Similar Threads

  1. Stuttering issue online, not graphical / hardware issue afaik.
    By w0w00t in forum ARMA 2 & OA - TROUBLESHOOTING
    Replies: 14
    Last Post: May 3 2013, 22:30
  2. Filmmaking Camera Script - Bulldozer Controls Issue + Crosshairs issue
    By bradlo in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 12
    Last Post: Dec 16 2009, 13:43
  3. Difficulty issue + "L-tev" issue.
    By zdavid99 in forum ARMA 2 & OA - TROUBLESHOOTING
    Replies: 0
    Last Post: Oct 18 2009, 18:12
  4. co6 Gearbox
    By Inkompetent in forum ARMA 2 & OA - USER MISSIONS
    Replies: 2
    Last Post: Aug 4 2009, 11:52
  5. Bulldozer Controls Issue + Crosshairs issue
    By bradlo in forum ARMA 2 & OA - TROUBLESHOOTING
    Replies: 0
    Last Post: Jun 24 2009, 12:58

Posting Permissions

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