Re: multiple teleport locations
Posted by smidsy on
Thu Jun 9th 2005 at 11:13am
Posted
2005-06-09 11:13am
smidsy
member
143 posts
44 snarkmarks
Registered:
Dec 4th 2004
Occupation: ex army, working as electrition
Location: uk
this is from just the one tirgger_teleport to 4 other locations. ive
tried likning them to the 4 teleport locations but to no aval. i dont
know how to make it random so that if you walk into 1 you will go to a
completely random location 4 teleport locations but to no aval.
would this be possible? or am i missing something?
Re: multiple teleport locations
Posted by Quaver on
Thu Jun 9th 2005 at 11:59am
Posted
2005-06-09 11:59am
Quaver
member
144 posts
104 snarkmarks
Registered:
Oct 28th 2003
Occupation: Student
Location: London
I dont this before but i cant remember how i done it, ill just check my map.
[edit]Turns out my map was for half life so its randomness could be easier to make in hl2.
[edit2]I worked it out, im writing it up now.
[edit3]
Here you go:
1. Place a logic_case in your map, and set these properties.
Name = random
Case 01 = change_1
Case 02 = change_2
Case 02 = change_3
2. Place a logic_timer in your map and add turn use random time to yes.
Give it an output of ontimer target random via pick random.
3. Make a brush and tie it to trigger_teleport with name teleporter
4. Make 3 ai_changtargets with the names change_1, change_2 and change_3.
Make their target entitys teleporter and the new targets dest_1, dest_2 and dest_3.
5. Back at the logic_case give it these outputs:
oncase01 target change_1 via output activate
oncase02 target change_2 via output activate
oncase03 target change_3 via output activate
6. Place 3 teleport destinations with the names, dest_1, dest_2 and dest_3.
I made an exaple map but im having trouble uploading it but hopefully thats enough.
Re: multiple teleport locations
Posted by French Toast on
Thu Jun 9th 2005 at 11:54pm
Posted
2005-06-09 11:54pm
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
I tried finding something, but to no avail.
Re: multiple teleport locations
Posted by Dr.Satan on
Tue Apr 22nd 2008 at 6:12pm
1 post
0 snarkmarks
Registered:
Oct 31st 2007
[edit] it seems the fortress forver FDG does not include the ai_chagetarget entity, please ingore and / or delte this post.
I map for fortress forever and am having the same problem the OP of this thread had.
I am making a concmap and want to have the trigger_teleports teleport a player to one of 4 or 5 random info_teleport_destinations if / when they miss their jump. This is to keep players from clipping into each other and having to use cheats or something to get out.
I found the solution above (by Quaver) here and on another tutorial using google, but when I attempt to follow it, I can not for the life of me find the ai_changtarget entity. I have tried checking my entity list and creating a brush and tying it to said entity but in both cases I do not have any entity by that name in my list.
I would use the link (http://www.hl2world.com/wiki/index.php/Normal_and_random_teleports) posted above, but I?m leery of using the same 4 destinations 16 times and it seems I have to do it that way to use the logic_case. I think this would allot for more instances in which players get stuck then I would like to because it increases the probability that the ?random picker? will pick the same destination and I really don?t need or want 16 spawns, just 4 or 5.
Has the ai_changetarget entity been removed since or am I just completely blind and / or not looking in the correct place?