Dookie Posted July 4, 2014 Share Posted July 4, 2014 Hi, so Ive consulted wiki before writing this, but still coudnt be sure if im right so I will just ask u here guys, what should i set into set team_maxPanzers "" if I want to panzer gets available when there is atleast 18 players playing, lets say 9v9 per team or such? I want then 1 panzer to get enabled, and I dont want 2nd panzer to ever get enabled just that 1 when 18 players playing and above that. Thx guys. Quote Link to comment Share on other sites More sharing options...
mo_no Posted July 4, 2014 Share Posted July 4, 2014 Try this:Starting from silEnT version 0.5.2, admins can add settings that are executed for specific player amounts. The commands are enclosed in [players low-high] ... [/players] blocks. The low is the lowest amount of players for those settings and high is the maximum amount of players for those settings. For example:[players 0-10]set team_maxPanzers 0[/players] Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 4, 2014 Author Share Posted July 4, 2014 (edited) So i should set it like [players 18-*]set team_maxPanzers 1[/players]? Ive got this currently in my default.cfg, where should I add that line, thx? [players 0-6]set g_excludedMaps ":oasis:goldrush:fueldump:battery:parisbastille_b3:railgun:radar:industry2_final:" [players 7-13]set g_excludedMaps ":oasis:goldrush:fueldump:battery:te_valhalla:parisbastille_b3:railgun:radar:industry2_final:"[players 14-17]set g_excludedMaps ":oasis:goldrush:fueldump:battery:purefrag:fragmaze_fixed:battery:te_valhalla:railgun:radar:goldrush:"[players 18-19]set g_excludedMaps ":oasis:goldrush:battery:fueldump:purefrag:fragmaze_fixed:battery:tc_base:te_valhalla:railgun:radar:" [players 20-*]set g_excludedMaps ":oasis:goldrush:battery:fueldump:purefrag:fragmaze_fixed:battery:tc_base:te_valhalla:railgun:radar:" [/players] Edited July 4, 2014 by Dookie Quote Link to comment Share on other sites More sharing options...
mo_no Posted July 4, 2014 Share Posted July 4, 2014 [players 0-6] set g_excludedMaps ":oasis:goldrush:fueldump:battery:parisbastille_b3:railgun:radar:industry2_final:" [players 7-13] set g_excludedMaps ":oasis:goldrush:fueldump:battery:te_valhalla:parisbastille_b3:railgun:radar:industry2_final:" [players 14-17] set g_excludedMaps ":oasis:goldrush:fueldump:battery:purefrag:fragmaze_fixed:battery:te_valhalla:railgun:radar:goldrush:" [players 18-19] set g_excludedMaps ":oasis:goldrush:battery:fueldump:purefrag:fragmaze_fixed:battery:tc_base:te_valhalla:railgun:radar:" set team_maxPanzers 1 [players 20-*] set g_excludedMaps ":oasis:goldrush:battery:fueldump:purefrag:fragmaze_fixed:battery:tc_base:te_valhalla:railgun:radar:" set team_maxPanzers 1 [/players] Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 4, 2014 Author Share Posted July 4, 2014 And what about server.cfg should I delete from there cvar set team_maxPanzers 0? Thanks Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 5, 2014 Author Share Posted July 5, 2014 (edited) Additional question about this: Example: set team_maxFlamers "10%-" This will limit each team to having only 10% of their players as flamethrowers, and a team will not be able to have any flamethrowers until there are 10 players in the team. They will be able to have their second flamethrower when there are 20 players on the team. Does this mean that team which lets say has 10 players will have panzer enabled, and lets say that other team has only 8 players, then he wont have panzer enabled? Or that 10 is calculation of the both of the teams? Thanks. So as I want to have panzer enabled when atleast 8v8 game I should use set team_maxpanzers "8%-" ?? Edited July 5, 2014 by Dookie Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 6, 2014 Author Share Posted July 6, 2014 Hey guys, whatever i tried to set under set team_maxpanzers 10%, 10%- and so on, panzer gets immideatly enabled even tho only 2 people in teams and 4 bots. I would like to set it only when playing 8vs8 and above. Any ideas how? thanks Quote Link to comment Share on other sites More sharing options...
Dragonji Posted July 6, 2014 Share Posted July 6, 2014 (edited) [players] blocks will not work in this case as they only check the amount of players during intermission afaik. team_maxPanzers is what you should use. Unfortunately cannot help you in making it work as I forgot how to configure it properly Edited July 6, 2014 by Dragonji Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 6, 2014 Author Share Posted July 6, 2014 Yea was using that cvar Dragonji, but as I said coudnt get it to work, it make's panzer always avilable no matter how much players in team...Also pretty hard to understand in the wiki, anyone got some more knowledge of it? Thanks Quote Link to comment Share on other sites More sharing options...
mo_no Posted July 6, 2014 Share Posted July 6, 2014 So as I want to have panzer enabled when atleast 8v8 game I should use set team_maxpanzers "8%-" ?? Actualy no. 8% will enable panzer for team bigger than 13 players. to enable it for team bigger than 8 you will have to set it to 13% (8*13%=1,04) And as Dragonji said - amount of players is checked on map start and it's not updated during game. so settings will be loaded according to amount of players at beginning of map. Yea was using that cvar Dragonji, but as I said coudnt get it to work, it make's panzer always avilable no matter how much players in team...Also pretty hard to understand in the wiki, anyone got some more knowledge of it? Thanks can you show us whats is in your default.cfg and in server config (i'm interested in team_maxpanzers only)? Quote Link to comment Share on other sites More sharing options...
Dookie Posted July 6, 2014 Author Share Posted July 6, 2014 Im totally lost in this, guess im just gonna keep it panzerless Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted July 6, 2014 Management Share Posted July 6, 2014 And as Dragonji said - amount of players is checked on map start and it's not updated during game. so settings will be loaded according to amount of players at beginning of map.The config files are loaded at startup and not during the game. The player counts are updated on every change in teams, so the information of the highest concurrent player amount is available for the next map. It's an admin preference if they want to let the settings change during the map or if they prefer having a consistent setup for the duration of the map. Quote Link to comment Share on other sites More sharing options...
Dookie Posted August 3, 2014 Author Share Posted August 3, 2014 Hello guys, sorry for being such a trouble maker, but can somebody just give me exact line and percetange which I should use if I want 1 panzer to get enabled when teams are 9v9 and +, thank you in advance! Quote Link to comment Share on other sites More sharing options...
Dookie Posted September 3, 2014 Author Share Posted September 3, 2014 Hello there again, can someone help me with numbers, I would like panzer enabled when 7v7+, but I dont know how to make those calculations, thanks! Quote Link to comment Share on other sites More sharing options...
Subscriber BECK Posted September 3, 2014 Subscriber Share Posted September 3, 2014 Well it seems like team_maxPanzers "7%-" is what you want. Not sure why people said that wouldn't work, but reading the vars description, that makes sense to me. That means 1 panzer on your team when you hit 7 players, 2 panzers when 14, etc...etc... Also I ran into this last week. Check this thread: http://mygamingtalk.com/forums/topic/1044-cl-guid-userinfo/ There is a script in the first post (Simple Panzer Check) which uses LUA to change the panzer availability throughout the map based on the number of players. It might be more of what you want, although I have never used the script so I don't know if it works or not, but it looks good Quote Link to comment Share on other sites More sharing options...
Solution mo_no Posted September 3, 2014 Solution Share Posted September 3, 2014 7% of 7 is 0.49 so panzer wont be available.You should set it to 15% (7×15%=1.05) Quote Link to comment Share on other sites More sharing options...
Dookie Posted September 3, 2014 Author Share Posted September 3, 2014 So just set team_maxPanzers 15% or 15%-? Quote Link to comment Share on other sites More sharing options...
Subscriber BECK Posted September 3, 2014 Subscriber Share Posted September 3, 2014 15%- is what you want The "-" (hyphen) just says to round down for fractional calculations. I think that would be required if you truly want them only enabled with 7+ players. Otherwise without the hyphen, you'd still have a panzer available with less than 7 players, then another becomes available at 8 players. I don't think that is what you want, so use the hyphen. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.