Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2024, 12:00:19 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: How to make TTT default gamemode?
Pages: [1]
Author Topic: How to make TTT default gamemode?  (Read 4420 times)
Captain Jackass
Poster

Posts: 10


« on: December 19, 2010, 10:59:14 PM »

Hey guys,

Im new to this forum and to creating a TTT server or a server in general.  I've had help so far along the way to the point I got it running and be able to play on the server.  The thing i want to know now though is that how do I make TTT the default gamemode instead of it being sandbox whenever I would have to restart it or recover it from s crash.

I would really like to know. 

Thanks. Bye.

~Captain Jackass
hayhay89
Poster

Posts: 100


« Reply #1 on: December 20, 2010, 05:03:02 AM »

In ur server config do
sv_defaultgamemode "terrortown"
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #2 on: December 20, 2010, 11:30:12 AM »

Some people have more success with adding it to the commandline of the server, ie.: +sv_defaultgamemode "terrortown"
hayhay89
Poster

Posts: 100


« Reply #3 on: December 20, 2010, 01:33:56 PM »

Some people have more success with adding it to the commandline of the server, ie.: +sv_defaultgamemode "terrortown"


Either way it will still be set to Terrortown
Captain Jackass
Poster

Posts: 10


« Reply #4 on: December 20, 2010, 10:28:41 PM »

Ah Thank You!

Everytime I would restart it would be sandbox.  I don't want to go to Rcon all the time to change to terrortown.

Also, since this is a better place than ever, may I pose a problem I am having?

For some reason the TTT mode on my server spawns with no guns or ammo.  It did at one time spawn the guns and ammo before I tried deleteing everything in the servers gamemode folder.  Now I have got back those files by  updating the server by steam, but the guns and ammo wont spawn.

Thanks for the help so far, Very Appreciated!

I'll PM ya'll my IP if you would like to stop by to check out my developing server/community. :DD
Handy_man
Poster

Posts: 308


SNG community admin


« Reply #5 on: December 21, 2010, 06:37:57 AM »

Depending upon the map you are using (basically any map not made for TTT) you will require a rearm script for the map and place it on the server box named the exact same as the map.

I have never created one but i am pretty sure its very easy just a small tool that you run around placing the guns and ammo down, this is a requirement again for maps that are not made for TTT as far as i am aware.

Example of re-arm:

Quote
weapon_zm_pistol 439.7330 50.6951 16.3147 -0.091 35.993 88.722
weapon_zm_pistol 377.9162 36.4364 16.2793 -0.139 36.020 88.129
weapon_zm_pistol 286.9436 100.2639 16.2963 -0.116 36.008 88.414
weapon_zm_pistol 74.7886 637.2010 8.3621 0.401 36.647 89.182
weapon_zm_pistol 517.8350 648.4048 8.3644 0.345 37.115 88.986
weapon_zm_pistol 928.5542 782.5426 16.2712 -0.150 36.021 87.994
weapon_zm_pistol 1068.6490 635.4532 8.3546 0.311 37.032 89.084
weapon_zm_pistol 979.3432 490.5012 16.3126 -0.094 35.993 88.687
weapon_zm_pistol -564.0228 796.8286 16.2808 -0.137 36.017 88.154
weapon_zm_pistol -796.7821 800.5016 8.3692 0.259 36.614 89.418
weapon_zm_pistol -803.1101 591.4222 8.3484 0.681 36.686 88.717
weapon_zm_pistol -491.1546 526.2190 8.3548 0.551 36.679 88.933
weapon_zm_pistol -388.5468 521.7892 8.3599 0.446 36.661 89.107

Very simple part example of a script then you simply name the script [mapname]_ttt.txt


[b]
Sky-netgaming.com
Captain Jackass
Poster

Posts: 10


« Reply #6 on: December 21, 2010, 02:39:57 PM »

Actually, i don't think I would need to do that because the maps were the ones that came with TTT or were actually TTT pre-made maps.  It was just problem i was having with missing files  i think because when I updated my server for the new Gmod update.  I went on the server and the ammo and guns were back again. My bad. :P

But Thanks for trying to help.  :P
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: How to make TTT default gamemode? « 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.011 seconds with 18 queries.