Welcome, Guest. Please login or register.
Did you miss your activation email?
November 25, 2024, 11:29:25 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Removing Maps from vote
Pages: [1]
Author Topic: Removing Maps from vote  (Read 3131 times)
UnknownTBeast
Poster

Posts: 2


« on: April 01, 2011, 02:52:05 AM »

I've been working for the past few days to get my TTT server running properly, but there a few tweaks still to be made. I was able to change the voting so it will not put up a gamemode vote, but how would I go about removing certain maps from the vote? Some maps are not even on the server or downloadurl. Also a related question, how to change the names of the maps shown on the vote selection so the show an actual name, like "Island" instead of "dm_island17"? I've seen it on another server.

I've tried searching the forum and Internet for answer, but with no luck.

Help is much appreciated!
Handy_man
Poster

Posts: 308


SNG community admin


« Reply #1 on: April 01, 2011, 09:32:23 AM »

Well changing the name just wouldn't be practical and unsure why you would want to anyway? what problem does this cause? it wouldn't work changing the name for practical reasons because TTT only loads maps with certain parameters in the map title such as TTT_ dm_ cs_ etc. (guessing you are using built in fretta map voting)

but with things not in the server and still in the votemap well typically they are related to a text file holding this information of a maplist or mapcycle which is old and outdated else its still in the maps folder.

[b]
Sky-netgaming.com
UnknownTBeast
Poster

Posts: 2


« Reply #2 on: April 01, 2011, 07:03:13 PM »

I've seen the name change done before, on another TTT server. I'm sure the actual map name doesn't change, just the display name.

I found no .txt files in my maps folder, could it be caused by something else? And wouldn't having a mapcycle file cause it to skip voting in the first place?
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #3 on: April 01, 2011, 08:40:23 PM »

To prevent a map from showing in the list, you can do two things:

1) Remove it from the server.

2) Modify /gamemodes/terrortown/info.txt as follows. Open in a text editor and find:
        "fretta_maps"
        {
            "1" "^zm_"
            "2" "^ttt_"
            "3" "^dm_"
            "4" "^cs_"
            "5" "^de_"
        }

Below that, add:
        "fretta_maps_disallow"
        {
            "1" "^de_dust"
            "2" "^de_dust2"
            "3" "^dm_island"
        }

And so on for any maps you want to block.

You'll want to keep a backup of the modified info.txt, gmod updates will probably overwrite it.

Showing custom titles instead of filenames for maps requires modifying Fretta, not going into that here. It seems completely useless as well, every player is used to plain filenames.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Removing Maps from vote « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.008 seconds with 17 queries.