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!!!!!!!
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.
argh!! it didn't work, i keep trying to place characters, but when i test them, theyaren't there, i put in the x y and z coordinates, whats up with that?
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
i still don't know why the things don't place, are the things i am placeing too big and up against a wall to be there?
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
That's right shosey -- that stumped me for a bit too.
Thanks Fred -- I found that too; when all else fails read the documentation (
http://nwn.bioware.com/developers).
that worked, *duh* now all the stuff i put there is there. thanks
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.