Post: [Lua] Teleport Bind Script
09-27-2015, 10:54 PM #1
Tustin
Balls of Steel
(adsbygoogle = window.adsbygoogle || []).push({}); This is a basic teleportation script that I wrote which lets you save a position, teleport to the saved position and also teleport to your buddy. I've already compiled the 00.dat so you can just transfer it on your PS3, but I also included the script the code is in (TppPlayer.lua).

Porting to PC


The TppPlayer script is from PS3, and I don't know how different it is from PC. To be safe, search for this string inside my TppPlayer.lua: "function e.Update()" (without the quotes).

You should only find one result, and below it should be a comment. If you see the comment then you know you found it correctly.

Copy scroll up a tiny bit until you see the "start copying here" comment. Copy the code in between this comment all the way down to the comment "end copying here".

In your PC TppPlayer.lua, find the same string again ("function e.Update()"). Select everything on that line (it should look like this You must login or register to view this content.) and paste in the code you copied. Viola!

Installing on PS3


Download the 00.rar file below and extract 00.dat from it.

On your PS3, make sure the latest TPP patch is installed. Navigate to this directory: /dev_hdd0/game/BLES02102/USRDIR/master/0/.

Backup your current 00.dat file if you want, then copy over the modded 00.dat you just downloaded. Load up TPP, start a mission or enter free roam and you should be able to use the binds.

Controls


If you port this to PC, then I have no clue if you'll need to edit the code so it uses the keyboard instead. If you play with a controller then it should be fine. However the controls below are for a PS3 controller.

Circle + DPAD Left - Save your current position
Circle + DPAD Right - Load your last saved position
Circle + DPAD Down - Warp to your buddy's position (Use Quiet if you want to get out of the map)

Downloads


The 00.rar below contains the teleport binds and the code to get Quiet back if you lost her. It has no other mods but if you want to add them, decrypt my 00.dat and add them OR download the TppPlayer.lua file and just replace it with yours.<div class="row">
<div class="col-md-6">
<a href="https://tusticles.com/mgs" class="btn btn-danger btn-block" target="_blank">00.dat (With teleport binds and Quiet back)</a></div><div class="col-md-6">
<a href="https://tusticles.com/scripts/TppPlayer.lua" class="btn btn-danger btn-block" target="_blank">TppPlayer.lua (See how I did it or port to PC)</a>
</div>
</div>


Here's a video of it:


Enjoy! Also feel free to reply with any suggestions on how to improve it or what to add.

The following 15 users say thank you to Tustin for this useful post:

cl_21, cuartaesfera, dolby1, doneo, Helping-Hand, MzNet, OpGreece.!, Darth Saul, qertie, qNSp, Rey, RoRoH_AR, SC58, undergroundhavn, Vicodin10
09-28-2015, 09:27 PM #11
Tustin
Balls of Steel
Originally posted by harlington2001 View Post
Does this work on Cex?

Yeah, these mods would even work on OFW if you data transferred the patch over.
09-28-2015, 09:37 PM #12
Originally posted by Big
Yeah, these mods would even work on OFW if you data transferred the patch over.


Very Nice. I Like
IGN 69/420

The following user groaned harlington2001 for this awful post:

hello10110
09-29-2015, 12:16 AM #13
Originally posted by Big
Yeah, these mods would even work on OFW if you data transferred the patch over.


Could you edit the script so you can teleport to where your marker is located??
09-29-2015, 03:02 AM #14
Tustin
Balls of Steel
Originally posted by harlington2001 View Post
Could you edit the script so you can teleport to where your marker is located??

I tried looking into that. Wasn't able to find the proper marker list anywhere yet. I'm sure it's possible, but I just haven't had much time to look through all the scripts properly.
10-08-2015, 01:44 PM #15
JakeRobles
Little One
This is amazing, has anyone tested it on the USA PSN version yet (NPUB31594)?
10-08-2015, 04:53 PM #16
HeroWin
Java Developer
Originally posted by JakeRobles View Post
This is amazing, has anyone tested it on the USA PSN version yet (NPUB31594)?


So far 00.dat works across the board... its just till a matter of time till some consoles stop getting updates
10-10-2015, 06:50 AM #17
this mod works online with the new update?
10-10-2015, 02:14 PM #18
this mod works online?? in 1.05? and there is ban??

and can you tell me how i can to play Online, because the game ask me to install something from PSstore... but i don't want to go in store with my jailbreak...
10-11-2015, 03:21 AM #19
Tustin
Balls of Steel
Originally posted by nirvana4483 View Post
this mod works online?? in 1.05? and there is ban??

and can you tell me how i can to play Online, because the game ask me to install something from PSstore... but i don't want to go in store with my jailbreak...

Haven't tried it online. I might do so in a bit and see if I can get your buddy's location online to teleport to instead.

Here's a link to the EU MGO game data. Just install this and you're good to go:
You must login or register to view this content.

The following user thanked Tustin for this useful post:

nirvana4483

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo