Show Posts
|
Pages: [1]
|
1
|
Other / Trouble in Terrorist Town / Re: TTT Randomized Win Music?
|
on: November 04, 2011, 04:40:58 PM
|
Sorry to be a bother, but I just tried both, and they didn't work. :U... I'm putting the file into "lua/autorun/server" I'm decently new to lua, so I'm sorry if I'm a pain in the booty. Can someone walk me through the variables in tommy's script? Are the strings inclusive to what files are being downloaded? do I have to add a completely different section for traitors? etc. Thanks.
|
|
|
2
|
Other / Trouble in Terrorist Town / TTT, No Steam Logon Disconnect
|
on: October 29, 2011, 06:22:40 PM
|
I've been having a problem on my server, usually a sound loops over and over again (Not a custom sound, Like someone moving a metal door), or its right on connect, and a person Disconnects for no steam log on, when in the server console it says, "STEAMAUTH Client <NAME> received failure code 6" A few times, then that person crashes, Is this happening to anyone else? How do I fix this? Thanks
|
|
|
3
|
Other / Trouble in Terrorist Town / TTT Randomized Win Music?
|
on: October 29, 2011, 12:13:33 AM
|
I know that there's a way to code in win music depending on the team who won is, or was. But, Say I had 5 traitor win songs, and 5 innocent win songs, What would I do to make them randomly pick from those depending on who won? An example of what I have so far is as follows : resource.AddFile("sound/ttt/traitorwin1.mp3") resource.AddFile("sound/ttt/innocentwin1.mp3") local function PlayMusic(wintype) if wintype == WIN_INNOCENT then BroadcastLua('surface.PlaySound("ttt/innocentwin1.mp3")') elseif wintype == WIN_TRAITOR then BroadcastLua('surface.PlaySound("ttt/traitorwin1.mp3") ') elseif wintype == WIN_TIMELIMIT then BroadcastLua('surface.PlaySound("ttt/innocentwin1.mp3")') end end hook.Add("TTTEndRound", "MyMusic", PlayMusic)
I know that designates only one song per team, but What would I have to do to make it select from one of the 5 traitor songs when a traitor wins, or from the 5 other songs when innocents win, thanks!
|
|
|
5
|
Other / Trouble in Terrorist Town / Re: HELP: STOOL/SWEP Adding.
|
on: October 25, 2011, 04:50:49 AM
|
http://pastebin.com/5tD3bANQ Wow, didn't mean that triple post. Sorry. :U And the drawworldmodel true thing at the bottom, its originally false, Don't know if that has to do anything with it, I tried with and without, and still no dice.
|
|
|
8
|
Other / Trouble in Terrorist Town / Re: HELP: STOOL/SWEP Adding.
|
on: October 24, 2011, 06:58:19 PM
|
What would I do here for example. I would like to add http://www.garrysmod.org/downloads/?a=view&id=103959 to take over the holstered spot for the detective, but the guns I currently added only come with lua files, which are auto determined by CSS, do I force download to the cl_init, Shared, And init files, along with editing them so they're ttt base? I don't really get it. Thanks. :U
|
|
|
11
|
Other / Trouble in Terrorist Town / HELP: STOOL/SWEP Adding.
|
on: October 24, 2011, 03:33:44 AM
|
Hi, I'm a little new to lua coding, and was wondering if anyone would like to take some time and introduce me how to add generic sweps/stools to TTT, I know how to use shared Lua guns in the game, but for addon based tools and sweps, its a different story. If anyone is willing to help I'll be greatly happy. THANKS. :D
|
|
|
13
|
Other / Trouble in Terrorist Town / TTT Weapon Scripts?
|
on: February 07, 2011, 09:22:43 PM
|
There might be a topic out there somewhere, but i'm kinda new to this, Is there anyone out there willing to upload a link to some weapon spawns for any TTT maps/CS/HL2 maps? Very much appreciated.
|
|
|
|
|