Creating teams and loadouts Created 6 years ago2018-09-11 07:17:38 UTC by stalag13 stalag13

Created 6 years ago2018-09-11 07:17:38 UTC by stalag13 stalag13

Posted 6 years ago2018-09-11 07:17:38 UTC Post #340844
Hi im looking for some advice/guidance on creating teams for a goldsrc mod.

I know how to do this within a map by using game_team_master and having the master attribute of info_player_deathmatch set to "teamname".

However i would like to create a mod similar to dod in the sense that you join a server -> select team -> select a class with different weapons/items.

If anyone could point me in the right direction or what files to look at within the source code i would be very appreciative.

Thanks.
Posted 6 years ago2018-09-16 06:40:47 UTC Post #340892
I think the client.dll code has a bunch of code related to those screens though they're not hooked up and ready to use.
The different weapons per class would be handled in the server .dll - I think the Deathmatch gamerules class you can see where you get the crowbar and pistol - you've just switch on pev->playerclass (I think).
Posted 6 years ago2018-11-16 13:39:14 UTC Post #341253
You must be logged in to post a response.