In-game camera position display.

7 months 3 weeks ago - 4 months 3 weeks ago #1 by Stern
Here is one small program that displays the in-game (view)camera position coordinates.
It can be used in modding, to find out position for non-critical positions, like vehicle or enemy positions.

Positions are displayed in same order as in DCED.

Its usable with "windowed" mode, it does'nt want to stay as a top window if the game is in full-screen mode.

It has Height correction, to compensate the camera height from the ground (if the height is needed).
(I was not able to find the true position of the player(used Cheat Engine), this is why it uses camera position...)
With my version of game files, the memory addresses are always the same.
($0089AFE0 ,$0089AFE8 ,$0089AFE4).
Example: In Libya1 under the wall (middle entrance) is the 0,0 position.
NB! The 1.st person view should be used,because in 3rd person view, the camera is far away back.

Also it can save positions to text file, Hotkey is Control+A.
It detects if H&D2 is running, so it can be launched before game and can run if game is closed (hotkey is released while game is not active) and Control+A can be used in any other program.



EDIT:
New version with true coordinates.
No Height correction and 3rd person view can be used.
It has 2 different sets of memory address and offsets (one might work for one user and not for other, pointers and offsets are tricky...)
HD2-PPD

The one who hesitates is lost !
Attachments:
The following user(s) said Thank You: snowman, danilasar

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Next birthdays

  • Piotrek664 birthday is in 4 days (18)
  • Capthavoc_nl birthday is in 7 days (53)
  • R4d3k birthday is in 7 days (26)
  • dikmen birthday is in 10 days (26)