SoHL: Random Teleporter

Spirit of Half-Life Spirit
SoHL: Random Teleporter by Jessie
Posted 9 years ago2015-04-14 07:03:56 UTC • Examples • Spirit of Half-Life
Loading...
Screenshot Thumbnail
Name
SoHL: Random Teleporter
By
Jessie Jessie
Type
Map
Engine
Goldsource
Game
Spirit of Half-Life
Category
Examples
Included
BSP, RMF/VMF
Created
9 years ago2015-04-14 07:03:56 UTC
Updated
9 years ago2015-04-14 07:07:17 UTC
Views
2250
Downloads
525
Comments
6
Download

This example map shows a simple setup in Spirit to make a teleporter that chooses a destination from a set at random for each teleport.

As the weightings for each destination are set manually, you could use a similar setup to make, say, three destinations picked at random with another destination only chosen 1% of the time. The probabilities are endless!

6 Comments

Commented 9 years ago2015-04-14 19:49:48 UTC Comment #20849
It's been done in vanilla. http://twhl.info/vault.php?map=5591

This may be less effort though.
Commented 9 years ago2015-04-14 20:27:34 UTC Comment #20850
Indeed! I guess I also wanted to highlight the other modes of a multi_manager in Spirit. I didn't notice them at first, and they seem like they could be used for all sorts of interesting effects.
This also is a more true randomness as opposed to the... "simulated" randomness vanilla forces that setup to use. If used in a deathmatch map, people entering the teleporter at the same time might get stuck in each other. There's also the weighting thing, which would take serious redundancy to replicate in vanilla.

The setup I was considering when I tested this was a map where a certain section of the level could be cut off, and if that happens, have a teleporter that would effectively "respawn" the player back into the main part of the map.

Incidentally, does anyone know how the game picks a respawn point? Is it random, or on a cycle, or is it affected by where you die, etc.
Commented 9 years ago2015-04-15 03:35:58 UTC Comment #20851
Also, I think it's possible using a different setup to make a teleport which picks a truly random spot within an entity's area. I might test that out, because that certainly isn't happening in vanilla.

EDIT: http://twhl.info/vault.php?map=6051
Commented 9 years ago2015-04-19 01:30:24 UTC Comment #20853
Nice to see some more detailed example maps, well done! =P
Commented 9 years ago2015-04-19 09:12:04 UTC Comment #20854
I have made the same thing a few years ago with using the env_beam random function. It randomly changes the teleport destination each round.
Commented 9 years ago2015-04-21 11:02:15 UTC Comment #20855
As in CS rounds, I take it?

You must log in to post a comment. You can login or register a new account.