Sven Co-opedia Wiki

This article is a stub.
Please help the Sven Co-opedia Wiki by expanding it.
Thank you!

game_end is a very simple map function that when triggered, ends the game, at which point all active entities will stop working and the scoreboard is displayed. The server will then revert to the mapcycle to load the next map. This entity is should be used in the final level of a map series.

This entity replaces the now obsolete brush entity trigger_endsection, which instead ends the game entirely instead of the map itself. While this entity works in Sven Co-op, the effect is undesirable, as it will disconnect players from a server to the title screen, which of course made sense originally in Half-Life. This is to be considered when converting Half Life maps to Sven Co-op. Should you find a trigger_endsection for the last map in a campaign (that has the spawnflag 1 enabled), simply replace the classname with "game_end" and remove it's "model" keyvalue.

If the trigger_endsection is not set to "use only", then you must change it to a trigger_once and create a new game_end that is targeted by this trigger once.

Point Entities ambient_generic · ambient_music · ammo_ · custom_precache · env_xenmaker
game_counter · game_counter_set · game_player_counter · game_player_equip · game_end
item_inventory · multi_manager · multisource · monster_ · player_weaponstrip · squadmaker
trigger_auto · trigger_relay · trigger_changetarget · trigger_changevalue · trigger_changesky · trigger_random
weapon_ · weaponbox
Brush Entities func_conveyor · func_wall
trigger_changelevel · trigger_once · trigger_multiple
Obsolete Entities trigger_endsection · trigger_counter · trigger_autosave