Log in

View Full Version : What does "heading" do in the database?


NostalgiaEQ
09-22-2016, 03:07 AM
If this is the wrong forum for this please let me know where I should ask questions like this.

Lots of times when I zone I enter the zone pointing in a weird way so I don't know which way to go and often accidentally go back into the zone I left. To fix this I assumed the "heading" entry in the database was basically an angle and changing this value makes you point in a different way when you enter the zone. Well changing these values did not change my orientation when I entered the zone.

1. What does the heading entry do then?
2. If I want to change my characters direction when they enter the zone how do I do that?

Thanks.

image
09-22-2016, 08:18 AM
it does work (target_heading), you have to #reloadzps and zone out and back (you get zone points when you zone in, they can only be 'reloaded' if you reload from DB, then reload into the zone).

http://wiki.eqemulator.org/p?zone_points&frm=--EQEmu_Database_Schema_Index

'heading' is the source heading, so where the zone_point should be and facing.

joligario
09-22-2016, 01:02 PM
For reference: If I remember right, 0 is North and going clockwise you add 64 for each cardinal direction. Be aware that some zones are weird where zone lines and warp portals actually double the angle (see paineel as an example).

DanCanDo
09-22-2016, 02:15 PM
I've actually had to set a lot of these headings in my own db, but what I was doing with
an ingame GM toon, was standing where I wanted the landing point to be, then typing
#loc and the exact heading I wanted was spit out.

NostalgiaEQ
09-22-2016, 05:48 PM
Excellent thank you guys so much! I will give those steps a shot.

I've actually had to set a lot of these headings in my own db, but what I was doing with
an ingame GM toon, was standing where I wanted the landing point to be, then typing
#loc and the exact heading I wanted was spit out.

Ohh never thought to use #loc been using /loc! makes sense thank you.