CoD 2 JumP MoD

|     Prva stran     |     Dolpoteg     |     Galerija     |     Kontakt     |

 

vsak dan me kdo sprašuje, kako se naredi jump server. čeprav je čisto ista figa kot je že opisano v vodiču "Postavitev serverja z modom", vam na hitro razložim še konkretno za jump server.

torej začnimo na "sveži" inštalaciji ali kopiji CoD-a! če je nimamo, pa si malo oglejte vsebino mape Call of Duty 2 in mape main. notri je lahko samo to;

kar imate več, brišite !

V mapi Call of Duty 2 ustvarite novo mapo, ki jo poljubno poimenujte (ne preveč komplicirat, ker sem že doživel tudi probleme zaradi narobe poimenovane mape). v mojem primeru je to mapa jump_oyoy1;

v to mapo dajte mod, mape in konfiguracijsko datoteko serverja (jump.cfg);

ustvarimo še bližnjico datoteke COD2MP.exe;

katero kopiramo na namizje oz. po želji. ko smo to naredili, desnokliknemo na to datoteko, gremo na Properties in v Target;

DODAMO presledek in;

ta ukaz prilagodite sebi oz. svojemu serverju (+set fs_game imevašemape številka porta ...) še klik na Apply in OK.

če uporabljate požarni zid, router ali karkoli, kar ščiti vaš računalnik pred vdori, morate odpreti port, ki ste ga določili za delovanje serverja, da bo server viden navzven. če želite, da se bodo na vaš server povezovali tudi igralci, ki nimajo originalnega cod 2 key-a, je potrebno server skrekati (uporabi google).

če ste se odločili, da bo na serverju vklopljen punkbuster, ga najprej update-ajte. če ne veste kako, preberite tole. z nastavitvami punkbusterja na JumP serverju nebi komplicirali, zato si dl-jajte tole datoteko, jo odrarajte in jo dajte v mapo pb.

sedaj lahko zaženemo server.

težave, ki sem jih imel z jump serverji;

preveliko število map - server sicer deluje, vendar se ne da povezati nanj - izpiše napako iwd sum/name mismatch - približno 20 map na server deluje navadno brez problema, pri večih pa se začnejo težave - včasih prej, včasih kasneje. možna rešitev je, da naredimo mappack, vendar tega nisem (še) nikoli delal, zato ne bom pametoval.

mapa enostavno zašteka - server sicer navidezno deluje, nanj se lahko povežemo, vendar ko si v mapi, ne moreš narediti nič. zavedati se moramo, da so to vse homemade mape ene z več, druge z manj bugi. nekatere pač totalno zaštekajo in sem jih enostavno izbrisal.

prekratke mape - nekatere mape so res lahke in kratke, zato sem jih odstranil iz configa.

še konfiguracijska datoteka serverja - jump.cfg (prilagodite jo svojemu serverju);
=lahko jo dl-jate tukaj=

// **************************************************
// *********** Server Security & Errors *************
// **************************************************

//Passwords
set rcon_password "password"
set sv_privatePassword "privpassword"
set g_password ""

//Logging
set g_log "server_mp.log"
set g_logSync "0"

//SV Pure
set sv_pure "0"

//SV Cheats
set sv_cheats "0"

//Disable Console
set sv_disableClientConsole "0"

 

// **************************************************
// *********** Server Personality Dvars *************
// **************************************************

// Hostname and MOTD
sv_hostname "^1oy^2o^1y`s ^3CoD 2 JumP ServeR"
sets _Website "http://oyoy.si/homepage.php"
sets _Mod "Jump MoD"
sets .Email "oyoy@primorska.com"
sets .Location "sLOVEnija/portoroz-lucija"

 

// Max Players and Saved Private Possitions
set sv_maxclients "8"
set sv_privateClients "2"

//Downloads
seta sv_allowAnonymous "0"
set sv_allowdownload "1"

// HTTP Redirect Downloads
seta sv_wwwDownload "1"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"

// Server Packet Rate
set sv_maxRate "25000"

// Limit Laggers and reconnect spammers
set sv_reconnectlimit "3"
set sv_minPing "0"
set sv_maxPing "150"

// Banning
set g_banIPs ""

// AntiFlooding Settings
set sv_floodProtect "1"

// **************************************************
// ******************** Voice ***********************
// **************************************************

set sv_voice "0"

set sv_voiceQuality "1"

// **************************************************
// ******************** Map Rotation ****************
// **************************************************
// Do NOT put your map_rotate command here! Map_rotate should be called VERY last

