Garry's Mod

Garry's Mod

Team Deathmatch Gamemode [OUT DATED, READ DESCRIPTION]
Denne tråd er blevet låst
Shalomosome 18. aug. 2014 kl. 15:56
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?
< >
Viser 1-2 af 2 kommentarer
Shalomosome 19. aug. 2014 kl. 0:36 
Maybe a Give give current weapon ammo function off spaw wouldnt hurt too...
Dr Apple, PhD 2x Board Certified  [udvikler] 21. okt. 2014 kl. 17:34 
too simple, that kinda goes off my older gamemode that I still have on workshop..
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50