This mod for enables fast-travel between discovered cities and teleport to the last visited city.
Market stands gain the action '[R] Travel to ...' action, with different stands allowing travel to discovered cities (the cities must have been discovered while the modded version was running).
Pressing 'J' while in game will teleport you to the last visited city.
If you have not discovered any other cities (with the mod running) than the city you are in then the action will be '[R] Travel' but you will be informed that you cannot travel to undiscovered cities. Cities are set as discovered based on the map seed, so cities discovered by another character on the same map, or even on a different map with the same seed will be valid targets.
If you downloaded version 0.5 'm', 'v' and 'x' will not work ingame (for map, inventory etc.). Please download version 0.5.1.
- Teleport locations are now updated to point to trader stands when possible
- J key only teleports when the other action keys work (so not in chat)
- A separate folder is used for .sav files
- Fixed the bug when loading a map while right next to a portal (market stand) that portal does not gain the travel prompt
Portal reskin standalone - Rewrite of the portal reskin tool in C to fix the problems people were having with the py2exe version[/size]
Version 0.4 - Fixed the bug where the last city (used for town portal) was not set upon teleporting to a city
Added configurable costs for using portals and the town portal spell[/size]
Version 0.3.2 - Fix for some computers not finding load_world opcodes
Version 0.3.1 - Fix for some computers not finding the push_examine opcodes
Version 0.3 - see release notes
Installing and running
Download fast_travel.zip, unzip and place the files in the CubeWorld folder (C:\Program Files (x86)\CubeWorld\ or C:\Program Files\CubeWorld\). Launch by running TraderFastTravelModLauncher.exe
You will need the x86 version of the Visual C++ Redistributable for Visual Studio 2013 Preview installed.
To reskin the market stalls to portals download portal-reskin.zip and extract the exe and dll to your CubeWorld folder then run ReskinPortals.exe.
If you want teleporting to cost, download fast-travel.ini and place it in the CW directory.
The settings in the fast-travel.ini from the downloads link charges 50 + 10 * <player level> silver coins (100 silver = 1 gold) to use a portal and 25 + 10 * <player level> silver to use the town portal spell. To configure the costs just edit fast-travel.ini with a text editor. The comments (lines starting with a #) should explain how to change the costs.
Feel free to share your ideas in this thread about what configuration create the best balance.
This mod is designed for single-player only. It may or may not work in multiplayer. You are advised to launch the game from the original launcher if you are going to play multiplayer.
Now works in multiplayer!
This mod will contain bugs, please back up your saves in-case something bad happens.
Please report any bugs you find while in single player by posting in this thread, with the 'fast travel.log' file from your CubeWorld installation directory.
If you want to run CubeWorld without this mod, just launch with the original launcher.
If you have re-skinned, delete data1.db and rename data1.db.bak to data1.db.
Sharing city locations
The mod creates word-<seed>.sav files in the CubeWorld directory that you can share to import extra city locations.
This mod may contain undiscovered bugs or vulnerabilities (it's my first c++ project) that may harm your Cube World saved games or computer.
Feel free to post here or create issues in github.
Cube World Mod - Fast Travel by Pedguin
Cube World Mod: Fast Travel / Teleport to Cities by L4zyBrain
Cube World Mod Spotlight: Inter City Fast Travel & Town Portal Abiliity! (V.03) by wolfguy7
Cube World - Fast Travel Mod [REVIEW & TUTORIAL] by manniL
Cube World: Fast Travel Mod v0.1 by ElectroMite
Deza: Portal model
LUDIJAK: Original code for the launcher and the basis of the dll
Xaymar: Research on offsets for the player object
Pedguin: Video used in this post
Edited by synap5e, 05 August 2013 - 04:17 AM.