Posts: 55
Threads: 20
Joined: May 2006
Reputation:
0
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
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
07-04-2006, 12:18 PM
(This post was last modified: 07-04-2006, 12:18 PM by Hollanda.)
(1) not possible.
(2) read the mani config file and adjust it.
Posts: 153
Threads: 1
Joined: Jun 2006
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
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.
Posts: 88
Threads: 7
Joined: Jul 2006
Reputation:
0
That might do it, but sometimes cvars like that don't take effect until after a map change or server restart.
Posts: 153
Threads: 1
Joined: Jun 2006
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"?
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
how bout you set in mani that when they choose extend 20 minutes it gets 20 more rounds. It's an option in Mani...
Posts: 153
Threads: 1
Joined: Jun 2006
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