Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Static Object Config  (Read 1304 times)

0 Members and 1 Guest are viewing this topic.

cpt.Hawkeyez

  • Guest
Static Object Config
« 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

Rastavovich

  • Guest
Re:Static Object Config
« Reply #1 on: 03 Feb 2004, 00:06:17 »
Code: [Select]
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.