b_ringer25 0 Posted November 7, 2005 I would like to have 5 names instead of the 1 I have but everything I have tried has not worked.  Help.  If someone can show me. This is my config #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 #define private 0 #define protected 1 #define public 2 #define WeaponNoSlot    0 // dummy weapons #define WeaponSlotPrimary    1 // primary weapons #define WeaponSlotSecondary  16 // secondary weapons #define WeaponSlotItem    256 // items #define WeaponSlotBinocular  4096 // binocular #define WeaponHardMounted  65536 class CfgPatches {  class Iraq  {    units[] = {};    weapons[] = {};    worlds[] = {"Iraq"};    requiredVersion = 1.30;  }; }; class CfgVehicles{}; class CfgSurfaces {  class Default {}; }; class CfgEnvSounds {}; class CfgWorlds {  class DefaultWorld {};  class  Iraq: DefaultWorld  {    access=3;    description="Iraq";    icon="\Iraq\Iraq.jpg";    worldName="\Iraq\Iraq.wrp";    plateFormat="ML$ - #####";    plateLetters="ABCDEGHIKLMNOPRSTVXZ";    startTime="7:30";    startDate="10/4/82";    startWeather=0.400000;    startFog=0.000000;    forecastWeather=0.400000;    forecastFog=0.000000;    seagullPos[]={8897,4349,100};    ilsPosition[]={0,0,0};    ilsDirection[]={0,0.080000,1};    ilsTaxiIn[]={};    ilsTaxiOff[]={};    centerPosition[]={9735,3964,0};    class Sounds    {     sounds[]={};    };    class Animation    {     vehicles[]={};    };    class Names    {     class Alas     {        name="Breaching Area";       position[]={6205,2080,50};     };    };  }; }; class CfgWorldList {  class  Iraq{}; }; Share this post Link to post Share on other sites
Planck 1 Posted November 7, 2005 You just need to add each different name individually under class Names.......thus: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Names { class Name1 { name="Name One"; position[]={x,y,z}; }; class Name2 { name="Name Two"; position[]={x,y,z}; }; class Name3 { name="Name Three"; position[]={x,y,z}; }; etc etc etc } Planck Share this post Link to post Share on other sites
b_ringer25 0 Posted November 7, 2005 didn't help. this is what it looks like currently #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 #define private 0 #define protected 1 #define public 2 #define WeaponNoSlot 0 // dummy weapons #define WeaponSlotPrimary 1 // primary weapons #define WeaponSlotSecondary 16 // secondary weapons #define WeaponSlotItem 256 // items #define WeaponSlotBinocular 4096 // binocular #define WeaponHardMounted 65536 class CfgPatches { class Iraq { units[] = {}; weapons[] = {}; worlds[] = {"Iraq"}; requiredVersion = 1.30; }; }; class CfgVehicles{}; class CfgSurfaces { class Default {}; }; class CfgEnvSounds {}; class CfgWorlds { class DefaultWorld {}; class Iraq: DefaultWorld { access=3; description="Iraq"; icon="\Iraq\Iraq.jpg"; worldName="\Iraq\Iraq.wrp"; plateFormat="ML$ - #####"; plateLetters="ABCDEGHIKLMNOPRSTVXZ"; startTime="7:30"; startDate="10/4/82"; startWeather=0.400000; startFog=0.000000; forecastWeather=0.400000; forecastFog=0.000000; seagullPos[]={8897,4349,100}; ilsPosition[]={0,0,0}; ilsDirection[]={0,0.080000,1}; ilsTaxiIn[]={}; ilsTaxiOff[]={}; centerPosition[]={9735,3964,0}; class Sounds { sounds[]={}; }; class Animation { vehicles[]={}; }; class Names { class Breaching Area { name="Breaching Area"; position[]={6205,2080,50}; }; class Name2 { name="Iraq"; position[]={6400,6400,50}; }; class Name3 { name="Saudi Arabia"; position[]={6400,1125,50}; }; }; }; }; class CfgWorldList { class Iraq{}; }; Share this post Link to post Share on other sites
Planck 1 Posted November 7, 2005 AFAIK you cannot have spaces in classnames. So.... class Breaching Head ............will not work Try.... class Breaching_Head ..........instead. Planck Share this post Link to post Share on other sites