Home   Help Search Login Register  

Author Topic: config problem  (Read 888 times)

0 Members and 1 Guest are viewing this topic.

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
config problem
« on: 20 May 2003, 02:49:35 »
ok i got it woking cool with one tunnel but i cant get other tunnels to show up i hope you can help me!!

thanks

Code: [Select]
// 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 tunnels
   {
   units[] = {
      strtunnel,Rtunnel,Ltunnel,
      utunnel,xtunnel,staapoll,pod
      };
   weapons[] = {};
   requiredVersion = 1.07;

   };

};

class CfgSounds
{
   class empty
   {
      name="empty";
      sound[]={"",0.000000,1.000000};
      titles[]={};
   };
}

class CfgVehicles
{
class All {};
class Static:All {};
class Building:Static {};
class NonStrategic:Building {};
class Fence: NonStrategic {};
class FenceWood:Fence {};
class Strategic:Building {};
class Shed: Strategic {};
class Barracks:Shed {};
class Fortress1:Barracks {};
{
      scope=private;
      armor=100000;
      vehicleClass="Project stargate modT";
      side=TCivilian;
      cost=600;
      accuracy=1000;
   }
   class strtunnel:Fortress1
   {
      scope=private;
      icon="\tunnels\stricon";
      model="\tunnels\strtunnel.p3d";
      displayName="strtunnel";
      simulation="house";
      mapSize = 16
   };
   class Rtunnel:Fortress1
   {
      scope=private;
      icon="\tunnels\Ricon";
      model="\tunnels\Rtunnel.p3d";
      displayName="tunnelR";
      simulation="house";
      mapSize = 16
   };
   class Ltunnel:Fortress1
   {
      scope=private;
      icon="\tunnels\Licon";
      model="\tunnels\Ltunnel.p3d";
      displayName="tunnelL";
      simulation="house";
      mapSize = 16
   };
   class Utunnel:Fortress1
   {
      scope=private;
      icon="\tunnels\Uicon";
      model="\tunnels\Utunnel.p3d";
      displayName="tunnelu";
      simulation="house";
      mapSize = 16
   };
   class staapoll:Fortress1
   {
      scope=private;
      icon="\tunnels\apollicon";
      model="\tunnels\staapoll.p3d";
      displayName="staapoll";
      simulation="house";
      mapSize = 16
   };
   class pod:Fortress1
   {
      scope=private;
      icon="\tunnels\podicon";
      model="\tunnels\pod.p3d";
      displayName="pod";
      simulation="house";
      mapSize = 16
   };
   class xtunnel:Fortress1
   {
      scope=private;
      icon="\tunnels\xtunnelicon";
      model="\tunnels\xtunnel.p3d";
      displayName="xtunnel";
      simulation="house";
      mapSize = 16
              };
        };
  };
« Last Edit: 20 May 2003, 02:51:28 by wizzywig »

rtogugu

  • Guest
Re:config problem
« Reply #1 on: 20 May 2003, 09:09:42 »
Hi wizzywig  :)

scope=private;

You can't access

Change as follows.

scope=public;

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:config problem
« Reply #2 on: 20 May 2003, 13:53:48 »
testing now

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:config problem
« Reply #3 on: 20 May 2003, 14:03:13 »
fixed