Jump to content
Sign in to follow this  
Flightster

Multiplayer parameters?

Recommended Posts

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  

×