Jump to content
Sign in to follow this  
xtesic

help needed on description file

Recommended Posts

want to get the halo jump in my mission, all goes well except when i wanna put the description file into my excisting description file..

here is what i wanna do:

wanna put this:

allowFunctionsLog    = 1;

class CfgFunctions 
{
class COB 
{
	class functions 
	{
		class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"};
	};
};
};

class CfgSounds 
{
sounds[] = {}; 
class flapping 
{
	sound[] = {"COB_HALO\sounds\flapping.ogg", 10, 1};
	titles[] = {};
};
class open_chute 
{
	sound[] = {"COB_HALO\sounds\open_chute.ogg", 10, 1};
	titles[] = {};
};
class para_pilot 
{
	sound[] = {"COB_HALO\sounds\para_pilot.ogg", 10, 1};
	titles[] = {};
};
class close_chute 
{
	sound[] = {"COB_HALO\sounds\close_chute.ogg", 10, 1};
	titles[] = {};
};
};

into this:

Author = "XTESIC";
onLoadName = "Full Metal War";
Respawn = "INSTANT";
RespawnDelay = 5;
DisabledAI = true;
joinUnassigned = false; // auto assign
enableDebugConsole = 1; // Debug Console

class Header
{
gameType=COOP;
minPlayers=1;
maxPlayers=7;
};

//// Respawn Script - Start ////
#include "INS_revive\description.hpp"
//// Respawn Script - End   ////

class Params
{
// Example Parameter
class EmtpyLine0 {
	title = ":: Mission Settings";
	values[]={0,0};
	texts[]={ "",""};
	default = 0;
};
class PARAM_TimeOfDay
{
	title = "    Time of Day";
	values[] = 

{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}

;
	texts[] = 

{"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00

","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:0

0","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:

00"};
	default = 14;
};

//// Respawn Script - Start ////
#include "INS_revive\params.hpp"
//// Respawn Script - End   ////
};

class RscTitles
{
//// Respawn Script - Start ////
#include "INS_revive\rsctitles.hpp"
//// Respawn Script - End   ////
};

class cfgFunctions {
//// Respawn Script - Start ////
#include "INS_revive\cfgfunctions.hpp"
//// Respawn Script - End   ////
};

class CfgSounds {
//// Respawn Script - Start ////
#include "INS_revive\cfgsounds.hpp"
//// Respawn Script - End ////
}

class Extended_PreInit_EventHandlers {
// Replace mission_name with name of your mission
class mission_name { 
	// If has ace mode, enable ace wound system
	serverInit = "ace_sys_wounds_enabled = true; 

publicVariable 'ace_sys_wounds_enabled';";
};
};

this i came up with, doesnt work....

Author = "XTESIC"; 
onLoadName = "Full Metal War"; 
Respawn = "INSTANT"; 
RespawnDelay = 5; 
DisabledAI = true; 
joinUnassigned = false; // auto assign 
enableDebugConsole = 1; // Debug Console 
allowFunctionsLog    = 1; 

class Header 
{ 
   gameType=COOP; 
   minPlayers=1; 
   maxPlayers=7; 
}; 

//// Respawn Script - Start //// 
#include "INS_revive\description.hpp" 
//// Respawn Script - End   //// 

class Params 
{ 
   // Example Parameter 
   class EmtpyLine0 { 
       title = ":: Mission Settings"; 
       values[]={0,0}; 
       texts[]={ "",""}; 
       default = 0; 
   }; 
   class PARAM_TimeOfDay 
   { 
       title = "    Time of Day"; 
       values[] =  

{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23} 

; 
       texts[] =  

{"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00 

","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:0 

0","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23: 

00"}; 
       default = 14; 
   }; 

