
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Handheld Teleport Device Script
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Version 1.6
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Created by: CoMPuTer MAsSteR [.:AKA:.] CoMPMStR

 Special Thanks to []D[][]\/[][]D
 for all 200 flying rat locations!



This is what you've all been waiting for, a teleport script. This script is unique and allows you to add locations and even remove the selected location from the collection. Alternately, for easier removal, you can clear the entire collection with only 1 keypress. You can cycle through each of the items forward or in reverse, update the selected location with your current location, and warp to the selected location. It's all thanks to HazardX and his .NET ScriptHook, without it this wouldn't be possible.


NEW in v1.1:

 - Fixed the issue of the teleport function placing you in the water/underground.
 - Added a confirmation message to the update location hotkey.
 - Street name is now displayed after teleporting to a location.

NEW in v1.2:

 - Added fade in and out when teleporting to a location.
 - Added enviornmental loading when teleporting to a location.
 - Fixed some other small things.

NEW in v1.3:

 - Updated to work with the new scripthook version.
 - Improved all loading functions.

NEW in v1.4:

 - Added various console commands to simplify script usage.

NEW in v1.5:

 - Updated to work with the latest scripthook version.
 - Added a new console command to save the settings, keys used.

NEW in v1.6:

 - Updated to work with new game version and scripthook.
 - Added a feature to teleport you to your last vehicle and vice versa.
 - Added a feature to teleport you to the selected waypoint on the map.
 - Added a feature to teleport all peds/cars around Niko.


This script allows you to configure the hotkeys used to your liking. The keys are assigned the numerical representation of the respective VK enum. I've included a text file with a listing of all available keys, incase some of you don't know the numerical value of the key you'd like to use.

NOTE: You can change the options during gameplay without exiting the game. After you've saved any changes, simply reload the game and the changes will take effect. Alternately, you can toggle the scripthook console and type the command 'reloadscripts' to reload them without reloading the game.



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Default Hotkeys:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Numpad Add (107): Next Location Index
Numpad Subtract (109): Previous Location Index
Numpad Multiply (106): Teleport/Warp
Numpad Divide (111): Update Location
OemPlus [+=] (187): Add Location
OemMinus [_-] (189): Remove Location
OemBackslash [|\] (226): Clear Location Data
OemOpenBracket (219): Load Teleport Data
OemCloseBracket (221): Save Teleport Data
Backspace (8): Warp Entities


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Options Information:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Next Location Index: Increases the current location index by 1.
Previous Location Index: Decreases the current location index by 1.
Teleport/Warp: Teleports Niko to the selected location. Hold the CTRL key to teleport Niko to the selected waypoint on the map (set with right click). Hold the ALT key to teleport Niko to his last vehicle, if available. Hold SHIFT+ALT to teleport Niko's last vehicle to your position.
Update Location: Updates the selected location with Niko's current position.
Add Location: Adds a new location to the data collection.
Remove Location: Removes the selected location from the data collection.
Clear Location Data: Removes all the locations from the data collection.
Load Teleport Data: Loads the data collection from the location data file.
Save Teleport Data: Saves the data collection to the location data file.
Warp Entities: Teleports either peds or vehicles from the current area around Niko. Hold the CTRL key to actually teleport the entities, press alone to cycle which to teleport.


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Settings Information:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

[KEYS]
NEXTINDEX = Next Location Index
PREVINDEX = Previous Location Index
TELEPORT = Teleport/Warp
UPDATE = Update Location
ADDLOC = Add Location
REMOVELOC = Remove Location
CLEARLOC = Clear Location Data
LOADTELEPORT = Load Teleport Data
SAVETELEPORT = Save Teleport Data
WARPENTS = Warp Entities


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Console Commands:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

htd_warp_ents
htd_warp
htd_add
htd_rename
htd_update
htd_remove
htd_load
htd_save
htd_save_settings
htd_key_change
htd -OR- htd_help



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 To Install:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

First you will need to obtain a copy of HazardX's .NET ScriptHook. After you've installed the .NET ScriptHook simply copy the /scripts folder to the GTAIV root folder.

Optional: If you choose to use the default hotkeys, you don't need to copy the "telesettings.ini" file. However, if you do intend to change some things, you need to copy the "telesettings.ini" file to the same location as the script, in the <GTAIVROOT>/scripts folder.

Optional2: Also included in the /scripts folder is a file "locdata.ini". This file saves all the teleport location data you record with this script, and like the rest, needs to be copied to the <GTAIVROOT>/scripts folder if you plan to use it. The initial file only contains 52 slightly random locations around the map.

Optional3: I've included another "locdata.ini" file containing all 50 stunt jumps (located in the /scripts/stunt jumps folder). You can choose to copy this file into the <GTAIVROOT>/scripts folder if you don't have any previous location data saved, or you can merge it's contents with your existing "locdata.ini" file.


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Minimum Requirements:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

.NET Framework v2.0
GTAIV PC Installation
Any ASI Loader
HazardX's .NET ScriptHook


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Recommended Requirements:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

.NET Framework v3.5
GTAIV PC Installation
Any ASI Loader
HazardX's .NET ScriptHook


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 Links:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

.NET Framework v3.5:
 - http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6
ASI Loader by Alexander Blade:
 - http://www.gtaforums.com/index.php?showtopic=380830
Xliveless by listener:
 - http://www.gtaforums.com/index.php?showtopic=388658
YAASIL - Yet Another ASI Loader by HaxardX:
 - http://www.gtaforums.com/index.php?showtopic=394806
.NET ScriptHook by HazardX:
 - http://www.gtaforums.com/index.php?showtopic=392325



-+-+-+-+-
 Contact
-+-+-+-+-

If you have any comments, questions, problems or anything else regarding this software:
 - Email: computermasster[at]gmail[dot]com
								~EOF~