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

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: TTT Voting
Pages: [1]
Author Topic: TTT Voting  (Read 4931 times)
LogicalEvo
Poster

Posts: 4


« on: July 30, 2010, 08:02:36 PM »

Hey guys when i enable TTT voting it enables the Gamemode voting too,
is it possable for it just to enable map voting?
Thanks
Kologer0s
Poster

Posts: 48


« Reply #1 on: July 30, 2010, 10:05:23 PM »

well we just have it to have ttt as the only game mode to pick and it gets picked in like 2 sec so doesnt really matter...

http://bit.ly/Mogzcom MOGZ Gmod TTT + Killing Floor Servers
NaRyan
Poster

Posts: 98


Less QQ more Pew Pew


« Reply #2 on: July 30, 2010, 10:25:56 PM »

well we just have it to have ttt as the only game mode to pick and it gets picked in like 2 sec so doesnt really matter...


Yeah the server does, but you got to edit a lua file to force it to 5 seconds gamemode vote, then it uses the set voting time for the map.
If you wish to use the Fretta voting system (that usualy picks gamemodes and map)
You can edit the file /orangebox/garrysmod/gamemodes/fretta/gamemode/sv_gmchanger.lua

Find the section function GM:StartGamemodeVote()
and change
timer.Simple( fretta_votetime:GetFloat(), function() GAMEMODE:FinishGamemodeVote( true ) end )
to
timer.Simple( 5, function() GAMEMODE:FinishGamemodeVote( true ) end )

the number 5 is the seconds to show the vote gamemode screen, you can try a lower number, however that can cause problems if it's too low, As some players can be stuck on the vote for gamemode screen while others are on the map vote screen.

Also remember to delete any other gamemodes that are fretta based (only other one that comes with GMOD is Dog Fight Arcade)

With that method it will list TTT as a voteable gamemode, so peeps will click on it, however since it's the only gamemode it will always get picked if no-one votes.
Then it goes to the map vote screen.
And it also alows players to use the F1, Fretta, change gamemode or numpad 2 option


Gimme a joint and 3 hours and I can come up with a logical system for karma :D
LogicalEvo
Poster

Posts: 4


« Reply #3 on: July 30, 2010, 11:35:40 PM »

so what if i was to set this to 0, would it just skip it and go onto the votemap?
NaRyan
Poster

Posts: 98


Less QQ more Pew Pew


« Reply #4 on: July 31, 2010, 01:21:33 AM »

Yes it would. but it can cause problems, with some people seeing the vote gamemode option and others seeing the vote map option.

And the fretta voting system can get fussy about receiving votes for something it should not be getting votes for...

Gimme a joint and 3 hours and I can come up with a logical system for karma :D
LogicalEvo
Poster

Posts: 4


« Reply #5 on: July 31, 2010, 02:26:40 AM »

Okay thanks, do you know of any other voting system that I can use with it, like a voting system with RTV and that?
Thanks.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: TTT Voting « 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.