PDA

View Full Version : Base Class



binkster
Jan 12 2007, 02:19
Im trying to change values for addons. In ofp you would use this base class config........example from oFP what do you use in ArmA!!!!!!!!!!!!!!!!!!!!

//Vehicles.
class AllVehicles:All {};
class Land:AllVehicles {};
class LandVehicle:Land {};
class Tank:LandVehicle {};
class APC:Tank {};
            class BMP:APC {};
class BMP2:BMP {};

class mfcti116eastmobilehq:BMP2
{      side = teast
       armor = 500
};
       this is just an example from ofp but how do i define the class names for armed assault.  I notice it might use tracked...

raedor
Jan 12 2007, 02:25
In ArmA you only have to load the class you need:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class BMP2;
class mfcti116eastmobilehq&#58;BMP2
{ side = teast
armor = 500
};[/QUOTE]

Here&#39;s a list of all available classes (http://community.bistudio.com/wiki/Category:ArmA_Classes). http://forums.bistudio.com/oldsmileys/wink_o.gif

binkster
Jan 12 2007, 04:02
Thanks that worked. That is alot easier than ofp.......