IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
> Basic Config.cpp files., Place here basic config files for newbies :P
SGJackson
post Jul 30 2010, 03:36
Post #1


Member
***

Group: Members
Posts: 131
Joined: 22-May 10
Member No.: 7,651



Hi all!

I've made this post 'cause I took some config files from a tut and neither of any that I took worked..

So now, I'm asking YOU (dood that knows about config files) to place here the basic config files needed for an addon to work...

I was actually looking for the config to get a car into ArmA I... I have this one (witch doesn't work):

CODE
class CfgModels
{
    class default {};
    class Vehicle: default {};
    class Car: Vehicle {};
    class Jeep: Car {};
    class firstCar: Jeep {};
};


class CfgPatches
{
     class firstCar
     {
         units[] = {firstCar};
         weapons[] = {};
         requiredVersion = 1.0;
     };

};

class CfgVehicles
{

     class All {};
     class AllVehicles: All {};
     class Land: AllVehicles {};
     class LandVehicle: Land {};
     class Car: LandVehicle {};
     class Jeep: Car {};

     class firstcar: Jeep
     {                              
        displayName="HUMVEE REWORKED";     // Displayname in editor
        model= \firstcar\firstcar;    // our p3d model path
                  
        side=3;            // Its on the civilian side
        crew="Civilian2";    // The default driver are civilians
        maxSpeed=300;        // Max speed
        transportSoldier=0;     // Right now just driver, no cargo                                                                                  
      };
}


I may remark that this tutorial is made for OFP... dunno if there's any difference... but my firstcar.p3d doesn't appear under Civilian>Cars>HUMVEE REWORKED (or under any other drop-down menu)

Thanks to all!

This post has been edited by SGJackson: Jul 30 2010, 03:37
 
Quote Post

Posts in this topic


Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18th April 2024 - 03:43