OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: cpt.Hawkeyez on 02 Feb 2004, 01:42:24
-
How do I write a config for a static object that all it does is stand there and do nothing.
/CymPatheeY
-
class CfgPatches
{
class Your_addon
{
units[] = {Your_addon};
weapons[] = {};
requiredVersion = 1.92;
requiredaddons[]={bis_resistance};
};
};
class CfgModels
{
class Default {};
class Yourmodelname : default {};
};
class CfgVehicles
{
class All {};
class Thing: All {};
class Yourclass : Thing
{
displayname = "My addon";
model = "\my_addon\my_addon.p3d";
};
};
could be a start.