Quick Question

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Quick Question

Post by Soviet » August 4th, 2007, 9:58 pm

quick amazingly noob question on cod2 mapping. The CoDJumper mod works off of deathmatch, so all you have to do is normal deathmatch settings and the save mod will work..right?
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

User avatar
Coontang
CJ G0D!
CJ G0D!
Posts: 1797
Joined: March 4th, 2007, 3:48 pm
Location: Painting by numbers

Post by Coontang » August 4th, 2007, 10:21 pm

Yes. youre just using the save position mod right? if you are go to main screen, type scr_saveposition 1

then start a game :)
Image
JDogg: 'I have a video of me pissing, wanna see?'

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 5th, 2007, 3:32 am

Yes, CoDJumper mod works entirely off DM, it requires DM spawns, that is all.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Post by Soviet » August 7th, 2007, 6:41 am

could anyone maybe give me a list of all the cvars for the mod?

i only know

scr_saveposition
cj_restocknades
scr_antiblocktime
scr_antikill
scr_cjvote
scr_cjvotetime
msg
endmap
spec
punish
cj_msgdelay


do all of these work. And if so could someone give me the default values or a way to find the default values, and what they do more explicitly?
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Post by waywaaaard » August 7th, 2007, 8:36 am

Code: Select all

  _____      _____       _                                     
 / ____|    |  __ \     | |                                    