// Set the Gametype
set g_gametype "codjumper"

// Set the Map Rotation

set sv_MapRotation "gametype codjumper map jm_rod_easy gametype codjumper map jm_bigescape gametype codjumper map mp_prisonbreak gametype codjumper map jm_officespace_hard gametype codjumper map mp_henry gametype codjumper map jm_state gametype codjumper map kd_gloom gametype codjumper map jm_lighthouse_beta gametype codjumper map soviet_stronghold gametype codjumper map mp_jump gametype codjumper map mp_pyramid gametype codjumper map mp_tevy gametype codjumper map jm_castle_hard gametype codjumper map mp_mine gametype codjumper map mp_d-jump gametype codjumper map mp_scmega gametype codjumper map sc_telijump gametype codjumper map jm_garden"

set sv_maprotationcurrent ""

// **************************************************
// *************** Match Setup Options **************
// **************************************************
// Use these to set how your server will play a map.

// CTF
set scr_ctf_scorelimit "5"
set scr_ctf_timelimit "30"

// S&D
set scr_sd_bombtimer "60"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"

// TDM
set scr_tdm_scorelimit "300"
set scr_tdm_timelimit "40"

// DM
set scr_dm_scorelimit "100"
set scr_dm_timelimit "40"

// HQ
set scr_hq_scorelimit "600"
set scr_hq_timelimit "30"

// **************************************************
// ***************** Gameplay Dvars *****************
// **************************************************

// Team Icons
set scr_drawfriend "1"

// Friendly Fire
set scr_friendlyfire "2"

// Kill Cam & Spectate
set scr_killcam "0"
set scr_spectatefree "0"
set scr_spectateenemy "0"

// Auto Team Balance
set scr_teambalance "0"

// Force Respawn
set scr_forcerespawn "0"

// Spectator & Dead Chat
set g_deadChat "1"

// **************************************************
// ************ CoDJumper Mod Cvars *****************
// **************************************************
set scr_antiblocktime "15" // This is the amount of time it takes until a player (not moving) is marked as blocking.
set scr_saveposition "1" // This will turn on the savemod
set scr_antikill "1" // This will turn on invulnerability. This will stop all killing (except if person is blocking).
set scr_cjvote "1" // This will turn on the CJ voting system
set scr_cjvotetime "45" // This is the time (in minutes) before voting is automatically turned on.

set cj_welcome_1 "^2W^7elcome to the server" // you can have up to 5 welcome messages.
//set cj_welcome_2 "<Optional>"
//set cj_welcome_3 "<Optional>"
//set cj_welcome_4 "<Optional>"
//set cj_welcome_5 "<Optional>"

set cj_msgdelay "180"

set cj_msg_1 "This Server is Running CoDJumper Mod"
//set cj_msg_2 "<Optional>"
//set cj_msg_3 "<Optional>"
//set cj_msg_4 "<Optional>"
//set cj_msg_5 "<Optional>"

set cj_admin_1 "oyoy"
//set cj_admin_2 "<Optional>"
//set cj_admin_3 "<Optional>"
//set cj_admin_4 "<Optional>"
//set cj_admin_5 "<Optional>"

 

// **************************************************
// ******************* Voting ***********************
// **************************************************

set g_allowvote "0"
set g_allowVoteKick "0"
set g_allowVoteMap "0"
set g_allowVoteMapRestart "0"
set g_allowVoteMapRotate "0"
set g_allowVoteTempBanUser "0"
set g_allowVoteTypeMap "0"
set g_allowVoteDrawFriend "0"
set g_allowVoteFriendlyFire "0"
set g_allowVoteKillCam "0"

 

// **************************************************
// ************ Weapon Settings *********************
// **************************************************

// Weapon Ammo Pools
set g_weaponAmmoPools "0"

//Snipers
set scr_allow_enfieldsniper "1"
set scr_allow_kar98ksniper "1"
set scr_allow_nagantsniper "1"
set scr_allow_springfield "1"
set scr_allow_svt40 "1"

// Rifles
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_nagant "1"
set scr_allow_g43 "1"

// MGs
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_mp44 "1"
set scr_allow_ppsh "1"

//SMGs
set scr_allow_sten "1"
set scr_allow_mp40 "1"
set scr_allow_thompson "1"
set scr_allow_pps42 "1"
set scr_allow_greasegun "1"

// Shotgun
set scr_allow_shotgun "1"

// Grenades
set scr_allow_smokegrenades "0"
set scr_allow_fraggrenades "1"

