Addons & Mods Depot > OFP - Addons & Mods General

New vehcile Class-names?

(1/1)

Jahve:
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:
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

Jahve:
i know i know
but i wanted the class names, not how to config it in the cpp

Marksman:
Sorry mate, didn't mean to be patronising, just trying to help  :thumbsup:

Navigation

[0] Message Index

Go to full version