Forums WoW Modding Discussion Interface [Archive] Constant camera offset

[Archive] Constant camera offset

[Archive] Constant camera offset

rektbyfaith
Administrator
0
07-04-2016, 01:07 PM
#1
Archived author: Miens • Posted: 2016-07-04T13:07:28+00:00
Original source

Hi guys,

in my project I want the camera to be in exact same position and rotation in relation to player. I coudnt find any tutorials on this topic and when i looked at camera page in wow dev wiki I coudnt figure anything out by myself. Does anyone have any idea where I should be looking to find some articles on this topic? Or can anyone help me in any other way?

Thanks [Image: smile.png]
rektbyfaith
07-04-2016, 01:07 PM #1

Archived author: Miens • Posted: 2016-07-04T13:07:28+00:00
Original source

Hi guys,

in my project I want the camera to be in exact same position and rotation in relation to player. I coudnt find any tutorials on this topic and when i looked at camera page in wow dev wiki I coudnt figure anything out by myself. Does anyone have any idea where I should be looking to find some articles on this topic? Or can anyone help me in any other way?

Thanks [Image: smile.png]

rektbyfaith
Administrator
0
07-04-2016, 01:30 PM
#2
Archived author: Skarn • Posted: 2016-07-04T13:30:23+00:00
Original source

As far as I know it is possible to get player's lookat, so you need to set your camera yaw and pitch to this value with some memory editing or better a .dll inject. You can find the information about WoW memory offsets on Ownedcore I think.
rektbyfaith
07-04-2016, 01:30 PM #2

Archived author: Skarn • Posted: 2016-07-04T13:30:23+00:00
Original source

As far as I know it is possible to get player's lookat, so you need to set your camera yaw and pitch to this value with some memory editing or better a .dll inject. You can find the information about WoW memory offsets on Ownedcore I think.

rektbyfaith
Administrator
0
07-04-2016, 02:03 PM
#3
Archived author: Alastor StrixEfuartus • Posted: 2016-07-04T14:03:51+00:00
Original source

Its possible with LUA too

[Image: 4ce5cbcbf48b4dacbbd7fa9d89e62bd7.jpeg]
rektbyfaith
07-04-2016, 02:03 PM #3

Archived author: Alastor StrixEfuartus • Posted: 2016-07-04T14:03:51+00:00
Original source

Its possible with LUA too

[Image: 4ce5cbcbf48b4dacbbd7fa9d89e62bd7.jpeg]

rektbyfaith
Administrator
0
07-04-2016, 05:11 PM
#4
Archived author: Miens • Posted: 2016-07-04T17:11:51+00:00
Original source

Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it?
rektbyfaith
07-04-2016, 05:11 PM #4

Archived author: Miens • Posted: 2016-07-04T17:11:51+00:00
Original source

Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it?

rektbyfaith
Administrator
0
07-04-2016, 05:13 PM
#5
Archived author: Skarn • Posted: 2016-07-04T17:13:34+00:00
Original source

Quote: Just now, Miens said:

Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it?
It is the so-called World of Warcraft API functions. You can acess them with LUA addons and FrameXML, I guess. Protected functions can be accessed with some hack as far as I remember.
rektbyfaith
07-04-2016, 05:13 PM #5

Archived author: Skarn • Posted: 2016-07-04T17:13:34+00:00
Original source

Quote: Just now, Miens said:

Hey guys, thanks for quick reply. Alastor can u elaborate a little about code you highlighted? Where is it located? Can I access or edit it?
It is the so-called World of Warcraft API functions. You can acess them with LUA addons and FrameXML, I guess. Protected functions can be accessed with some hack as far as I remember.

rektbyfaith
Administrator
0
07-04-2016, 10:04 PM
#6
Archived author: Miens • Posted: 2016-07-04T22:04:12+00:00
Original source

With this api I am able to set camera at certain position but how do I keep camera in place? Even if player has moved / rotated (using a/d keys)? Is it doable using this api?
rektbyfaith
07-04-2016, 10:04 PM #6

Archived author: Miens • Posted: 2016-07-04T22:04:12+00:00
Original source

With this api I am able to set camera at certain position but how do I keep camera in place? Even if player has moved / rotated (using a/d keys)? Is it doable using this api?

rektbyfaith
Administrator
0
07-05-2016, 06:26 PM
#7
Archived author: Skarn • Posted: 2016-07-05T18:26:26+00:00
Original source

I'd recommend you doing it with memory editing.
rektbyfaith
07-05-2016, 06:26 PM #7

Archived author: Skarn • Posted: 2016-07-05T18:26:26+00:00
Original source

I'd recommend you doing it with memory editing.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)