This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Deathmatch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
("deathmatch" tells the server whether we're in a multiplayer game or not. "coop" is practically unused, even in Sven Co-op)
(Added the "Effects in GoldSrc" section. Not sure if the time is 20 seconds exactly as I measured it using the timer on my phone.)
Line 5: Line 5:
For the game mode, see [[Deathmatch Map Design Theory]].
For the game mode, see [[Deathmatch Map Design Theory]].


==Effects in GoldSrc==
Enabling the <code>deathmatch</code> console variable is essential for the proper functionality of {{ent|Info_player_deathmatch_(GoldSrc)}} as otherwise, players will spawn at a random {{ent|info_player_start_(GoldSrc)}} or at the map's origin <code>(0,0,0)</code>.
This command also allows weapons and ammunition to respawn, with every <code>weapon_</code> and <code>ammo_</code> entity taking 20 seconds to respawn. When creating a deathmatch map, it should also be taken into account that standing at a respawn point of an item still allows it to spawn and be repeatedly picked up, this means that players should be encouraged to keep moving around instead of sticking in one spot.


{{stub}}
{{stub}}

Revision as of 06:38, 1 February 2025

deathmatch is a console variable available in all GoldSrc GoldSrc and Source Source games. It is a leftover from Quake Quake used to tell the server whether the current session is in multiplayer or not. [Elaborate?]

For the game mode, see Deathmatch Map Design Theory.

Effects in GoldSrc

Enabling the deathmatch console variable is essential for the proper functionality of Info_player_deathmatch_(GoldSrc) as otherwise, players will spawn at a random info_player_start_(GoldSrc) or at the map's origin (0,0,0).

This command also allows weapons and ammunition to respawn, with every weapon_ and ammo_ entity taking 20 seconds to respawn. When creating a deathmatch map, it should also be taken into account that standing at a respawn point of an item still allows it to spawn and be repeatedly picked up, this means that players should be encouraged to keep moving around instead of sticking in one spot.

Stub

This article or section is a stub. You can help by expanding it.