Garry's Mod

Garry's Mod

Team Deathmatch Gamemode [OUT DATED, READ DESCRIPTION]
This topic has been locked
Shalomosome 18 Aug, 2014 @ 3:56pm
A thought or 2
For the spawn system i was looking at some code i have and had a idea.
Instead of Having to always set spawns you could make it so if the amount of teams =2 then it could call off a spawn system sorta like in prophunt. The code would be rather simple to do you would just need to set variables for the teamname as to the owner of the spawn points. Maybe You Could take some of this code and edit that...[end

TEAM_RED = 1
team.SetUp(TEAM_RED, "Red", Color(150, 205, 255, 255))
team.SetSpawnPoint(TEAM_RED, {"info_player_counterterrorist", "info_player_combine", "info_player_deathmatch", "info_player_axis"})
team.SetClass(TEAM_RED, {"RED"})

TEAM_BLUE = 2
team.SetUp(TEAM_BLUE, "Blue", Color(255, 60, 60, 255))
team.SetSpawnPoint(TEAM_BLUE, {"info_player_terrorist", "info_player_rebel", "info_player_deathmatch", "info_player_allies"})
team.SetClass(TEAM_BLUE, {"Blue"})
end]
Also it would be nice to do it so a force join is implemented so when a user joins they get meeted by a screen asking them to choose a team...
Also is there a Official server for this?
< >
Showing 1-2 of 2 comments
Shalomosome 19 Aug, 2014 @ 12:36am 
Maybe a Give give current weapon ammo function off spaw wouldnt hurt too...
Bite That Apple  [developer] 21 Oct, 2014 @ 5:34pm 
too simple, that kinda goes off my older gamemode that I still have on workshop..
< >
Showing 1-2 of 2 comments
Per page: 1530 50