SRCDS Steam group


DM Mod
#1
I just installed the deathmatch mod but i noticed that when the map time is up and it has to switch map from the mapcycle.txt it never changes because the dm rounds never end. How can i change this so it ends the round automatically and switches map?

Thanks
Reply
#2
Assassin_slay18 Wrote:I just installed the deathmatch mod but i noticed that when the map time is up and it has to switch map from the mapcycle.txt it never changes because the dm rounds never end. How can i change this so it ends the round automatically and switches map?

Thanks

Try mp_timelimit 20 (or whatever time limit you want).

This should change maps every <mp_timelimit> value.
Reply
#3
I have that in my server.cfg but it still doesn't switch map.
Reply
#4
Assassin_slay18 Wrote:I have that in my server.cfg but it still doesn't switch map.

There seems to be. well maybe not a bug, but in CSSBig GrinM - mp_timelimit doesn't work (just read up on it).

There seems to be 3 fixes for this:

  1. Use a command like mp_fraglimit xx
  2. Use Mattie Eventscripts in conjunction with Mani Admin and run the following commands:

    es_delayed 1195 cssdm_disable
    es_delayed 1195 ma_freeze #all
    es_delayed 1195 ma_cexec #all togglescores
    es_delayed 1200 ma_skipmap

    es_delayed works in seconds, 1200 seconds = 20 minute timelimit.

    (not sure cexec even works anymore - you could use the es equivilent: es_xcexec_all - check Mattie Eventscripts manual for details)
  3. Use BAILOPANS Stripper mod to strip the entities which cause a round end (hostages and bombs) so that mp_timelimit would then work.

This is all taken from a thread over HERE.
Reply
#5
Hey thanks. I just downloaded the stripper mod but i dont understand the code. What do i gotta write in the cfg so i can make the time limit work?

Heres whats written by default....

;;EXAMPLE - remove all physics props
;remove:
;{
;"classname" "/prop_physics.*/"
;}

;;EXAMPLE - replace all garbage cans with a hostage
;modify:
;{
; match:
; {
; "model" "models/props_junk/garbage_metalcan002a.mdl"
; "classname" "prop_physics_multiplayer"
; }
; replace:
; {
; "classname" "hostage_entity"
; }
; delete:
; {
; "model" "models/props_junk/garbage_metalcan002a.mdl"
; }
; insert:
; {
; "scale" "0.99"
; }
;}
Reply
#6
It's explained in the first post:

http://forums.alliedmods.net/showthread.php?t=39440

Quote:To do it now, simply install it and add this to global_filters.cfg:

Code:
filter:
{
"classname" "/.*bomb.*/"
}
{
"classname" "/.*hostage.*/"
}

Unless the structure of the plugin has been altered in latter updates.
Reply
#7
Thanks finally working great! Only thing is now when server changes map it doesnt show the scoreboard even if i set chattime to a # of seconds.
Reply
#8
Assassin_slay18 Wrote:Thanks finally working great! Only thing is now when server changes map it doesnt show the scoreboard even if i set chattime to a # of seconds.

Sorry, i may of made a typo - try something along the lines of:

es_delayed 1195 es_cexec_all togglescores

If that doesn't work, you could try:

es_delayed 1195 es_sexec_all togglescores
Reply
#9
I add that in the server.cfg?
Reply
#10
Assassin_slay18 Wrote:I add that in the server.cfg?

Honestly, not too sure :p Could only assume so, would make sense.
Reply
#11
Nope still no luck...
Reply
#12
Assassin_slay18 Wrote:Nope still no luck...

It may actually involve turning this into an es script (which i have little experience).

A guess would be..

Code:
event es_map_start
{
  es_delayed 1195 cssdm_disable
  es_delayed 1195 ma_freeze #all
  es_delayed 1195 es_cexec_all togglescores
  es_delayed 1200 ma_skipmap
}

addons/eventscripts/cssdm_mapend/es_cssdm_mapend.txt

No guarantee this will work though.
Reply
#13
Hey i just noticed this in my cssdm config.

;Mapchange stuff, for stripper users
auto_mapchange = 1
mapchange_file = mapcycle.txt

I just put it on but same thing happens. Maybe is there something i have to enter in the cssdm cfg?

BTW the scrips don't work.

Thanks for helping though
Reply
#14
Yeah, just had a look myself.

THIS IS FOR CSSDM 2.0.0 Beta 4 - REQUIRES SOURCEMOD

Code:
// Sets whether CS:S DM should force mapchanges.
// This is useful for Stripper:Source users.
// --
// Requires: dm_basics.smx
// Default: "0"
cssdm_force_mapchanges "1"

// Sets the mapchange file CS:S DM should use.
// This is only needed for cssdm_force_mapchanges.
// --
// Requres: dm_basics.smx
// Default: "mapcycle.txt"
cssdm_mapchange_file "mapcycle.txt"

Says it needs dm_basics.smx but i don't see it in the cssdm files or stripper source files.

Try those settings above and see what happens (also make sure everything include your mattie es and cssdm files are all the latest if they're not).

CSSDM 2.0.0 Beta 4
Reply
#15
I really appreciate you trying to help but im really nooby right now and i don't understand what i gotta do sorry.

*EDIT: Yeah and forgot to say i just installed the eventscript thing.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)