CoD4X Server and BigBrotherBot (b3) helpCod4x New Experience

Post Reply
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Cod4x New Experience

Post by Gen Stranger »

This is the Cod4x New Experience mod
get the newest version at https://github.com/leiizko/cod4_new_experience
Gen Stranger
Stranger-KAB
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Re: Cod4x New Experience

Post by Gen Stranger »

cc' Born_2_Win wrote: 08 Oct 2017 01:59 New experience?
CoD4 New Experience

Call of Duty 4 New Experience server side modification aims to bring new life into the game and provide a library of scripts for server admins to explore.
Features:

Brand new hardpoint system
New hardpoints
XP multiplier mode
Fast paced mode
Smart spawn protection
Custom and final killcam
Dynamic killcam times
Map specific best players on game end
Custom spectating - You can see spectating player FPS and his vision settings
Script and rcon command support for vision settings
Geowelcome system ( with MaxMind GeoIP database )
Ability to disable attachements and perks such as grenade launcher, juggernaut, etc.
Optimisation to the stock code making game feel smoother
Mapvote system

Ability to save client data serverside
And more...

Hardpoints:

UAV
Airstrike
Artillery using ballistic trajectory and simulated projectiles
Air superiority fighter - will seek enemy helicopter and destroy it
Air to Ground missile
Unmanned helicopter
Predator drone
AC130 gunship
Manned helicopter - bringing Battlefield to CoD4, take control of your helicopter
Nuclear missile - kill everyone and leave radiation zone that will stop the enemy in its tracks

New hardpoint system

Buy hardpoints by spending your hard earned credits and take control of the game. There is no longer need to camp to get hard to reach hardpoints, get your credits by killing your enemies and gain even more by getting headshots and melee kills. You won't lose any of the credits on death so feel free to rush enemy team or bring your hidden ninja to the game.
Requirements:

Latest version of CoD4X server modification (July 14th 2017 or later), available on Github repo
Maxmind geoIP database, available on MaxMind.com
CoD4X Trueskill plugin, available on Github repo

Installation:

Place both code and maps folders into your /main_shared/ folder
Place config.cfg into your /main/ folder
Customise settings in config file to your desire and exec it from your main config file

Start the server
Gen Stranger
Stranger-KAB
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Re: Cod4x New Experience

Post by Gen Stranger »

for anyone interested here is my edits to allow !scorelimit to work in the NE old and new versions

step 1
edit config,cfg that comes with the new experience adding

set cmd_score "1"

making it look like this
set cmd_fov "1"
set cmd_fps "1"
set cmd_promod "1"
set cmd_shop "1"
set cmd_stats "1"
set cmd_emblem "1"
set cmd_score "1"

step 2
edit scriptcommands.gsx adding this

addscriptcommand( "score", 1 );

making it look like this
addscriptcommand( "fov", 1 );
addscriptcommand( "fps", 1 );
addscriptcommand( "promod", 1 );
addscriptcommand( "shop", 1 );
addscriptcommand( "stats", 1 );
addscriptcommand( "emblem", 1 );
addscriptcommand( "speckeys", 1 );
addscriptcommand( "score", 1 );
also add this to the cases
case "score":
if( !level.dvar["cmd_score"] )
{
self iPrintlnBold( "This command was disabled by server admin." );
break;
}
scorelimit = getdvar("scr_"+getdvar("g_gametype")+"_scorelimit");
self iPrintlnBold( "^3The current score limit is "+scorelimit );


break;
place it right above case "fps"

step 3 edit dvars.gsx

add addDvar( "cmd_score", "int", 1, 0, 1 );

I added it after the addDvar( "cmd_fps", "int", 1, 0, 1 );

that will make a command $score which will tell the scorelimit to the person slelecting $score

to make the commands work with b3 you need to have plugin customcommands installed
step 4 add the following to plugin_customcommands.ini
scorelimit = cmd score:<PLAYER:PID>
I placed it here with other commands

[user commands]
# define in this section commands that will be available to all players
cookie = tell <ARG:FIND_PLAYER:PID> ^1<PLAYER:NAME> ^7 gave you a ^2COOKIE^7
fps = cmd fps:<PLAYER:PID>
fov = cmd fov:<PLAYER:PID>
scorelimit = cmd score:<PLAYER:PID> <-----
promod = cmd promod:<PLAYER:PID>

if all went well you should be qble to use !scorelimit after restarting the server and b3
Gen Stranger
Stranger-KAB

