Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IW4M: Dedicated Server With A Playlist Tutorial

Featured Replies

Опубликовано:

I have created 2 tutorials on how to create playlist dedicated server.. First one is already created playlists.info & the second shows you how to create a playlists.info. So your choice to pick which one you want ;)

 

UPDATE 2.6.2013: Server crashing? download the playlist again. ported maps like gulag, contingency and burgertown can only work on war and tdm for now.. oilrig have all gametypes tho.

 

-->How to make a Dedicated Server for IW4M with a playlist<--

 

1. Follow the normal Dedicatedserver tutorial by napsterlove If you haven't setup a dedicated server yet.

2. Go into the \players\ folder and create a new file called "playlists.info"

3. Open up playlists.info with notepad. Copy all of the code from this page (ctrl + A , ctrl +C) HERE, and paste it on your playlists.info file that you just opened up.

 

--> Or, if you want to skip step 2 and 3, just download this playlists.info.

--> Make sure you have the DLC maps or remove them from the rotation.

 

4. Open your shortcut of your server add this line at the end of the target line.

+set playlist_enabled 1  +set playlist 8

 

you can change +set playlist 8 to any # below this list (only one at a time)

 

 

  • Free for all 6
  • Hardcore Free-for-all 7
  • Team Deathmatch 8
  • Hardcore Team Deathmatch 9
  • Search and Destroy 10
  • Hardcore Search and Destroy 11
  • Sabotage 12
  • Domination 13
  • Headquarters 14
  • Capture the Flag 15
  • Demolition 16
  • Global Thermonuclear War 17
  • One-Flag 18
  • Arena 19
  • Ground War 20
  • Team Tactical 21
  • Barebones Pro 22

 

So lets say I want to have free for all playlist server.. My whole command line is going to be like this

iw4m.exe -dedicated +set party_maxplayers 18 +set net_port 28960 +exec server.cfg +set playlist_enabled 1  +set playlist 6 +map_rotate

 

-->How to manually create a custom playlist ADVANCED USERS <--

 

1. First off open a blank Notepad. Next we wanted to create a script function so to start off the first line.

gametype tdm

2. This will be your script function command you going to use on your playlist. So to finish this off we want to give it a little more info so the dedicated server knows what we doing with this function. Lets add name,real gametype, and teambased on the last 3 lines

gametype tdm
name english "Team Deathmatch"
script war					
teambased

Now if this is a hardcore mode just put hardcore under the teambased...

 

3. So what if you want to set time limit and score limit? Well just add a rule and then dvar on each line like this:

gametype tdm
name english "Team Deathmatch"
script war					
teambased
rule scr_war_scorelimit 12000
rule scr_war_timelimit 20 

 

4. Now that you have a working Team Deathmatch script function. Make sure to hit enter about 3-4 lines. Lets called this next line playlist 1. Now playlist 1 is going to be a +set playlist 0 yes I know math. Dedicated server likes to take a step backwards on each playlist. (Hopefully NTAuthority can fix that on his free time) So anyways on your notepad. We going to give it a playlist #, a name and description. So to start it off:

 

playlist 1
name english "TEAM DEATHMATCH"
description english "My Team Deathmatch"

5. Now the fun part creating a rotation list of maps and game type and how heavy you want this map to load more then the others. So at the bottom of the description english "My Team Deathmatch" Lets put Afghan, Boneyard and Highrise.

 

playlist 1
name english "TEAM DEATHMATCH"
description english "My Team Deathmatch"
mp_afghan,tdm,5
mp_boneyard,tdm,5
mp_highrise,tdm,5

Now if you want to make Highrise load more often. Just change the 5 to something higher like 8 and the dedicated server will load Highrise more often.

 

6. Now pat yourself on the back and save your playlists.info by going to File>Save As>Save as type: All (*.*) and put in playlists.info in your dedicated server players folder.

Here is a example on how your custom playlists.info should look like on your notepad

 

gametype tdm
name english "Team Deathmatch"
script war					
teambased
rule scr_war_scorelimit 12000
rule scr_war_timelimit 20 


playlist 1
name english "TEAM DEATHMATCH"
description english "My Team Deathmatch"
mp_afghan,tdm,5
mp_boneyard,tdm,5
mp_highrise,tdm,5

Keep in mind.. ported maps like gulag, contingency and burgertown can only work on war and tdm for now.. oilrig have all gametypes tho.

 

If you ever wanted to add more game types just repeat step 2 and 3 or you be better off copy and paste from my pre-made playlists.info for those normal people.

If you want to add more map files just keep adding each line as many as you want. Shouldn't have no limits like sv_maprotation and IW5M (yes IW5M have 15-16 limit for no reason.)

 

Special thanks to MAGIC for helping.

Опубликовано:

Thanks!

Nice tutorial.

Опубликовано:
  • Автор
Thanks!

Nice tutorial.

Well thanks. This is the first time I ever created a tutorial. I might make a better dedicated server tutorial in the feature just so new people don't get too confused on how to setup it up. I'm glad magic help me out by correcting some typo errors. ;)

Опубликовано:

The file you linked is appears to be .cfg, not .info as it should be.

I think you should rename it to .info, because someone might not notice that it's a .cfg when it should be .info.

Or does it still work if it's a .cfg?

 

Otherwise very good tutorial. I use playlists now in my server thanks to this.

 

EDIT: Only the link in the "how to manually create a custom playlist" section is bad.

Опубликовано:
is possible to set a non random rotation?, just to solve the 1024 characters on map_rotation in server.cfg?

 

Thanks!

 

1. Create a new .cfg

sv_maprotation *anything you want as long as it shorter than 1024 characters*

2. Have your server execute that config when your original maprotation set in "server.cfg" ends -> the maprotation is replaced by the maps in the cfg you just executed

3. Make as much cfgs as you need and have your server execute the next one when the maprotation set by the previous cfg ends

3. repeat to infinity

4. ???

5. Profit

Опубликовано:
  • Автор
is possible to set a non random rotation?, just to solve the 1024 characters on map_rotation in server.cfg?

 

Thanks!

 

1. Create a new .cfg

sv_maprotation *anything you want as long as it shorter than 1024 characters*

2. Have your server execute that config when your original maprotation set in "server.cfg" ends -> the maprotation is replaced by the maps in the cfg you just executed

3. Make as much cfgs as you need and have your server execute the next one when the maprotation set by the previous cfg ends

3. repeat to infinity

4. ???

5. Profit

...nice idea. ;) I forgot about that.

Join the conversation

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

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.