Jump to content
Sign in to follow this  
darkxess

Some help on my description.ext

Recommended Posts

Hey, ive got a small problem, sorry but not an expert in scripts just yet! :cool:

Im trying to add the below to my description.ext, here is what ive got:

class Header

{

gameType = Coop;

minPlayers = 1;

maxPlayers = 8;

};

respawn = "BASE";

respawndelay = 1;

disabledAI = 0;

#include "revive_sqf\dialogs\config.cpp"

#include "revive_sqf\dialogs\define.hpp"

#include "revive_sqf\dialogs\rev_cam_dialog.hpp"

#include "revive_sqf\dialogs\respawn_button_3.hpp"

#include "revive_sqf\dialogs\respawn_button_3b.hpp"

#include "revive_sqf\dialogs\respawn_button_3map.hpp"

#include "revive_sqf\dialogs\respawn_button_1.hpp"

#include "revive_sqf\dialogs\respawn_button_2.hpp"

#include "revive_sqf\dialogs\respawn_button_4.hpp"

#include "revive_sqf\dialogs\respawn_button_1b.hpp"

#include "revive_sqf\dialogs\respawn_button_1c.hpp"

#include "revive_sqf\dialogs\respawn_button_2b.hpp"

#include "revive_sqf\dialogs\respawn_button_4b.hpp"

#include "revive_sqf\dialogs\respawn_button_1map.hpp"

#include "revive_sqf\dialogs\respawn_button_2map.hpp"

#include "revive_sqf\dialogs\respawn_button_4map.hpp"

#include "revive_sqf\dialogs\OK_map.hpp"

#include "revive_sqf\dialogs\dead_cam_dialog.hpp"

class Params

{

class Revive

{

// paramsArray[0]

title = "Number of Revives:";

values[] = {3,2,1};

texts[] = {"3 Lives","2 Lives","1 Live"};

default = 3;

};

};

And im trying to add this:

//disabledAI=1;

respawn="BASE";

respawndelay=4;

#include "scripts\IEDdetect\IEDdetect_dialog.h"

class CfgSounds

{

#include "scripts\IEDdetect\IEDdetect_sounds.cpp"

};

class RscTitles

{

#include "scripts\IEDdetect\IEDdetect_screens.cpp"

};

/*

copy the #include lines into your description.ext file

NOTE: if your description.ext does not have the CfgSounds and RscTitles classes, create them

just as they are in this file

*/

But its keep crashing the game on how im doing it! im not sure why, ive added other things in other descriptions.ext before and not had problems! but this keeps crashing the game, any help please?

Thanks

Share this post


Link to post
Share on other sites

try this

#include "scripts\IEDdetect\IEDdetect_dialog.hpp"

Share this post


Link to post
Share on other sites
try this

#include "scripts\IEDdetect\IEDdetect_dialog.hpp"

Its sopposed to be .h not .hpp :p

I even just tried it like you said and crashed saying that etc.hpp not found!

So its not that. Im just wanting to combine the 2 parts above together without

having an error or crashing.

Share this post


Link to post
Share on other sites

:D:D:D

i thought you forget PP and you didn't see it :)

put in ini.sqf, i have hpp on ini other in description.ext.

Share this post


Link to post
Share on other sites
:D:D:D

i thought you forget PP and you didn't see it :)

put in ini.sqf, i have hpp on ini other in description.ext.

Nope! that didnt work either :(

Share this post


Link to post
Share on other sites

Hi,

There appears to be a duplication of entries, that might well cause a conflict. The list of entries above has respawndelay = 1; included and the text you are trying to add has respawndelay = 4;. Removing one of them might help.

Regards,

Sander

Share this post


Link to post
Share on other sites

I tried that one already mate! its something I thought but not that. Adding them both together is annoying! lol its just error after error of trying.

Share this post


Link to post
Share on other sites

Add stuff one by one and see where/when the error shows up, should help narrow it down.

Share this post


Link to post
Share on other sites

You problem lies within config.cpp. I'm always having to modify and take out conflicting dialogs.

The error message will tell you if it is an RscPicture or RscText problem. Post the RPT error, or send it to me in PM and Ill sort it for you......I'm pretty expert now.

Share this post


Link to post
Share on other sites
You problem lies within config.cpp. I'm always having to modify and take out conflicting dialogs.

The error message will tell you if it is an RscPicture or RscText problem. Post the RPT error, or send it to me in PM and Ill sort it for you......I'm pretty expert now.

Sent you a PM with my mission! thanks mate. :)

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  

×