manish
Registered
Posts: 7
Joined: 17 Mar 2018 13:30
6
Contact:

Re: Cod4x New Experience

Post by manish »

Hey there thanks for all the details you provided above!
Well i did some changes, actually changed the scorelimit from 500 to 5000 in gsc files and now it's working properly! Thanks :D
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Re: Cod4x New Experience

Post by Gen Stranger »

I figured I would post my latest download of the new experience from cod4x.me
cod4_new_experience-master.zip
The New Experience
(201.79 KiB) Downloaded 3812 times
cod4_new_experience-master.zip
The New Experience
(201.79 KiB) Downloaded 3812 times
Gen Stranger
Stranger-KAB

bluedragon
Registered
Posts: 2
Joined: 31 Mar 2020 04:55
4
Contact:

Re: Cod4x New Experience

Post by bluedragon »

Advice:
I am new to modding stuff. Be nice :)

Where it says:

Place both code and maps folders into your /main_shared/ folder
Place config.cfg into your /main/ folder

What is the "main_shared" folder? I don't have one in my server files. Or should it be saying to crate a new folder and call it "main_shared"?

So none of this goes into your Mods folder? That being the case, how do run custom maps through it, if its not a "mod"?

I may need some help I think... rolleye
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Re: Cod4x New Experience

Post by Gen Stranger »

bluedragon wrote: 03 Apr 2020 17:17 Advice:
I am new to modding stuff. Be nice :)

Where it says:

Place both code and maps folders into your /main_shared/ folder
Place config.cfg into your /main/ folder

What is the "main_shared" folder? I don't have one in my server files. Or should it be saying to crate a new folder and call it "main_shared"?

So none of this goes into your Mods folder? That being the case, how do run custom maps through it, if its not a "mod"?

I may need some help I think... rolleye
main_shared is a folder off the directory where the main directory is you have to make it if its not there
main_shared is a directory that allows the running of cod4x scripts.

the rest is just for information ----- I have a test server on my windows 10 computer that I add things like mod - usermaps -etc before transferring to my live servers which are on ubuntu 18.04
this is how I have my test server setup - its not necessary but I found if I screw something up it doesn't affect my play game at directory of Call of Duty 4 - Modern Warfare or my servers
so you would have a copy of all the files in directory "Call of Duty 4 - Modern Warfare" copied to "COD4X"

cod4x -a directory you installed all the files for the server - whatever you named it. (mine is cod4x not Call of Duty 4 - Modern Warfare)
in it would be the following
main = a directory
main_shared = a directory I made
zone = a directory
etc (all other directories like mods, usermaps and files from directory Call of Duty 4 - Modern Warfare)

I was just showing you an example nothing is stopping you from using your setup for a server but add the main_shared directory to it

btw are you on windows or Linux?
Gen Stranger
Stranger-KAB

bluedragon
Registered
Posts: 2
Joined: 31 Mar 2020 04:55
4
Contact:

Re: Cod4x New Experience

Post by bluedragon »

Thanks for clearing that up for me (I think). rolleye
I will probably have to "see" it to fully understand it.

If its mechanical or anything vehicle diagnostics, that's my bag. Gaming is my favorite hobby and building gaming PC's. :think
Writing configs and all this really does interest me, just haven't enough experience ... Yet. :)

I am running Windows not Linux btw. Thanks Gen.

geplaza
Registered
Posts: 1
Joined: 12 Jan 2023 20:05
1
Contact:

Re: Cod4x New Experience

Post by geplaza »

hello, I run everything step by step and I can't get it to work. can you help me

I rent a server
and I have access to it to be able to do my configurations
create main_shared folder, copy all
copy everything from the .cfg to the main execution file
but I don't understand how it is given the order to read all of main shared
User avatar

Topic author
Gen Stranger
KAB Administrator
Posts: 362
Joined: 19 Jan 2004 18:28
20
Contact:

Re: Cod4x New Experience

Post by Gen Stranger »

geplaza wrote: 12 Jan 2023 20:11 hello, I run everything step by step and I can't get it to work. can you help me

I rent a server
and I have access to it to be able to do my configurations
create main_shared folder, copy all
copy everything from the .cfg to the main execution file
but I don't understand how it is given the order to read all of main shared
is the rented server a cod4 server or a cod4x server - that is important because a main_shared will not work on cod4 server.
Gen Stranger
Stranger-KAB
Post Reply