| |     ___ | |  | |    | |_   _ _ __ ___  _ __   ___ _ __     ___ ___  _ __ ___ 
| |    / _ \| |  | |_   | | | | | '_ ` _ \| '_ \ / _ \ '__|   / __/ _ \| '_ ` _ \ 
| |___| (_) | |__| | |__| | |_| | | | | | | |_) |  __/ |   _ | (_| (_) | | | | | |
 \_____\___/|_____/ \____/ \__,_|_| |_| |_| .__/ \___|_|  (_) \___\___/|_| |_| |_|
                                          | |                  
                                          |_|                                    

------------
Installation
------------

Create a folder called "codjumper" in the CoD2 directory
Default: C:/Program Files/Activision/Call of Duty 2/

In that folder place the .IWD

------------
Server Setup
------------

Windows:

Create a shortcut to the CoD2MP_s.exe file
Right-Click and select properties.
In the "Target" box, you will currently have
"C:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe"
You will need to add the following after the quotations.
+set fs_game codjumper 
+set dedicated 2 
+set net_ip <ip> <--Change to the server IP
+set net_port <port> <--Change to a port
+exec server.cfg
You target line should look like this
"C:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe" +set fs_game codjumper +set dedicated 2 +set net_ip <ip> +set net_port <port> +exec server.cfg

For Linux, you will have to either figure it out yourself, or find someone who can.
I have no knowledge of Linux.

-------------
Server Config
-------------

The following should be put into a file named "server.cfg" and placed in the MAIN folder (not codjumper)
Make sure you read this config and make the required changes.

//////////////////////COPY FROM HERE//////////////////////
// **************************************************
// *********** Server Security & Errors *************
// **************************************************

//Passwords
set rcon_password "" //CHANGE ME
set sv_privatePassword "" // OPTIONAL CHANGE ME 
set g_password "" // Only used if you want to close your server to the public

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

//SV Pure
set sv_pure "1" 

//SV Cheats
set sv_cheats "0"

//Disable Console
set sv_disableClientConsole "0"

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

// Hostname and MOTD
sv_hostname "" // Servers name
set scr_motd "" // Message displayed on connect

// Max Players and Saved Private Possitions 
set sv_maxclients "16" // Maximum players on the server
set sv_privateClients "0" // Allows players to enter the server without taking up public slots

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

// Server Packet Rate
set sv_maxRate "25000"

// Limit Laggers and reconnect spammers
set sv_reconnectlimit "3" // Limits how long a player must wait to reconnect to a server
set sv_minPing "0"
set sv_maxPing "220"

// 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 mp_breakout"

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 "30" 

// DM
set scr_dm_scorelimit "100"
set scr_dm_timelimit "30"

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

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

// Team Icons
set scr_drawfriend "1"

// Friendly Fire
set scr_friendlyfire "1" 

// Kill Cam & Spectate
set scr_killcam "1"
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 "10" // 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" // This is the time in seconds for each of the following messages

set cj_msg_1 "This Server is Running CoDJumper Mod" // You can have as many rotating messages as you wish, but the more you have, the more the server must process.
//set cj_msg_2 "<Optional>"
//set cj_msg_3 "<Optional>"
//set cj_msg_4 "<Optional>"
//set cj_msg_5 "<Optional>"

set cj_admin_1 "Drofder@CoDJumper.com" // Place the name of your admins in these cvars to "announce" them on the server. (Infinite)
//set cj_admin_2 "<Optional>"
//set cj_admin_3 "<Optional>"
//set cj_admin_4 "<Optional>"
//set cj_admin_5 "<Optional>"

set cj_restocknades "0"

// set cj_mapname_nades 0/1 // See explanation below.

//******************* Map Specific Nades *******************//
// To use map specific grenade settings
// Use "set cj_<mapname>_nades 0/1"
// Replace <mapname> with the full mapname
// E.g.
// set cj_mp_carentan_nades 1 (Enable nades for this map)
// set cj_mp_jump_nades 0 (Disable nades for this map)
// This overides the default scr_allow_fraggrenades
//////////////////////////////////////////////////////////////

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

set g_allowvote "0" 
set g_allowVoteKick "0"
set g_allowVoteMap "1"
set g_allowVoteMapRestart "1"
set g_allowVoteMapRotate "1"
set g_allowVoteTempBanUser "0"
set g_allowVoteTypeMap "1"
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 "1" 
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)
sets _Admin "" // Make it your IRC or site nick maybe (optional)
sets _Website "" // Add your website here (optional)
sets _Mod "CoDJumper.com"

// Do not put ANYTHING after this //
map_rotate

//////////////////////STOP COPYING HERE//////////////////////

------------
 Punishment
------------
A new punishment system has been added. The following are 5 punishments are available for use.
burn - this will freeze the player in his steps and burn him for 5 seconds until dead
freeze - this will freeze a player in his spot for 10 seconds.
suicide - this will kill the player instantly
spin - this will spin the players screen 3 times.
kick - kick a player

To use these commands you will need to follow these simple instructions.
Type /rcon status
This will give you a list of players and their numbers (under num column)
Now all you have to do is type 
/rcon punish "<command>|<number>" (must use the '|')
<command> is 1 of the 5 punishments above
<number> is the number of the player you wish to punish.

You can also use the multi-punishment system, this will allow you to punish 
more than 1 person at a time.
Follow the same instructions but this time, use the | symbol to seperate numbers for example...
/rcon punish "burn|1|3|7|8" (this will burn numbers 1,3,7&8)

You can now also provide a reason for the Punishment using the following syntax.
/rcon punish "<command>|<numbers>|<reason>"
<command> is 1 of the 5 punishments
<numbers> is a number or numbers (seperated by  |'s) of the players you wish to punish
<reason> is the reason for the punishment

--------------
Admin Controls
--------------
A couple of useful admin controls have been added also.

-- Send2Spec --
The ability to send an individual to spec or multiple individuals or the entire server.
The command is "spec", and use the same method as above...
/rcon spec 2|3|7|9
or to spec ALL, type
/rcon spec all

-- End Map --
The ability to end a map has also been added. Simply type
/rcon endmap 1 (the 1 is required)

-- Print Messages --
A new Console message system has also been added. This will print messages to the centre of the screen.
Type /rcon msg "<message>". This will print a basic message to the screen. You can also type...
/rcon msg "<Name>|<message>". Substitute <Name> for your own name and <message> for your message.
This will print to screen as "Drofder: Hello" or whatever you type.

-- Welcome Messages --
Simple messages that print to screen when you connect to the server. To use these, add to your config
"set cj_welcome_# <message>". Substitute # for a number (1-5) and <message> for your message.

-- Message Rotation --
This will display messages in the lower left of the screen at set intervals.
"set cj_msg_# <message>". Substitute # for a number and <message> for your message.
and also
"set cj_msgdelay #". Substitute # for a number in SECONDS.

-- Admin Welcome --
This will display a message when an admin connects to the server.
"set cj_admin_# <admin>". substitute # for the Admins number and <admin> for the name of the admin (do not include colours).

-- Map Specific nades --
Explained in the config section above,
"set cj_<mapname>_nades 0/1" (Disable/Enable)

-- Restockable Nades --
This will give the option to turn on restockable nades. Restockable nades allow a player to restock their nades on the fly.
"set cj_restocknades 0/1" (Disable/Enable)
If this option is on, the map specific nades will not work.
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------

If you are still having troubles. Contact Drofder@CoDJumper.com
or visit the CoDJumper forums at http://www.codjumper.com/forums/
Mod Created by =Alias=Drofder (CoDJumper Team)
Credits to Ezekiel Victor (Creator of the original Save Mod)
Credits to Leveller (Scripting anti-block)
Credits to Grom (CoDJumper Team)
And ofcourse Credits to the public players for testing the mod and enjoying the server.

------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 7th, 2007, 4:07 pm

Soviet wrote:could anyone maybe give me a list of all the cvars for the mod?
RTFM?

Thanks Lev :)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Post by Soviet » August 7th, 2007, 5:56 pm

ouch.....i've been getting owned a lot lately...need to stop it. Thanks...
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Post by Soviet » August 7th, 2007, 9:00 pm

is there a command that toggles the console with the text below it? like pressing shift+~
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 7th, 2007, 11:28 pm

Soviet wrote:is there a command that toggles the console with the text below it? like pressing shift+~
I dont think so, the "extended" console was a developer tool mainly, and because of the "autocomplete" function, there was never really a need for it.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests