PDA

View Full Version : Player Based Rotation


richman
06-20-2007, 08:10 PM
windows, single iwd, ver 1.7b

Below is what I'm using:

// player based rotation global
// 0 = disable, 1 = enable, default = 0
set wwx_pbrotate "1"

set wwx_pbrsmall "10"
set wwx_pbrmedium "24"

set sv_maprotationcurrent ""

set scr_small_rotation "gametype tdm map mp_carentan gametype tdm map mp_burgundy gametype tdm map mp_dawnville gametype tdm map mp_decoy gametype tdm map mp_downtown gametype tdm map mp_farmhouse gametype tdm map mp_harbor gametype tdm map mp_leningrad gametype tdm map mp_matmata gametype tdm map mp_railyard gametype tdm map mp_rhine gametype tdm map mp_toujane"

set scr_med_rotation "gametype sd map mp_junobeach gametype tdm map mp_toujane gametype tdm map mp_mad_canal gametype sd map mp_dawnville gametype tdm map mp_mariupol_v2 gametype tdm map mp_brecourt gametype tdm map mp_xfire_bay gametype sd map mp_trainstation gametype tdm map mp_devils_den_beta2 gametype tdm map mp_matmata gametype sd map mp_natnarak gametype tdm map mp_harbor gametype ctf map mp_belltown gametype tdm map mp_decoy gametype sd map mp_carentan gametype tdm map mp_breakout gametype tdm map mp_maaloy_cod2_final gametype sd map mp_rhine gametype tdm map mp_montebourg gametype tdm map mp_railyard gametype ctf map mp_farmhouse gametype tdm map mp_argentan_france gametype sd map mp_burgundy gametype tdm map mp_carentan"

//set scr_large_rotation ""

set g_gametype "tdm"


set sv_mapRotation "gametype tdm map mp_carentan gametype sd map mp_junobeach gametype tdm map mp_toujane gametype tdm map mp_mad_canal gametype sd map mp_dawnville gametype tdm map mp_mariupol_v2 gametype tdm map mp_brecourt gametype tdm map mp_xfire_bay gametype sd map mp_trainstation gametype tdm map mp_devils_den_beta2 gametype tdm map mp_matmata gametype sd map mp_natnarak gametype tdm map mp_harbor gametype ctf map mp_belltown gametype tdm map mp_decoy gametype sd map mp_carentan gametype tdm map mp_breakout gametype tdm map mp_maaloy_cod2_final gametype sd map mp_rhine gametype tdm map mp_montebourg gametype tdm map mp_railyard gametype ctf map mp_farmhouse gametype tdm map mp_argentan_france gametype sd map mp_burgundy"

-------------------

the small rotation doesn't seem to go into effect.
the server seems to only use (set sv_mapRotation) rotation.
if I leave (set sv_mapRotation) commented out then server start.
the main rotation works just fine, but it just doesn't use the player based feature for some reason.

do I need a "large" rotation to complete the settings?

Am I doing something wrong here?

thx

Marc.
06-20-2007, 08:49 PM
GOOD FIND!!!!!!!!

the reason its not working is because i yet again f..ed up
easy explanation...i sorta half DRMatized it....not fully or not at all...noooooo..idiot me did it half....

wonder why noone else noticed this before ...after all these months we use DRM ..perhaps playerbased rotations arent popular ....lol

ill fix this tomorrow (almost 2 am here)


for those who cant wait:
in _wwx_varcache.gsc change:

//************************************************** **************************
// WW2X map rotation control
//************************************************** **************************
level.wwx_pbrotate = [[level.drm_cvardef]]("wwx_pbrotate", 0, 0, 1, "int");
level.wwx_pbrsmall = [[level.drm_cvardef]]("wwx_pbrsmall", 0, 0, 64, "int");
level.wwx_pbrmedium = [[level.drm_cvardef]]("wwx_pbrmedium", 0, 0, 64, "int");

to:


//************************************************** **************************
// WW2X map rotation control
//************************************************** **************************
level.wwx_pbrotate = [[level.wwx_cvardef]]("wwx_pbrotate", 0, 0, 1, "int");
level.wwx_pbrsmall = [[level.wwx_cvardef]]("wwx_pbrsmall", 0, 0, 64, "int");
level.wwx_pbrmedium = [[level.wwx_cvardef]]("wwx_pbrmedium", 0, 0, 64, "int");


that will fix it :)

also yes..you need to have all rotations to be set.....small, medium, large and your normal rotation (the large and normal can be the same)
after the first map in your normal rotation..it switches over to the playerbased ones

richman
06-21-2007, 11:17 AM
ok thx Marc