Welcome, Guest. Please login or register.
Did you miss your activation email?
November 10, 2024, 05:01:31 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Initiate map voting after end of rounds
Pages: [1]
Author Topic: Initiate map voting after end of rounds  (Read 5440 times)
tgp1994
Poster

Posts: 40


« on: October 25, 2010, 07:37:30 PM »

I think it would be nice if, rather than cycling the maps, TTT initiated a map vote at the end of a game. (Also, as a bonus, it would be nice if it had RTV functionality.)

I know you can edit a few things to use Fretta's map vote, but I sometimes run my server with the intention to cycle gamemodes as well, so I'd rather not have to edit anything.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #1 on: October 25, 2010, 07:51:08 PM »

I am currently developing something.

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
tgp1994
Poster

Posts: 40


« Reply #2 on: October 25, 2010, 11:57:53 PM »

Something, as in something like this? Will we be able to plug it in, or will it require overwriting TTT files?
Redcow
Poster

Posts: 87


« Reply #3 on: October 26, 2010, 01:01:56 AM »

Will it be PUBLIC?

So many specific server only things.. Nothing for communities without developers.
tgp1994
Poster

Posts: 40


« Reply #4 on: October 26, 2010, 01:06:43 AM »

Will it be PUBLIC?

So many specific server only things.. Nothing for communities without developers.


I agree. I'd work on a script for everyone if I had the time.
Manmax75
Poster

Posts: 254


Programming Guy


« Reply #5 on: October 26, 2010, 07:56:43 PM »

It will be a plugin that goes in your addons folder or perhaps I might have to modify the ttt init.lua file to get it to run.

Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
tgp1994
Poster

Posts: 40


« Reply #6 on: October 26, 2010, 08:19:26 PM »

I think all you'd really have to do is use the hooks system, so it should be fine as just an addon.

If you want a server to test it on, we could use mine. (http://tgpserv.game-host.org if you need the website.)
tgp1994
Poster

Posts: 40


« Reply #7 on: November 08, 2010, 10:12:22 PM »

Any status on the plugin?
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #8 on: November 08, 2010, 11:09:03 PM »

Have you tried the new integrated map-only voting?

fretta_voting 1
ttt_fretta_mapvoting 1

Removes the gamemode part from fretta votes, leaving only maps.
tgp1994
Poster

Posts: 40


« Reply #9 on: November 09, 2010, 01:05:34 AM »

Have you tried the new integrated map-only voting?

fretta_voting 1
ttt_fretta_mapvoting 1

Removes the gamemode part from fretta votes, leaving only maps.


Seriously? I never saw that in the gmod update news :(

I'll give it a try, thanks :D

EDIT:

Oh, quick question, how can I get a config file to execute after the gamemode has been loaded up? I want to make a config file specifically for TTT, but the problem is, gmod executes them before the gamemode has loaded.

EDIT2:
The two cvars work great now, thanks! Do you happen to know anything about the config problem and how to fix it?
« Last Edit: November 09, 2010, 03:57:54 AM by tgp1994 »
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #10 on: November 09, 2010, 09:05:58 AM »

Are you talking about a config file on the server, or in your own gmod (client)? I'm pretty sure a server.cfg file is executed after the gamemode loads on the server, or TTT convars wouldn't work. On the client it's harder, I don't think a certain config file loads automatically in gmod after the gamemode loads.
tgp1994
Poster

Posts: 40


« Reply #11 on: November 09, 2010, 08:04:18 PM »

Right, serverside is what I meant.

Is server.cfg really loaded after the gamemode? Bummer, I was hoping of using the exec function in my startup line rather than that having to go through the server.cfg file.

Thanks anyways though, I'll look into it!
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Initiate map voting after end of rounds « 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.009 seconds with 18 queries.