Home   Help Search Login Register  

Author Topic: New vehcile Class-names?  (Read 1521 times)

0 Members and 1 Guest are viewing this topic.

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
New vehcile Class-names?
« on: 21 Aug 2002, 12:28:06 »
Hi.. I'm making something, and I need to know the class names of the Bradley M2A2, Vulcan M163 and Apache AH64.
I also need to know what it's configured as like this:


Class RussianTank: Tank
Class T72: RussianTank

etc.

Cheers, m8s

Marksman

  • Guest
Re:New vehcile Class-names?
« Reply #1 on: 24 Aug 2002, 12:06:18 »
Not sure about the class names, but don't use capital 'C's when writing 'class'

You'll get an error on loading, something like found 'C' expected '='
 
or expected '{'

or expected '}'

or a similar message, which ain't too helpful telling you what's actually wrong.

Only use 'C's for "Cfg" sections.

e.g

class CfgWeapons
{

class Tanks{};
class MyTank : Tanks
{
.....
};
};

etc.

Marksman

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
Re:New vehcile Class-names?
« Reply #2 on: 24 Aug 2002, 14:37:37 »
i know i know
but i wanted the class names, not how to config it in the cpp

Marksman

  • Guest
Re:New vehcile Class-names?
« Reply #3 on: 24 Aug 2002, 20:33:50 »
Sorry mate, didn't mean to be patronising, just trying to help  :thumbsup: