Home   Help Search Login Register  

Author Topic: some input after EndOfile  (Read 907 times)

0 Members and 1 Guest are viewing this topic.

Offline oyman

  • Members
  • *
  • king of pings
some input after EndOfile
« on: 08 Dec 2003, 05:24:33 »
i get that error message  when trying to start up ofpOYMAN_tankdead\config.cpp some input after EndOfFile and is annoying
see if u guys can spot anything wrong with the config
Code: [Select]
class CfgPatches
{
   class OYMAN_tank2dead
   {
      units[] = {OYMAN_tank2dead};
      weapons[] = {};
      requiredVersion = 1.30;
   };
};
   class OYMAN_tank2dead2
   {
      units[] = {OYMAN_tank2dead2};
      weapons[] = {};
      requiredVersion = 1.30;
   };
};
   class OYMAN_tank2dead3
   {
      units[] = {OYMAN_tank2dead3};
      weapons[] = {};
      requiredVersion = 1.30;
   };
};
class CfgVehicles
{
   class All {};
   class Static: All {};
   class Building: Static {};
   class NonStrategic: Building {};
   class TargetTraining: NonStrategic {};
   class TargetGrenade: TargetTraining {};
   class OYMAN_tank2dead: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead";
   };
};
   class OYMAN_tank2dead2: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead2";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead2";
   };
};
   class OYMAN_tank2dead3: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead3";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead3";
   };
};
i also looked around if this was already posted and it was, but i tried what it said but i still get the error.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:some input after EndOfile
« Reply #1 on: 24 Dec 2003, 02:44:16 »
you have too many closing brackets, try this:


class CfgPatches
{
   class OYMAN_tank2dead
   {
      units[] = {OYMAN_tank2dead};
      weapons[] = {};
      requiredVersion = 1.30;
   };

   class OYMAN_tank2dead2
   {
      units[] = {OYMAN_tank2dead2};
      weapons[] = {};
      requiredVersion = 1.30;
   };

   class OYMAN_tank2dead3
   {
      units[] = {OYMAN_tank2dead3};
      weapons[] = {};
      requiredVersion = 1.30;
   };
};

class CfgVehicles
{
   class All {};
   class Static: All {};
   class Building: Static {};
   class NonStrategic: Building {};
   class TargetTraining: NonStrategic {};
   class TargetGrenade: TargetTraining {};
   class OYMAN_tank2dead: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead";
   };

   class OYMAN_tank2dead2: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead2";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead2";
   };

   class OYMAN_tank2dead3: TargetGrenade
   {
      model="\OYMAN_tankdead\OYMAN_tank2dead3";
      armor=7500;
      scope=2;
      displayName="OYMAN_tank2dead3";
   };
};



Planck
I know a little about a lot, and a lot about a little.

Offline scud

  • Members
  • *
Re:some input after EndOfile
« Reply #2 on: 27 Dec 2003, 01:51:53 »
basically for every {
you need a };
Those that know - say nothing. Those that know nothing - tell all.