Jump to content

Home

Started modding areas, but have some questions


mgnails

Recommended Posts

okay, im new to modding so i have some questions.

 

1. i am trying to place characters under the creature list but i don't no what XOrientation or YOrientation is. WHat is it and how can i find out what it is?

 

2. in accordance to placeables, i don't know how to find the bearing of an object.

 

I need to know these two things. Please Help!!!!!!!

Link to comment
Share on other sites

Hello,

 

Someone with more experience in this can correct me if I'm wrong--

 

I'm used to the terms yaw, pitch, and roll and I believe XOrientation is yaw, that is, rotation around the Z-axis in degrees. Bearing is the same thing. Try values between -180 to +180 in these field and see which way the creature or object ends up facing.

Link to comment
Share on other sites

Originally posted by ForceMasterYoda

okay, im new to modding so i have some questions.

 

1. i am trying to place characters under the creature list but i don't no what XOrientation or YOrientation is. WHat is it and how can i find out what it is?

 

2. in accordance to placeables, i don't know how to find the bearing of an object.

 

I need to know these two things. Please Help!!!!!!!

 

 

1) XOrientation and YOrientation are the X and Y components of a unit vector that indicates the X-Y orientation of the object

 

2) The bearing is expressed in radians, just like in trigonometry. Its value goes from -pi -> 0 -> +pi

Link to comment
Share on other sites

when placing new items and characters make sure your user-defined struct has the same type number as the original file you are modifying.

 

in my case I found that the creature list struct number is 0x00000004

 

and the placeable list is 0x00000009

 

Hope that helps out.

 

my stuff wasn't placing either until I realized this one little step

Link to comment
Share on other sites

Just a follow-up on bearings; I don't have my code in front of me, but I can tell you that there are two different uses of bearing, depending on the item type. For the first, "0" is the positive X axis and for the other it is the positive Y axis ("North").

 

Just thought you'd like to know.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...