SRCDS Steam group


VoteMap Problem
#1
I'm running the Mani Mod with CSSDM and Mattie Event Script installed and whenever it gets to the specified number of kills before a map change and the vote map list comes up, there is an option titled "extend by 20 minutes". My problem is that I can't extend the map 20 minutes because there is no time limit. How do I replace this option with "extend by 40 kills" or delete it?

Thanks

Reply
#2
(1) not possible.

(2) read the mani config file and adjust it.
[Image: banner.gif]

Reply
#3
ok I'll write something really simple here. I don't even know whether it's going to work or not but I'm pretty sure some of the expert modders will help you on mattie's website.

Create a config file named player_score.cfg in events folder (cstrike\cfg\events\)

Create a config file named fragextend.cfg in cfg folder (cstrike\cfg\)

Add below line into fragextend.cfg

Code:
mp_fraglimit 80

Add below line into player_score.cfg

Code:
if (event_var(kills) equalto 40) then exec fragextend.cfg

matties eventscript should detect when a player's kill reaches 40 and execute fragextend.cfg which would change current mp_fraglimit 40 to mp_fraglimit 80. I mean this is the gist of the idea that can be further developed into a complex mapvote frag extend script.
Reply
#4
That might do it, but sometimes cvars like that don't take effect until after a map change or server restart.
Reply
#5
kimball Wrote:That might do it, but sometimes cvars like that don't take effect until after a map change or server restart.

hmm... how about just using ma_rcon or es_rcon mp_fraglimit 80 after "then"?
Reply
#6
how bout you set in mani that when they choose extend 20 minutes it gets 20 more rounds. It's an option in Mani...
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#7
Drocona Wrote:how bout you set in mani that when they choose extend 20 minutes it gets 20 more rounds. It's an option in Mani...

doesn't work with cssdm
Reply
#8
eXaXXion Wrote:
Drocona Wrote:how bout you set in mani that when they choose extend 20 minutes it gets 20 more rounds. It's an option in Mani...

doesn't work with cssdm

Sorry I read it too fast, was thinking of something else ^^
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)