What entities do you have to use in orde Created 14 years ago2010-08-06 07:12:07 UTC by steelfist steelfist

Created 14 years ago2010-08-06 07:12:07 UTC by steelfist steelfist

Posted 14 years ago2010-08-06 07:12:39 UTC Post #283943
I am talking about a single player level of half-life 2, when you get to the end how do you tell the player that it is the end right there ? and what type of entites should you use ? thanks

EDIT: Also are they the same for both half-life 2 and half-life ?
Posted 14 years ago2010-08-06 07:28:31 UTC Post #283944
You could simply use an env_fade to fade to black, and you could use a game_text to write a message telling the player that he has reached the end.
You could also use a point_clientcommand and give it a command via imput which makes the game quit the map automatically
Madcow MadcowSpy zappin my udder
Posted 14 years ago2010-08-06 10:15:58 UTC Post #283947
isn't there a game_end entity? or segment end? check the entity listings. I can't right now, I'm at work on my iPhone lol.
Tetsu0 Tetsu0Positive Chaos
Posted 14 years ago2010-08-06 20:05:43 UTC Post #283958
Entities required
These are the entities needed for a credit sequence. This is certainly not the only way of doing a credit sequence: the list is by no means definitive and some of these entities are optional.

env_fade - to fade the screen out
player_weaponstrip - to remove the player's suit and weapons
point_teleport/trigger_teleport - now you've faded the player's screen to black, why not put them into a nice dark room to avoid any glitches with the fade
env_soundscape - to set the soundscape to be silent
ambient_generic - to play music during the credits
env_credits - to display the actual credit roll
point_clientcommand - use the command startupmenu force to force the game to quit to the menu

Source
Posted 14 years ago2010-08-07 06:37:27 UTC Post #283965
Hey also is there an entity to make the game go to the next level too ?
You must be logged in to post a response.