Admin tools with player position

clark17

Member
Is there an admin tool that displays the player's position in game (in a debug monitor)?

This could be very useful to easily place new objects or player spawn points.
 
On the Arma main menu press ALT+E to load up the 3D Editor. This is a much simpler way of getting coordinates.
 
Ok but for creating spawn point I need all changes made for the dayz mod. With the in game 3d editor it's original chernarus island only...
 
Use BluePhoenix admin tools with the debug option and it comes with a really nice admin debug that shows world space.
 
There is a Mission Additon out there called "Location Finder". You can use it via the 2D or 3D editor that way or you can add an execute to what ever admin menu you are using and place the locationfinder.sqf in you base mission.pbo.
I use it all the time. It hints your position in game and sends the same message to your clipboard so you can paste into a text file.
 
This is what i have sofar, but it's not working.
idk if copyToClipboard even works in MP wich would
suck cause i cant run my custom cherno map on SP because
i use the .sqf execVM method and dont have a fully compiled mission.sqm ...


Anyone willing to elaborate on this and get it working...
Even the cutText doesnt show up for some reason.

scripts\worldspace.sqf:
Code:
private ["_worldspace"];
    if(dayz_playerUID == "uid here") then {
    _worldspace = getPosASL player;
 
        copyToClipboard _worldspace;
        cutText [format["Location %1 copied to clipboard!",_worldspace],"PLAIN DOWN"];
    };

The fn self action works and the option is showing up for me.
fn_selfActions.sqf:
Code:
//Worldspace grabber
if ((dayz_playerUID == "uid here") && (speed player <=1) && _canDo) then {
    if (s_player_wsa < 0) then {
        s_player_wsa = player addAction[("<t color=""#c70000"">" + ("Grab location") + "</t>"),"scripts\worldspace.sqf","",5,false,true,"",""];
    };
} else {
    player removeAction s_player_wsa;
    s_player_wsa = -1;
};
//
 
This is basically the guts of the Location Finder I spoke of

Code:
addaction ["show loc", "tankylocation.sqf"]

tanklocation.sqf
Code:
//; ****************************************************************
//; Script file for ArmA 2
//; Created by: Tankbuster
//; ****************************************************************
// to be called by radio so that player can find exact coordinates from within the game.
hint "showloc";
 
t_pos = getPos player;
 
t_pos_x_eastwest = (t_pos select 0);
 
t_pos_y_northsouth = (t_pos select 1);
 
t_pos_z_altitude = (t_pos select 2);
 
hint format ["East/west = %1 , North/south = %2 , altitude = %3", t_pos_x_eastwest, t_pos_y_northsouth, t_pos_z_altitude];
 
copyToClipboard format ["East/west = %1, north/south = %2, altitude = %3", t_pos_x_eastwest, t_pos_y_northsouth, t_pos_z_altitude];
if [true] then exitWith [];

coarse all props to Tankbuster...
 
Back
Top