Wednesday, December 31, 2014

[Tutorial] Teleporting Using Scripting DayZ SA

Unknown

How To Teleport Using Scripts - DayZ SA



With the release of @Douggem 's PoC script injector, I decided to do some digging on what all could be done with scripts in DayZ SA. I came across various menus that had some interesting stuff, but for the most part, I didn't understand a thing. Being defeated right off the bat, I took at look at some of the ArmA 2/3 scripting sections, as well as Bohemia's website. After a lot of trial and error I was able to spawn in some V3S's locally, but couldn't get in them. However, after some research I found a way to teleport in DayZ SA with just a few lines of script.

First off, you need to find the coordinates of where you want to go, which is different from the default map's coordinates. For some reason, the Y-Axis is inverted. You have to take 15360 (the max Y-axis value) minus the map's coordinates.

To pull up a map, even if you don't have one, run this script:


Code:



createDialog "RscDisplayMainMap";


Simple right?

To navigate, hold down right-click and zoom with the scroll wheel.

To exit the map, just hit ESC.

It should look something like this:



Your coordinates will be here:



You'll need to multiply your coordinates by 100. So 104 would be 10400, and 128 would be 12800. BUT, you need to alter your Y-axis coordinate, 12800! You need to do:

15360 - 12800 = 2560

Now your new coordinates are (x,y): (10400, 2560)

To teleport to that location is simple. Just create a vehicle there, in my case a V3S_Cargo_Blue, get in it, and then delete the vehicle. I put a small sleep statement in there to make sure the lag didn't rubberband me back.

Here's the script to do that:


Code:



_car = "v3s_cargo_blue" createvehiclelocal [10400,2560,0];

player action ["getInDriver", _car];

sleep 2;

deleteVehicle _car;



The game might lag a bit while doing it, probably because it's loading all of the loot near you!



Video:

[YOUTUBE_ID]oyw-GBkdx40[/YOUTUBE_ID]



Have fun! Happy Hacking!



Credits:

@Douggem for his script injector, which led me to do all this







Ver publicacion completa // See full post --> >>UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats<<




Thx disabilitor

PostDate: December 31, 2014 at 04:22PM

About the Author

Unknown / Author & Editor

Somos una comunidad de gamers estrategas. Buscamos las mejores y mas rapidas formas de realizar cosas en los juegos. Muchos ya nos conocen, visitanos https://www.facebook.com/TLTDLJ/

0 comments:

Post a Comment