Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

Add an option to periodically log player position information (within a scene) to the log file

Discussion in 'Release 33 Feedback Forum' started by coder1024, Aug 31, 2016.

Thread Status:
Not open for further replies.
  1. coder1024

    coder1024 Avatar

    Messages:
    499
    Likes Received:
    531
    Trophy Points:
    75
    Gender:
    Male
    EDIT: I see there is a file written to the game directory, CurrentPlayerData.txt, which would -almost- do what's needed. Assuming this is always periodically updated, what would really be nice would be to have this file use the same format as the /loc command. Then it would be possible to get the current map name and location from this periodically for mapping tools.

    --- ORIGINAL POST ---

    Currently, there is the /loc command to show your current position in the output window and the /loctrack to display it graphically on the screen.

    As a suggestion, it would be nice to also have an option (OFF by default) which, when on, would periodically (every second or so maybe?) log the player position information (within a scene) to the log file. A line with the below could be written.

    map_name,X,Y,Z,heading

    For example,

    Novia_R1_Swamp02_Road,-5.6,18.7,128.1,45

    This would allow tools to read this information and, for example, show your current position graphically in a scene relative to points of interest, etc. Suppose you had a set of landmarks / points of interest cataloged for each map name, with the above you could show player position relative to those automatically.
     
    Last edited: Sep 3, 2016
  2. coder1024

    coder1024 Avatar

    Messages:
    499
    Likes Received:
    531
    Trophy Points:
    75
    Gender:
    Male
    EDIT: I see there is a file written to the game directory, CurrentPlayerData.txt, which would -almost- do what's needed. Assuming this is always periodically updated, what would really be nice would be to have this file use the same format as the /loc command. Then it would be possible to get the current map name and location from this periodically for mapping tools.
     
Thread Status:
Not open for further replies.