// **************************************************
// *************** Master Servers *******************
// **************************************************

// MasterServers
seta sv_master1 "cod2master.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "cod2authorize.activision.com"
seta sv_master5 "cod2master.infinityward.com"

// **************************************************
// ************ Public Info *************************
// **************************************************

// SETS/PUBLIC INFO (stuff that shows up in server info)

sets g_needpass "" // tell's ASE etc the server is passworded (0/1)

 

// Do not put ANYTHING after this //
map_rotate

*******************************************************************************
*******************************************************************************


v kofiguraciji je v CoDJumper Mod Cvars opcija set scr_cjvotetime ""
zamisel je sicer zelo všečna, saj po določenem številu minut, ki ga vnesete med "" omogoči votanje. toda nikakor nisem mogel onemogočiti spreminjanja gametype-ja, zaradi česar se je dogajalo, da je bil na serverju namesto jump moda  TDM ali DM, potem pa nikakor niso mogli zvotat nazaj jump moda. zato sem to funkcijo onemogočil oz. kot vidite spodaj v configu, sem dal čas, ko se votanje omogoči, višji, kot je čas trajanja mape. tudi če pustimo ukaz prazen (tako kot je zgoraj), votanje ne bo omogočeno.

 

EDIT2;
ugotovil sem, kaj spremeniti v modu, da se lahko vota izključno next map in restart map. prilagoditi je potrebno datoteko callvote.menu, ki jo najdete v modu v mapi scriptmenus, ki se nahaja v mapi ui_mp. pustite samo naslednji tekst, ostalo brišete;

#include "ui_mp/menudef.h"

#define ORIGIN_TITLE                      48 64
#define ORIGIN_CHOICE1                80 84
#define ORIGIN_CHOICE2                80 108
#define ORIGIN_CHOICE3                80 132
#define ORIGIN_CHOICE4                80 156
#define ORIGIN_CHOICE5                80 180
#define ORIGIN_CHOICE6                80 204
#define ORIGIN_OK                          80 372

{
menuDef
{
name                            "callvote"
rect                              0 0 640 480
focuscolor                    GLOBAL_FOCUSED_COLOR
style                             WINDOW_STYLE_EMPTY
blurWorld                     5.0
onEsc
{
close callvote;
}

                        // Gradient
itemDef
{
style                             WINDOW_STYLE_SHADER
//rect                            -107 0 554 480
rect                              0 0 640 480 HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN
background                  "gradient"
visible                           1
decoration
}

                        #include "ui/bars.menu"

                        itemDef
{
type                              ITEM_TYPE_TEXT
visible                           1
origin                            ORIGIN_TITLE
forecolor                      1 1 1 1
text                               "@MENU_OPTIONS"
textfont             UI_FONT_NORMAL
textscale                       GLOBAL_HEADER_SIZE
decoration
}

// MENU CHOICES
execKey "1" { play "mouse_click"; exec "cmd callvote map_restart"; close callvote }
execKey "2" { play "mouse_click"; exec "cmd callvote map_rotate"; close callvote }
execKey "3" { play "mouse_click"; close callvote; open changemap }

                        itemDef
{
name                            "button_restartmap"
visible                           1
rect                              0 0 128 24
origin                            ORIGIN_CHOICE1
forecolor                      GLOBAL_UNFOCUSED_COLOR
type                              ITEM_TYPE_BUTTON
text                               "@MPUI_1_RESTART_MAP"
textfont             UI_FONT_NORMAL
textscale                       GLOBAL_TEXT_SIZE
textstyle                        ITEM_TEXTSTYLE_SHADOWED
textaligny                      20
action
{
play "mouse_click";
exec "cmd callvote map_restart";
close callvote;
}
onFocus
{
play "mouse_over";
}
}

itemDef
{
name                            "button_nextmap"
visible                           1
rect                              0 0 128 24
origin                            ORIGIN_CHOICE2
forecolor                      GLOBAL_UNFOCUSED_COLOR
type                              ITEM_TYPE_BUTTON
text                               "@MPUI_2_NEXT_MAP"
textfont             UI_FONT_NORMAL
textscale                       GLOBAL_TEXT_SIZE
textstyle                        ITEM_TEXTSTYLE_SHADOWED
textaligny                      20
action
{
play "mouse_click";
exec "cmd callvote map_rotate";
close callvote;
}
onFocus
{


play "mouse_over";

 

 

 

Na vrh

www.oyoy.si - vse pravice pridr┼żane.