OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Jahve on 21 Aug 2002, 12:28:06

Title: New vehcile Class-names?
Post by: Jahve 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
Title: Re:New vehcile Class-names?
Post by: Marksman 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
Title: Re:New vehcile Class-names?
Post by: Jahve 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
Title: Re:New vehcile Class-names?
Post by: Marksman on 24 Aug 2002, 20:33:50
Sorry mate, didn't mean to be patronising, just trying to help  :thumbsup: