• Announcements

    • Jervant

      Bohemia Store Steam Redeem   06/24/17

      We started experiencing problems with the Steam redeem from our Store on Friday June 23rd.   For anyone that got affected by this, please go to your store account, after you select the product you purchased, you should see your steam key with a link to a how to article to activate it manually through Steam.   We apologize for the inconvenience.
Sign in to follow this  
Followers 0
Flightster

Multiplayer parameters?

3 posts in this topic

Hi guys,

I was wondering if anyone could share their knowledge of multiplayer parameters with me? The reason I ask this is because I'm interested in updating my aas maps (made with coolbox's templates) for the clanbase rules.. I can make sense of the round duration parameters, and the time of day, but there are just too many things you're able to do for me to fully understand :D

Thanks in advance

Flightster

Share this post


Link to post
Share on other sites

in the desctiption.ext

class Params{

[indent]class someClassName {
[indent]title= "string"; 
texts[]= {"string1","string2","string3"};
values[]= {1,2,3}; 
default= 1; [/indent]


}; 
class someDifferentClassName
{


[indent]title= "string";
texts[]= {"Yes","No"};
values[]= {1,0};
default=1;[/indent]


};[/indent]

};

Each parameter has its own class with its settings in the class Params. In the mission you can access the set values over the array paramsArray. The first value in this array (paramsArray select 0) is the one from the first Params subclass, the second (paramsArray select 1) is from the second one, and so on. If you need more parameters when just add another subclass and adjust it.

Edited by dengibtsschon

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  
Followers 0