Hi! been working on this for a while, and finally feel confident enough to release it (DM me with any and all bugs bc I am sure there are some). This script tutorial and prefab combo is bacically a drag and drop adaptation the teleporters from the map "five" albeit modified for general use with a few new changes and features. (Mostly on the zombies side.)
Instructions: 1) Drag the folders into your root directory. ------------------------------------------------- 2) Open useraliases.csv in share>raw>sound>aliases and add the following lines:
------------------------------------------------- 3) Open your mapname.gsc located in usermaps\"mapname"\scripts\zm and add: Add this to your mapname.gsc:
Underneath: #using scripts\zm\zm_usermap;
add: after:
then add:
At the end of the file.
-------------------------------------------------- 4) Open your maps zone file located in usermaps\"mapname"\zone_source and add these lines: -------------------------------------------------- 5) Add the prefabs to your map in map_source\_prefabs\orng: - static_tele_pad_base.map is an optional teleporter that only teleports to the static_tele_pad.map group (unless specified otherwise). (Can be more than one.) - static_tele_pad.map is an optional teleporter for the static_tele_pad_base.map group to go to (unless specified otherwise). (Can be more than one.) - tele_pad.map is the teleporter and final position after teleporting. Use as many as you like. - zombie_tele_point.map is where the zombie will end up after following the player through the portal. This is optional and use as many as you like. (picks the closest to the player.) -------------------------------------------------- 6) Compile your map as per usual and you are done! -------------------------------------------------- EXTRAS) There are a couple of options in the teleporter.gsc script (located in share\raw\scripts\orng)
Spoiler: click to open...
You can also change the fx and add sounds to be something a little less ghetto xD.