In my game I need some teleporters:
1. they should be aktivated by a GUI.
2. you should be able to chose the destination teleporter with that GUI.
You chose Teleporter 5 and get teleported there. There you deside to ge to Teleporter 23 ...
Is it possible to make something like that?
When yes what should I edit?
your question is a good one!
Please give me one or two more days to come up with a proper answer - I'll at least augment one of the existing example maps with a functioning teleporter that can serve as an example, then write down all essential steps.
It's not yet ready though, and I'll have little time over the weekend, but I'll have a complete example map and improved documentation for you in the course of the next week.
What slowed me down is the fact that I found a series of minor but subtle problems along that way, and I wanted to take the time to fix them all, see http://trac.cafu.de/timeline for details.
I finally have a reply for you:
A new CaWE tutorial: Creating Teleporter Stations
It's not yet polished and there is not much eye candy involved, but it's a nice and simple start for more sophisticated teleportation results.
Please note that you must get the latest source code for this to work: At least r68 is required. You can download it as usual at http://www.cafu.de/downloads or get it from SVN head.
The latest source code not only contains the required basic enhancements for the teleporters to work, it also includes all example files mentioned in the tutorial.
I'll update the binary Worlds.zip file and the binary development release with a ready-made, fully working example later, but you don't need those if you work with the latest source code anyways.
I think the problem is because the info_generic entities in the map with the door are named like "info_generic_001" when it should be "info_generic_1" (without the leading zeros), because this is what function teleport in the map script expects.
You can fix the problem either by renaming the info_generic entities in the map, or by fixing the map script to look for three-digit named info_generic entities.
Users browsing this forum: No registered users and 2 guests