sl.Home | sl.Search | sl.Forum | sl.Settings | sl.Serverlist | sl.Maplist | sl.Team | sl.Wiki |
How to remove stock maps and stock campaigns from the "Vote"-menu |
Mar 15 2008, 02:42 PM
Post
#1
|
|
General of the Army Group: RtCW/ET-Division Joined: 3-December 04 From: Berlin, Germany Member No.: 1791 |
Download:
remove_stock_content.zip ( 432.83K )
Number of downloads: 205
Sometimes its desired to remove maps or campaigns so players can't vote for it. While this is easy for custom content - simply remove the respective files - its more difficult to remove "stock" content, like the default maps or the default campaigns. The pk3-files included in this zip-file give you the choice to disable it. These pk3-files should work with vanilla ET and with all custom mods. Unzip the file "remove_stock_campaigns.pk3" into your mod folder (or etmain folder when you don't run a mod) and restart the server. Delete the file "remove_stock_campaigns.pk3"and restart the server. The file "remove_stock_campaigns.pk3" removes the "Central Europe" and the "North Africa" campaign from the vote menu, so players can't vote for it. Additionally console votes like "callvote campaign cmpgn_northafrica" don't work anymore. The removal is simply accomplished by replacing the *.campaign files from pak0.pk3 with empty files using a custom pk3-file. Unzip the respective remove_xxx.pk3 file(s) into your mod folder (or etmain folder when you don't run a mod) and restart the server. To disable Delete the respective file(s) and restart the server. It removes the respective map file from the "Vote"-menu, so players can't vote for it. Though its still possible for players to use "callvote map" console command. To counter this the pk3-files also contain altered map scripts, so as soon as warmup is over the map is finished (with the attacker as winner!). The script can't prevent the server from entering warmup, but during warmup messages are shown which notify the players about the deactivation of this specific map with a request to use the "Vote"-menu to vote for another map. The respective *.arena-file from pak0.pk3 is replaced by an empty file using a custom pk3-file. This makes the map disappear from the "Vote"-menu. Players can still use console commands like "callvote map battery" to change the map (the .bsp file is still there!). To prevent this, the pk3-file also contains a altered mapscript, so the map can't be played. Only the warmup is running, showing several messages with the request to use the "Vote"-menu to vote for another map. As soon as warmup ends, the attacking team is set as winner and a "wm_endround" command is issued. Q1: Players can still use "callvote map" commands to change the map. Any way to prevent this? A1: There is no way to prevent this w/o creating a mod. Q2: After a "callvote map" command succeds the map loads and warmup is entered. Any way to prevent this? A2: There is no way to prevent this w/o creating a mod, but the pk3 files also contain altered map scripts, so the map ends as soon as warmup is over. Q3: The pk3-files don't work, the maps/campaigns are still shown in the "Vote"-menu. What is wrong? A3: Since custom pk3-files are used to replace stock content, other pk3-files can replace this content too. There are 2 ways to fix this: Q4: After a successful map vote the map playes normally instead to end right after warmup, what is wrong? A4: Either other pk3-files interfere with the remove_xxx.pk3 files (i.e. they contain altered map scripts, see A3 for a fix) or you running a mod with custom mapscripts enabled for this map - remove (or rename) the custom mapscript file in your mapscript directory. For comments, bug reports etc. please visit: http://forum.splatterladder.com/index.php?showtopic=8202 (i.e. this forum thread). -------------------- |
|
|
Oct 15 2008, 02:00 AM
Post
#2
|
|
Private Group: Members Joined: 15-October 08 From: Vienna, VA USA Member No.: 77624 |
Brilliant! Works like a charm on my ETPub 0.8.1 server. Thanks for the great tool.
-------------------- |
|
|
Aug 27 2010, 04:01 PM
Post
#3
|
|
Master Sergeant Group: Members Joined: 31-October 07 From: Croatia Member No.: 61826 |
ty
-------------------- |
|
|
Lo-Fi Version | Time is now: 5th November 2024 - 08:25 AM |