Newgame spawn: Difference between revisions
Jump to navigation
Jump to search
m (added category) |
(Added a picture) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=newgame_spawn}} | {{wrongtitle|title=newgame_spawn}} | ||
[[Image:Prefab newgame spawn.png|thumb|250px|right|Prefab newgame spawn]] | |||
'''Newgame_spawn''' (located in the "Prefabs HL2" folder) is a Hammer prefab that simulates the player starting out with enough firepower to take on any reasonable challenge in a map. It is designed for testing out Half-Life 2 (single player) maps. | '''Newgame_spawn''' (located in the "Prefabs HL2" folder) is a Hammer prefab that simulates the player starting out with enough firepower to take on any reasonable challenge in a map. It is designed for testing out Half-Life 2 (single player) maps. |
Revision as of 04:06, 30 August 2006
Newgame_spawn (located in the "Prefabs HL2" folder) is a Hammer prefab that simulates the player starting out with enough firepower to take on any reasonable challenge in a map. It is designed for testing out Half-Life 2 (single player) maps.
More specifically the prefab contains a logic_auto entity, an info_player_start, three point_templates, several weapon entities and item_dynamic_resupply entities (to ensure a certain level of health, batteries and ammo).
This is how they work: On the start of a new game, the logic auto will trigger three point templates to spawn the following at the player spawn:
- A HEV suit.
- Enough medpacks to ensure full health.
- Enough batteries to ensure 50% armour.
- All handheld weapons available in single player (crowbar, pistol, .357 magnum revolver, Overwatch assault rifle, bugbait, crossbow, physgun (weapon_physcannon), RPG launcher, shotgun, and submachine gun).
- Enough ammo to provide full ammo for the pistol, submachine gun (including max grenades), Overwatch assault rifle, and the RPG launcher.
- Enough ammo to provide 50% ammo for the shotgun, .357 magnum revolver, crossbow, and fragmentation grenades.