Jump to content

mapvotecycle


=EMP=Avery13

Recommended Posts

Ok, so I am trying to convert from a typical objectivecycle that our clan has used for ever, and switch it to mapvotecycle. I've never edited it to that. I think I will get it setup, and then bam, it's back to the default objectivecycle for whatever reason...

 

Here is what I have:

 

In silent.cfg

 


//Map Voting//
set g_mapVoteFlags 29
set g_maxMapsVotedFor 21
set g_minMapAge 3
set g_resetXPMapCount 0
set g_excludedMaps ""

 

pb_sv_enable
exec settings.cfg
exec pbmd5.cfg
exec pbcvar.cfg
//exec campaigncycle.cfg
exec january.cfg
//set com_watchdog 60
//set com_watchdog_cmd "exec campaigncycle.cfg"
set com_watchdog_cmd "exec objectivecycle.cfg"

 

I have a feeling the error is somewhere in there...

Currently, I have the january.cfg as my map rotation list, and I edited the files in there.

This is what the january.cfg looks like:

 

set d1 "set g_gametype 6 ; map am_hydro_dam ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d2
set d2 "set g_gametype 6 ; map breakout_360 ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d3"
set d3 "set g_gametype 6 ; map caen_4 ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d4"
set d4 "set g_gametype 6 ; map et_ice ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d5"
set d5 "set g_gametype 6 ; map ET_Tower_b27j ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d7"
set d6 "set g_gametype 6 ; map goldrush-ga ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d7"
set d7 "set g_gametype 6 ; map mlb_daybreak ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d8"
set d8 "set g_gametype 6 ; map mlb_temple ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d9"
set d9 "set g_gametype 6 ; map mlb_bin ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d10"
set d10 "set g_gametype 6 ; map saberpeak_final ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d11"
set d11 "set g_gametype 6 ; map snatch3 ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d12"
set d12 "set g_gametype 6 ; map supply_pro ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d13"
set d13 "set g_gametype 6 ; map thief_city ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d4"
set d14 "set g_gametype 6 ; map transmitter ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d15"
set d15 "set g_gametype 6 ; map treetop_final ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d16"
set d16 "set g_gametype 6 ; map Warbell ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d17"
set d17 "set g_gametype 6 ; map xposed ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d18"
set d18 "set g_gametype 6 ; map mlb_hotchkiss ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d19"
set d19 "set g_gametype 6 ; map oasis_winter ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d20"
set d20 "set g_gametype 6 ; map soccer_b2 ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d21"
set d21 "set g_gametype 6 ; map tc_base ;g_useraxisrespawntime 10; g_useralliedrespawntime 10; set nextmap vstr d1"
vstr d

All of the maps there are in my etmain folder as well.

 

Would I need to edit anything in here? Are the useraxis and allies spawn times needed in that?

Should I put that into the mapvotecycle.cfg and change the exec january.cfg to exec mapvotecycle.cfg? If so... do I need to change that else where?

 

Thanks for the help in advance. I hope I can get this working very shortly. I had been looking at it since last night and can't figure out why it will not work!!

 

Let me know if you need any more info from me.

Edited by Avery
Link to comment
Share on other sites

  • Management

set com_watchdog_cmd "exec objectivecycle.cfg"

 

You should set the watchdog to the january.cfg.

 

vstr d

should be vstr d1. Could be the reason for the watchdog to issue the exec for the

objectivecycle.cfg

 

The name of the cfg doesn't matter at all. I don't see anything wrong in your config. The

maxMapsVotedFor 19

would be the max that fits to the onevotelist without using the scrollbar. Something you may want to change because the players are not always scrolling.

Link to comment
Share on other sites

  • Management

Here is my typical map voting config:

 

set d1 "set g_gametype 6 ; map oasis ; set nextmap vstr d2"
set d2 "set g_gametype 6 ; map fueldump ; set nextmap vstr d3"
set d3 "set g_gametype 6 ; map radar; set nextmap vstr d4"
set d4 "set g_gametype 6 ; map goldrush ; set nextmap vstr d1"
vstr d1

 

Your mapvoting cycle will be only used when no one votes. Now when no one votes, we assume they are newbies and have no clue how to play game and at that time it will load default maps which all newbies like.

 

Move below cvars to server config since you are not changing them per map or just use map configs folder for it.

g_useraxisrespawntime
g_useralliedrespawntime

 

 

You also don't need this:

 

exec pbmd5.cfg
exec pbcvar.cfg

 

Merge both in pbsvuser.cfg and pb settings to pbsv.cfg. Both are executed by default when PB get's enabled. They should actually go in PB folder and not etmain folder where many admins put.

pbsv.cfg = PB settings

pbsvuser.cfg = Cheat scans

Both goes under PB folder.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...