lukemax 0 Posted January 5, 2005 Hi all I have a problem with my config file: It loads up the map fine in misson editor but when i put a unit out and press preview it says it cannot load the .world file! The WRP is NOGDE.wrp class CfgWorldList { class NOGD {}; }; class CfgPatches { class NOGD { units[] = {}; weapons[] = {}; worlds[] = {NOGD}; requiredVersion = 1.85; }; }; class CfgWorlds { class DefaultWorld {}; class Intro : DefaultWorld {}; class NOGD : Intro { access = 3; description = "Nogova 2100"; icon = "\NOGD\_DOA.paa"; worldName = "\NOGD\NOGDE.wrp"; cutscenes[] = {"..\addons\DOA_anims\intro"}; class NOGOVA2100 {}; class Names { class Wasteland_City { name="Wasteland_City"; position[]={10810,3085,600}; }; class Pretoria { name="Pretoria"; position[]={3923,5188,100}; }; }; }; Share this post Link to post Share on other sites
Planck 1 Posted January 5, 2005 Try this one: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> // NOGD #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 class CfgWorldList { class NOGDE{}; }; class CfgPatches { class NOGD { units[] = {}; weapons[] = {}; worlds[] = {"NOGDE"}; requiredVersion = 1.85; }; }; class CfgVehicles{}; class CfgSurfaces { class Default {}; }; class CfgEnvSounds {}; class CfgWorlds { class DefaultWorld {}; class NOGDE: DefaultWorld { access=3; description="Nogova 2100"; icon="\NOGD\_DOA.paa"; worldName="\NOGD\NOGDE.wrp"; cutscenes[] = {"..\addons\DOA_anims\intro"}; class NOGOVA2100 {}; class Sounds { sounds[]={}; }; class Animation { vehicles[]={}; }; class Names { class Wasteland_City { name="Wasteland_City"; position[]={10810,3085,600}; }; class Pretoria { name="Pretoria"; position[]={3923,5188,100}; }; }; }; }; Planck Share this post Link to post Share on other sites