Home   Help Search Login Register  

Author Topic: Config Questions(Jakerod)  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

Jakerod

  • Guest
Config Questions(Jakerod)
« on: 10 Jul 2003, 00:29:37 »
#1.) In the config.cpp file how can i change the team of a unit?
#2.) What does each one of these lines do:

class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class SoldierWB:Soldier{};
   class SoldierWG:SoldierWB{};

I am new at config.cpps for units cuz im usually a mission maker and island maker. Thanks for the replies.

Frosty

  • Guest
Re:Config Questions(Jakerod)
« Reply #1 on: 10 Jul 2003, 02:37:39 »
Those lines are defining pre-existing troops, so you can 'build' on them with new units. That is to say, if you have:

class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class SoldierWB:Soldier{};
   class OfficerW:SoldierWB{};

   class bdm_OfficerW_new: OfficerW
   {
      vehicleclass="Bloody Days - US Men";
   };
};

You'll be using all the pre-existing data for the Officer(West) such as name, loadout, health, ect, while only changing the vehicle class. You must use the
class NAMEX:NAMEY{}; if you are going to base a unit on a preexisting one.

Do you understand?

Jakerod

  • Guest
Re:Config Questions(Jakerod)
« Reply #2 on: 10 Jul 2003, 05:13:08 »
Yep thanks!!!