武装突袭 Wiki
Advertisement


Easter Egg Model

the following config.cpp will gain you access to the Xmas Tree inside the Mission Editor.

Note: this is for OFP only.

// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

class CfgPatches
{
  class YOURSIG_xmastree
  {
   units[] = {xmastree};
   weapons[] = {};
   requiredVersion = 1.07;
  };
};
class CfgVehicles
{
 class All {};
 class AllVehicles: All {};
 class Land: AllVehicles {};
 class Static : Land {};
 class xmastree: Static
 {
 scope=public;
 hideUnitInfo=1;
 cost=0;
 vehicleClass="Support";
 setdammage= 0;
 mapSize=1;
 displayName="Christmas Tree";
 model=pa_sx; // <<<<<<<<<<<<<<<<<<
 };
};
Advertisement