Jump to content
Sign in to follow this  
Machlath

Please correct my simple code

Recommended Posts

I wanted to change the missions params for my official combat patrol missions but ingame in the parameter section where the number should be it is just empty and after i died it shows unlimited respawns. I just wanna set the tickets to 100 and change the objective etc. (NO WORKSHOP OR CREATED MAPS)

Someone told me for official missions i can change them in the server.cfg and following this example it should work but maybe i forgot something or i'm just to stupid to get it right.

 

class Missions

{

class TestMission01

{

template = MP_Marksmen_01.Altis;

difficulty = "veteran";

class Params {};

 

 

That's what i did so far:

 

 

// MISSIONS CYCLE
class Missions {
    class Mission1 {
    template = MP_CombatPatrol_02.Stratis;
    difficulty = "Regular";
    class Params {
    class BIS_CP_tickets
    {
        title = $STR_A3_combatpatrol_params_18;
        values[] = {5, 10, 20, 50, 100};
        texts[] = {"5", "10", "20", "50", "100"};
        default = 100;
        };
    };
    };
    class Mission2 {
    template = MP_CombatPatrol_01.Altis;
    difficulty = "Regular";
    class Params {
    class BIS_CP_tickets
    {
        title = $STR_A3_combatpatrol_params_18;
        values[] = {5, 10, 20, 50, 100};
        texts[] = {"5", "10", "20", "50", "100"};
        default = 100;
        };
    };
    };
};

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  

×