So, I finally got my TTT server to work fine with only a few problems, maybe you guys can help.
1) Maps. I can't figure out how to get a rotation going, it just loads the same map over and over and over again. I put maps in the maps folder and can load them manually but it resets the server, kicking everybody. Very inconvenient.
2) I tried to load ULX onto my server, and i got an error about a missing init.lua file or something. Any ideas?
3) Can someone point me in the direction of a points shop addon, and also an end of round music addon?
4) Jihads, how to enable?
Thanks ahead of time for any help I can get, my first garry's mod server ever.
1) it's called mapcycle. create a .txt file and write all the maps. /orangebox/garrysmod/mapcycle.txt
eks:
de_dolls
ttt_67thway_v3
ttt_bank_b3
ttt_minecraftcity_v3
ttt_67thway_v4
ttt_wintermansion_beta2
ttt_minecraft_b5
ttt_rooftops_a2
ttt_whitehouse_b2
ttt_hotel_b4
de_dust
2) download the latest version of ULX admin panel and put the files in the correct directory.
3)Pointshop : [url]https://github.com/gaz492/PointShop[/url]
[B]end music [/B]
goto orangebox/garrysmod/sound/ttt put any 10-30 sec mp3 files.
goto orangebox/garrysmod/lua/autorun/server and make a lua file called EndofRoundMusic.lua.
resource.AddFile("sound/ttt/innocentwin.mp3")
resource.AddFile("sound/ttt/traitorwin.mp3")
resource.AddFile("sound/ttt/innocetwintime.mp3")
local function PlayMusic(wintype)
if wintype == WIN_INNOCENT then
BroadcastLua('surface.PlaySound("ttt/yourmusic.mp3")')
elseif wintype == WIN_TRAITOR then
BroadcastLua('surface.PlaySound("ttt/traitor_win1.mp3") ')
elseif wintype == WIN_TIMELIMIT then
BroadcastLua('surface.PlaySound("ttt/innocent_win4.mp3")')
end
end
hook.Add("TTTEndRound", "MyMusic", PlayMusic)
4)[url]http://ttt.badking.net/custom-weapon-guide[/url]
[QUOTE=TenBoster;39233768]1) it's called mapcycle. create a .txt file and write all the maps. /orangebox/garrysmod/mapcycle.txt
eks:
de_dolls
ttt_67thway_v3
ttt_bank_b3
ttt_minecraftcity_v3
ttt_67thway_v4
ttt_wintermansion_beta2
ttt_minecraft_b5
ttt_rooftops_a2
ttt_whitehouse_b2
ttt_hotel_b4
de_dust
2) download the latest version of ULX admin panel and put the files in the correct directory.
3)Pointshop : [url]https://github.com/gaz492/PointShop[/url]
[B]end music [/B]
goto orangebox/garrysmod/sound/ttt put any 10-30 sec mp3 files.
goto orangebox/garrysmod/lua/autorun/server and make a lua file called EndofRoundMusic.lua.
resource.AddFile("sound/ttt/innocentwin.mp3")
resource.AddFile("sound/ttt/traitorwin.mp3")
resource.AddFile("sound/ttt/innocetwintime.mp3")
local function PlayMusic(wintype)
if wintype == WIN_INNOCENT then
BroadcastLua('surface.PlaySound("ttt/yourmusic.mp3")')
elseif wintype == WIN_TRAITOR then
BroadcastLua('surface.PlaySound("ttt/traitor_win1.mp3") ')
elseif wintype == WIN_TIMELIMIT then
BroadcastLua('surface.PlaySound("ttt/innocent_win4.mp3")')
end
end
hook.Add("TTTEndRound", "MyMusic", PlayMusic)
4)[url]http://ttt.badking.net/custom-weapon-guide[/url][/QUOTE]
okk so i rented a server from xenon servers and i tried this but yea it hasnt change the rotation its still rotating between flatgrass and such
[QUOTE=zipperboy;45221383]okk so i rented a server from xenon servers and i tried this but yea it hasnt change the rotation its still rotating between flatgrass and such[/QUOTE] try putting it in the /garrysmod/cfg , it should fix the map rotation problem.
[editline]26th June 2014[/editline]
or you can put this line in the server.cfg file, mapcyclefile "mapcycle.txt"
Add a mapvote into your servers autorun, making sure it runs all maps with the "ttt" extension, for your ulx make sure it is properly installed in your addons folder using the most recent version of the program, pointshop is simple, just look it up on youtube, tons of tutorials, its all about simple lua coding. Also, for jihad, its not in vanilla TTT, it must be put in manually. And please tell me this is a NFOServer, and not a Xenon (They Suck)
Sorry, you need to Log In to post a reply to this thread.