Jump to content
Owling

How to force setting from Description.ext to apply instead of mission setting

Recommended Posts

---THREAD CLOSED CHECK LAST REPLY---

 

TLDR: Title

 

Hello script wizard!

 

I found that the settings (respawn especially) in the eden editor/mission file overwritten my custom settings in Description.ext. How do I force the setting in Description.ext to apply over the one in the mission file?

 

Thanks in advance.
 

Spoiler

author = "EDITOR NAME HERE";
OnLoadName = "OPERATION NAME HERE";
onLoadMission = "OPERATION DETAIL HERE";
loadScreen =  "img\LOAD_IMAGE.jpg";
/*-----------------------------------------------------------------------------------------------------------*/
respawn = "BASE";
respawnButton = 1;                             //1 For ZEUS Mission
respawnDelay = 999999;                         //5 For ZEUS Mission
respawnDialog = 1;                             //1 For ZEUS Mission
respawnTemplates[] = {"Spectator"};            //{"Spectator","MenuPosition"} For ZEUS Mission
respawnOnStart = -1;                        //0 For ZEUS Mission
/*-----------------------------------------------------------------------------------------------------------*/
reviveMode = 0;
/*-----------------------------------------------------------------------------------------------------------*/
disabledAI=1;
/*-----------------------------------------------------------------------------------------------------------*/
corpseManagerMode = 1;
corpseLimit = 20;
corpseRemovalMinTime = 300;
corpseRemovalMaxTime = 1500;
wreckManagerMode = 1;
wreckLimit = 5;
wreckRemovalMinTime = 300;
wreckRemovalMaxTime = 1500;
minPlayerDistance = 50;
/*-----------------------------------------------------------------------------------------------------------*/
saving = 0;
/*-----------------------------------------------------------------------------------------------------------*/

#include "CHVD\dialog.hpp"

class Header
{
    gameType =  "COOP";    // COOP / RPG / Zeus / Sandbox
    minPlayers =  1;
    maxPlayers = 10;
};

class CfgDebriefing
{
    class WL
    {
        title = "You're not whitelisted";
        description = "Please contact [Staff] in TeamSpeak";
        //picture = img\whitelist;
    };
};

class CfgFunctions
{
    #include "Script\CHVD\CfgFunctions.hpp"
};

class Params
{
    class Daytime
    {
        title = "Time";
        texts[] = 
            {
            "0100",
            "0200",
            "0300",
            "0400",
            "0500",
            "0600",
            "0700",
            "0800",
            "0900",
            "1000",
            "1100",
            "1200",
            "1300",
            "1400",
            "1500",
            "1600",
            "1700",
            "1800",
            "1900",
            "2000",
            "2100",
            "2200",
            "2300",
            "0000"
            };
        values[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0};
        default = 9;
        function = "BIS_fnc_paramDaytime";
        isGlobal = 0;
    };
};

 

Share this post


Link to post
Share on other sites

The mission file should override editor settings, you will have to provide more info.

Share this post


Link to post
Share on other sites
10 minutes ago, killzone_kid said:

The mission file should override editor settings, you will have to provide more info.

 

Will be providing Description.ext for everyone to look at after work.

 

On top of my head right now the respawn which I really need it to work is as follow:

 

//These are the settings that does not get apply in the mission

//Other settings works fine

respawn = 3;

respawnButton = 1;

respawnDelay = 9999999;

respawnDialog = 0;

respawnOnStart = 0;

respawnTemplates[] = {"Spectator"};

 

DisableAI = 1; //This also not work

 

This editor setting is on Respawn disable which got apply in the mission.

 

Alternatively, if anyone could provide updated script on having player turns into Spectator after dead while not deleting his/her slot, that would works too.

 

Thank you.

 

Share this post


Link to post
Share on other sites
1 hour ago, killzone_kid said:

... you will have to provide more info.

THIS!

Share this post


Link to post
Share on other sites

Update: Add my description.ext for everyone to see at original post

Share this post


Link to post
Share on other sites
20 hours ago, Owling said:

respawn

 

Hello there Owling !

 

I would suggest you to add your description with a new mission and check if it works and if it's ok then ,

if it's your mission to rewrite the mission.sqm , with a new one , since it's ok.

 

Might be in the description anything else , not included in your first post ?

  • Like 1

Share this post


Link to post
Share on other sites

Hello again everyone.

 

My description.ext just works all of the sudden. So this thread is close.

 

If anybody runs into the same problem as mine this is my recommendations:

 

1. Save your mission and exit your editor then load it up again.

2. If 1 does not work, restart your game.

3. If both does not work then restart your PC or Laptop.

 

But of course check your description.ext first for any typo or incorrect param.

 

Finally, to everyone that replied, thank you so much and sorry I kind of waste your time. Also, thank you for all the awesome script you guys posted here.

 

Owling, out.

 

Ps. I'm kind of star struck here with all of you guys I have been keeping an eye out for when finding specific script replies to my thread.

  • Like 1

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

×