Garry's Mod

Garry's Mod

Team Deathmatch Gamemode [OUT DATED, READ DESCRIPTION]
此主题已被锁定
Shalomosome 2014 年 8 月 18 日 下午 3: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?
< >
正在显示第 1 - 2 条,共 2 条留言
Shalomosome 2014 年 8 月 19 日 上午 12:36 
Maybe a Give give current weapon ammo function off spaw wouldnt hurt too...
Dr. Apple, 2x Board Certified  [开发者] 2014 年 10 月 21 日 下午 5:34 
too simple, that kinda goes off my older gamemode that I still have on workshop..
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50