Home   Help Search Login Register  

Author Topic: Names of civiilian models?  (Read 1041 times)

0 Members and 1 Guest are viewing this topic.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Names of civiilian models?
« on: 02 Dec 2003, 13:01:12 »
Howdy all! I'm no addon maker, but I am trying to do some BASIC addon editing, by changing the configs of existing units. What I want to know is the model names for all the civillians, or how I can find them. I know the names for the CWC civillians ("MC Civil" or something close), but I don't know about the resistance ones. Anyone know the names or where I can find them? Thanks.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

asmodeus

  • Guest
Re:Names of civiilian models?
« Reply #1 on: 02 Dec 2003, 20:49:32 »
This may be a stupid question, but have you tried BIS's commented config.cpp??

Asmo

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Names of civiilian models?
« Reply #2 on: 02 Dec 2003, 22:23:51 »
I looked at the commented cpp files here at OFPEC, but they only seemed to be from 1.46, NOT resistance! And I'm not sure what .pbo file those .cpp files came from, so I'm not sure what file on my HD I should un-pbo to look at. Some of those pbo's are rather big and take up lots of time/space to decompress, so I'd rather get some direction first before I go crazy with the de-pbo tool. Or, if somebody knew off the top of their head, it would save me even more time :)

Come to think of it though....those cpp files are interesting to look at, so I wouldn't mind looking at the resistance ones too. If anybody knows which file they come from, I'd appreciate it.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Names of civiilian models?
« Reply #3 on: 02 Dec 2003, 22:34:32 »
Try my O.pbo char list in the Editors Depot.

But the links in there arent working for me at the moment, maybe they will work for you.


Planck
I know a little about a lot, and a lot about a little.

Lt.Shitkilla

  • Guest
Re:Names of civiilian models?
« Reply #4 on: 03 Dec 2003, 02:25:48 »
try this as your config.cpp:

Code: [Select]
//Civilian 6 On The West Side by Lt. Shitkilla

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536

class CfgPatches
{
        class YourcivilianGuy
     {
         units[] = {yourman};
         weapons[] = {};
         requiredVersion = 1.75;
     };
};

class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{}
   class Civilian:Soldier{};
   class Civilian6: Civilian{};

   class yourman: Civilian6
   {
      vehicleclass="Barron's Men";
      side=TWest;
      access=2
      displayName="Civilian 6";
      weapons[]={"Throw","Put","Binocular","yourweapon"};               magazines[]={"weaponmag","weaponmag","weaponmag","weaponmag","weaponmag","weaponmag","weaponmag","weaponmag","weaponmag","weaponmag"};
      
      };
};

class CfgNonAIVehicles
{
       class ProxyWeapon {};
       class Proxyyourweapon: ProxyWeapon {};   //Weapons
       class Proxyyourman: ProxyWeapon {};      //Men
         };
};

This should work and your guy will look like the civilian 6 guy, you can change what he looks like, just change civilian6 to civilian whatever

Lt.Shitkilla
« Last Edit: 03 Dec 2003, 02:36:27 by Lt. Shitkilla »