Jump to content
Sign in to follow this  
eddyd

Markerlights problem

Recommended Posts

Hey all

Im back working on my addons again ,addons from arma1 to arma2.

Was working on the controll tower and make a pbo .

Start arma2 to the starting screen and say "no entry'bin\config.bin/CfgVehicles/Markerlights.scope'."

I know that the lights not working in game :(

here is my config :

/*
 Control_Tower by eddyd 16.09.07
*/


class CfgPatches
{
   class eddyD_objects
   {
       units[] = 
               {
                        "Control_Tower"
               };
       weapons[] = {};
       requiredVersion = 1.000000;
               version = 0.10;
   };
};

class cfgVehicleClasses
{
        class eddyD_objects
        {
                displayName = "eddyD_object";
        };
};

class CfgVehicles
{

    class All {};
    class Static : all {};
    class Building : Static {};
    class Strategic : Building {};
    class house: Strategic{};

    class Control_Tower: house
    {        
       attendant=1;
       scope=2;
               ladders[] = {{"start","end"},{"start1","end1"}};
               armor=90000;
               mapSize=10;
       vehicleClass="eddyD_objects";
       displayName="Control_Tower";
               model="\Control_Tower\Control_Tower.p3d";
               icon ="\Control_Tower\icon_tower.paa";
               };

class MarkerLights
{
        class Redblinking
        {
              name="svet1";
              color[]={1.000000, 0.100000, 0.100000, 1};
              ambient[]={1.000000, 0.100000, 0.100000, 1};
              brightness=0.00500;
              blinking=0;
              };
        class Whiteblinking
        {
              name="svet2";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00800;
              blinking=0;
              };
        class Whiteblinking2
        {
              name="svet3";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00400;
              blinking=0;
              };
        class Whiteblinking3
        {
              name="svet4";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00400;
              blinking=0;
              };
        class Whiteblinking4
        {
              name="svet5";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00400;
              blinking=0;
              };
        class Whiteblinking5
        {
              name="svet6";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00400;
              blinking=0;
              };
        class Whiteblinking6
        {
              name="svet7";
              color[]={1.000000, 1.000000, 1.000000, 1};
              ambient[]={1.000000, 1.000000, 1.000000, 1};
              brightness=0.00400;
              blinking=0;
              };
    };        
};

hope some one can helping me with this .

cya

eddyD

Edited by Planck

Share this post


Link to post
Share on other sites

Presumably the lights are part of the control tower and should be part of its config definition instead of a seperate definition, as the control tower already has a scope of 2 this will cover the lights also.

/*
Control_Tower by eddyd 16.09.07
*/


class CfgPatches
{
class eddyD_objects
{
units[] =
{
"Control_Tower"
};
weapons[] = {};
requiredVersion = 1.000000;
version = 0.10;
};
};

class cfgVehicleClasses
{
class eddyD_objects
{
displayName = "eddyD_object";
};
};

class CfgVehicles
{
 class House;

 class Control_Tower: House
 {
   attendant=1;
   scope=2;
   ladders[] = {{"start","end"},{"start1","end1"}};
   armor=90000;
   mapSize=10;
   vehicleClass="eddyD_objects";
   displayName="Control_Tower";
   model="\Control_Tower\Control_Tower.p3d";
   icon ="\Control_Tower\icon_tower.paa";

   class MarkerLights
   {
     class Redblinking
     {
       name="svet1";
       color[]={1.000000, 0.100000, 0.100000, 1};
       ambient[]={1.000000, 0.100000, 0.100000, 1};
       brightness=0.00500;
       blinking=0;
     };
     class Whiteblinking
     {
       name="svet2";
       color[]={1.000000, 1.000000, 1.000000, 1};
       ambient[]={1.000000, 1.000000, 1.000000, 1};
       brightness=0.00800;
       blinking=0;
     };
     class Whiteblinking2: Whiteblinking1 
     {
       name="svet3";
       brightness=0.00400;
     };
     class Whiteblinking3: Whiteblinking2
     {
       name="svet4";
     };
     class Whiteblinking4: Whiteblinking2
     {
       name="svet5";
     };
     class Whiteblinking5: Whiteblinking2
     {
       name="svet6";
     };
     class Whiteblinking6: Whiteblinking2
     {
       name="svet7";
     };
   };
 };
};

Hopefully this has helped a little.

Planck

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×