Team and Yaw teleporters

Anything about UT2004 mapping, Uscripting & more
User avatar
Cat1981England
Posts: 2324
Joined: Mon 23. Aug 2010, 15:35

Team and Yaw teleporters

Postby Cat1981England » Mon 17. Jul 2017, 19:45

I know that we have Team Specific Teleporters and Yaw Teleporters, but does anyone know of an actor that can do both?

Basically, there's a pickup in one of the upcoming maps which is underwater at the centre of the map and immediately below there is a teleporter. What i would like is for players to be teleported back to their own side of the map, but also, because it's underwater and they could enter from 360 degrees, for the exit to be forced.

?
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

User avatar
Pegasus
Posts: 1019
Joined: Wed 4. Nov 2009, 23:37
Description: ONSWordFactory
Location: Greece

Team and Yaw teleporters

Postby Pegasus » Fri 21. Jul 2017, 17:31

Took me a few days before I could take a proper look at this, but taking into account your target scenario's constraints, there doesn't seem to be any need to actually meld the two teleporter variants into a unified custom new one - let's hypothetically call it TeamSpecificYawTeleporter.

To wit, your requirements for departing actors are limited to team affiliation (so TSTs work there), and for arriving ones require only a yaw constraint, which YTs already do. Putting it all together, and assuming I've not misunderstood your aim, overlapping the two TSTs and pointing each one's URL property to its corresponding YT exit should be able to achieve what you're looking for. Only reason one might require TSYTs would be if the trips between teleporters had to be bidirectional on top of the aforementioned 2 requirements, which, I assume, wouldn't really square with what you're trying to craft, game design-wise.

A quick proof of concept/demo I put together to see how the TST-YT pairings might work out in practice can be found right below.
ONS-Torlan_TSTnYT_pairs_demo.rar
TeamSpecificTeleporter and YawTeleporter pairings exhibited in Torlan.
(1.73 MiB) Downloaded 50 times


Hope that helps.
Image

User avatar
GLoups!
Posts: 383
Joined: Fri 3. Feb 2012, 17:57
Description: Just play for fun.
Location: Fr

Team and Yaw teleporters

Postby GLoups! » Fri 21. Jul 2017, 20:28

Tips: for unhide the source code: in unrealed actor browser, add an empty line, delete this line, compile changed, export changed script and you've got it by exporting in ut2004/mylevel folder :silent:

Edit: sorry for that ;)

User avatar
Cat1981England
Posts: 2324
Joined: Mon 23. Aug 2010, 15:35

Team and Yaw teleporters

Postby Cat1981England » Sun 30. Jul 2017, 20:06

Thank you both :thumbup:

I should really have been able to work that out :oops:
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.


Return to “The Creative Corner”



Who is online

Users browsing this forum: No registered users and 1 guest