   //// Respawn Script - Start //// 
   #include "INS_revive\params.hpp" 
   //// Respawn Script - End   //// 
}; 

class RscTitles 
{ 
   //// Respawn Script - Start //// 
   #include "INS_revive\rsctitles.hpp" 
   //// Respawn Script - End   //// 
}; 

class cfgFunctions { 
   //// Respawn Script - Start //// 
   #include "INS_revive\cfgfunctions.hpp" 
   //// Respawn Script - End   //// 
};  
class COB  
{ 
   class functions  
   { 
       class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"}; 
   }; 
};


class CfgSounds { 
   //// Respawn Script - Start //// 
   #include "INS_revive\cfgsounds.hpp" 
   //// Respawn Script - End //// 
};  
class flapping  
   { 
       sound[] = {"COB_HALO\sounds\flapping.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class open_chute  
   { 
       sound[] = {"COB_HALO\sounds\open_chute.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class para_pilot  
   { 
       sound[] = {"COB_HALO\sounds\para_pilot.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class close_chute  
   { 
       sound[] = {"COB_HALO\sounds\close_chute.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
}; 

class Extended_PreInit_EventHandlers { 
   // Replace mission_name with name of your mission 
   class mission_name {  
       // If has ace mode, enable ace wound system 
       serverInit = "ace_sys_wounds_enabled = true;  

publicVariable 'ace_sys_wounds_enabled';"; 
   }; 
};  

Edited by xtesic

Share this post


Link to post
Share on other sites

Hi,

Look, there is an error at the Class "CfgFunctions"

class cfgFunctions {

//// Respawn Script - Start ////

#include "INS_revive\cfgfunctions.hpp"

//// Respawn Script - End ////

};

{

class COB

{

class functions

{

class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"};

};

};

}

; Edited by TittErS

Share this post


Link to post
Share on other sites

i know about the error, but i dont know how to fix it, its not my description, its from INS revive and now i want that halo inthere.

its a description.ext file,

this is what ive tried, kept getting error: line 93,32,25,...encountered { instead of =

now i get error:line 36: config : end of line encountered after 07:00 Ienamespace getvariable ['IGUI_TEXT_RGB_A',0,8*)

this is what i have now:

Author = "XTESIC"; 
onLoadName = "Full Metal War"; 
Respawn = "INSTANT"; 
RespawnDelay = 5; 
DisabledAI = true; 
joinUnassigned = false; // auto assign 
enableDebugConsole = 1; // Debug Console 
allowFunctionsLog    = 1; 

class Header 
{ 
   gameType=COOP; 
   minPlayers=1; 
   maxPlayers=7; 
}; 

//// Respawn Script - Start //// 
#include "INS_revive\description.hpp" 
//// Respawn Script - End   //// 

class Params 
{ 
   // Example Parameter 
   class EmtpyLine0 { 
       title = ":: Mission Settings"; 
       values[]={0,0}; 
       texts[]={ "",""}; 
       default = 0; 
   }; 
   class PARAM_TimeOfDay 
   { 
       title = "    Time of Day"; 
       values[] =  

{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23} 

; 
       texts[] =  

{"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00 

","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:0 

0","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23: 

00"}; 
       default = 14; 
   }; 

   //// Respawn Script - Start //// 
   #include "INS_revive\params.hpp" 
   //// Respawn Script - End   //// 
}; 

class RscTitles 
{ 
   //// Respawn Script - Start //// 
   #include "INS_revive\rsctitles.hpp" 
   //// Respawn Script - End   //// 
}; 

class cfgFunctions { 
   //// Respawn Script - Start //// 
   #include "INS_revive\cfgfunctions.hpp" 
   //// Respawn Script - End   //// 
};  
class COB  
{ 
   class functions  
   { 
       class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"}; 
   }; 
};


class CfgSounds { 
   //// Respawn Script - Start //// 
   #include "INS_revive\cfgsounds.hpp" 
   //// Respawn Script - End //// 
};  
class flapping  
   { 
       sound[] = {"COB_HALO\sounds\flapping.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class open_chute  
   { 
       sound[] = {"COB_HALO\sounds\open_chute.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class para_pilot  
   { 
       sound[] = {"COB_HALO\sounds\para_pilot.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
   class close_chute  
   { 
       sound[] = {"COB_HALO\sounds\close_chute.ogg", 10, 1}; 
       titles[] = {}; 
   }; 
}; 

class Extended_PreInit_EventHandlers { 
   // Replace mission_name with name of your mission 
   class mission_name {  
       // If has ace mode, enable ace wound system 
       serverInit = "ace_sys_wounds_enabled = true;  

publicVariable 'ace_sys_wounds_enabled';"; 
   }; 
};  

Edited by xtesic

Share this post


Link to post
Share on other sites
Author = "XTESIC";
onLoadName = "Full Metal War";
Respawn = "INSTANT";
RespawnDelay = 5;
DisabledAI = true;
joinUnassigned = false; // auto assign
enableDebugConsole = 1; // Debug Console
allowFunctionsLog	= 1; // Functions Log

class Header
{
   gameType=COOP;
   minPlayers=1;
   maxPlayers=7;
};

//// Respawn Script - Start ////
#include "INS_revive\description.hpp"
//// Respawn Script - End   ////

class Params
{
   // Example Parameter
   class EmtpyLine0 {
       title = ":: Mission Settings";
       values[]={0,0};
       texts[]={ "",""};
       default = 0;
   };
   class PARAM_TimeOfDay
   {
       title = "    Time of Day";
       values[] = 

{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}

;
       texts[] = 

{"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00

","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:0

0","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:

00"};
       default = 14;
   };

   //// Respawn Script - Start ////
   #include "INS_revive\params.hpp"
   //// Respawn Script - End   ////
};

class RscTitles
{
   //// Respawn Script - Start ////
   #include "INS_revive\rsctitles.hpp"
   //// Respawn Script - End   ////
};

class cfgFunctions {
   //// Respawn Script - Start ////
   #include "INS_revive\cfgfunctions.hpp"
   //// Respawn Script - End   ////
class COB 
   {
       class functions 
       {
           class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"};
       };
   };
};

class CfgSounds {
   //// Respawn Script - Start ////
   #include "INS_revive\cfgsounds.hpp"
   //// Respawn Script - End ////
sounds[] = {}; 
   class flapping 
   {
       sound[] = {"COB_HALO\sounds\flapping.ogg", 10, 1};
       titles[] = {};
   };
   class open_chute 
   {
       sound[] = {"COB_HALO\sounds\open_chute.ogg", 10, 1};
       titles[] = {};
   };
   class para_pilot 
   {
       sound[] = {"COB_HALO\sounds\para_pilot.ogg", 10, 1};
       titles[] = {};
   };
   class close_chute 
   {
       sound[] = {"COB_HALO\sounds\close_chute.ogg", 10, 1};
       titles[] = {};
   };
}

class Extended_PreInit_EventHandlers {
   // Replace mission_name with name of your mission
   class mission_name { 
       // If has ace mode, enable ace wound system
       serverInit = "ace_sys_wounds_enabled = true; 

publicVariable 'ace_sys_wounds_enabled';";
   };
};

Share this post


Link to post
Share on other sites

nope still getting errors:

description line 70: cfgsounds member alrdy defined

error message is shorter now, maybe almost there?

Edited by xtesic

Share this post


Link to post
Share on other sites
Author = "XTESIC";
onLoadName = "Full Metal War";
Respawn = "INSTANT";
RespawnDelay = 5;
DisabledAI = true;
joinUnassigned = false; // auto assign
enableDebugConsole = 1; // Debug Console
allowFunctionsLog	= 1; // Functions Log

class Header
{
   gameType=COOP;
   minPlayers=1;
   maxPlayers=7;
};

//// Respawn Script - Start ////
#include "INS_revive\description.hpp"
//// Respawn Script - End   ////

class Params
{
   // Example Parameter
   class EmtpyLine0 {
       title = ":: Mission Settings";
       values[]={0,0};
       texts[]={ "",""};
       default = 0;
   };
   class PARAM_TimeOfDay
   {
       title = "    Time of Day";
       values[] = 

{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}

;
       texts[] = 

{"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00

","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:0

0","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:

00"};
       default = 14;
   };

   //// Respawn Script - Start ////
   #include "INS_revive\params.hpp"
   //// Respawn Script - End   ////
};

class RscTitles
{
   //// Respawn Script - Start ////
   #include "INS_revive\rsctitles.hpp"
   //// Respawn Script - End   ////
};

class cfgFunctions {
   //// Respawn Script - Start ////
   #include "INS_revive\cfgfunctions.hpp"
   //// Respawn Script - End   ////
class COB 
   {
       class functions 
       {
           class paradrop {file = "COB_HALO\functions\fn_paradrop.sqf"};
       };
   };
};

class CfgSounds {
   //// Respawn Script - Start ////
   #include "INS_revive\cfgsounds.hpp"
   //// Respawn Script - End ////
   class flapping 
   {
       sound[] = {"COB_HALO\sounds\flapping.ogg", 10, 1};
       titles[] = {};
   };
   class open_chute 
   {
       sound[] = {"COB_HALO\sounds\open_chute.ogg", 10, 1};
       titles[] = {};
   };
   class para_pilot 
   {
       sound[] = {"COB_HALO\sounds\para_pilot.ogg", 10, 1};
       titles[] = {};
   };
   class close_chute 
   {
       sound[] = {"COB_HALO\sounds\close_chute.ogg", 10, 1};
       titles[] = {};
   };
}

class Extended_PreInit_EventHandlers {
   // Replace mission_name with name of your mission
   class mission_name { 
       // If has ace mode, enable ace wound system
       serverInit = "ace_sys_wounds_enabled = true; 

publicVariable 'ace_sys_wounds_enabled';";
   };
};

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  

×