Please email me any comments or bug issues you find at '[email protected]'
A quick guide how to use this system..
Look for the file in this folder 'teleporters.cfg' at this path, 'DATA/TELEPORTERS/teleporters.cfg'.
Open 'teleporters.cfg' with notepad (or similar program)..
Inside you will see a list of file path locations that is included in this release, these are standard UO map locations
for dungeon exits and entrances and other places where a player is teleported (like certain caves).
The coding was done by Geos (aka Frazurbluu)
The location data was assembled here by the Shard Engine team - Geos (aka Frazurbluu), Dragon Heart (aka Dragon Slayer)
This is an easy system to change for custom map users.
Here are the first three..
Note: When entering these file paths in the teleporters.cfg always use a / (this is the way the code wants to read it).
These are the data paths this feature will read files from. The last name in the entry is always the file name.
The file will always be a cfg file but the extension is not used when it is being read from by the code, do not add it!
So for these first three we will have three files, they will be found in the 'DATA/TELEPORTERS/FELUCCA/DUNGEONS' folder.
There are many more included in this code release.
Create new ones as needed. Remove any you don't want.
If 'teleporters.cfg' isn't present or contains no file paths this feature will automatically not be used.
Open 'BritainSewers.cfg' with notepad (or similar program) and you will see lists of data.
Each line entry will contain the info for a teleport location.
Each entry will be a two way teleporter back and forth as long as the 'ONEWAY' setting is false.
The first line reads,
Here is the entry order for the data..
FROM-TO-LOC x,y,z,m TO-FROM-DEST x,y,z,m ACTIVE NPC COMBAT CRIMINAL FX FX1 SOUNDID DELAY ONEWAY BONDED
FROM-TO-LOC X, Y, Z, MAP .
TO-FROM-DEST X, Y, Z, MAP
ACTIVE TRUE|FALSE Used to turn it ON or OFF without removing it.
NPC TRUE|FALSE NPCs can use this teleporter location.
COMBAT TRUE|FALSE Teleporter can be used while character is in combat.
CRIMINAL TRUE|FALSE Teleporter can be used while character is criminal.
FX FX1 Graphic Effects triggered when teleporter is used.
SOUNDID Sound effects triggered when teleporter is used.
DELAY A delay timer that must expire before teleporter can be used again.
ONEWAY The teleporter is one way to the destination, no return location is used at least by this data entry.
BONDED TRUE|FALSE Only bonded pets can teleport with the Player when the teleporter is used.
That's it! A quick easy way to add itemless teleporters into your shard, reducing the number of items and the network traffic associated with them.
Look for possible updates in the future to include 'in game' editting of the data files.
Certain parts of this code was removed to be compatable with ServUo. (Configuration and Logging)