mgnails Posted April 11, 2004 Share Posted April 11, 2004 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 More sharing options...
tk102 Posted April 11, 2004 Share Posted April 11, 2004 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 More sharing options...
mgnails Posted April 11, 2004 Author Share Posted April 11, 2004 thanks, ill try that. Link to comment Share on other sites More sharing options...
mgnails Posted April 11, 2004 Author Share Posted April 11, 2004 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? Link to comment Share on other sites More sharing options...
Fred Tetra Posted April 11, 2004 Share Posted April 11, 2004 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 More sharing options...
mgnails Posted April 11, 2004 Author Share Posted April 11, 2004 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? Link to comment Share on other sites More sharing options...
shosey Posted April 11, 2004 Share Posted April 11, 2004 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 More sharing options...
tk102 Posted April 11, 2004 Share Posted April 11, 2004 That's right shosey -- that stumped me for a bit too. Thanks Fred -- I found that too; when all else fails read the documentation. Link to comment Share on other sites More sharing options...
mgnails Posted April 11, 2004 Author Share Posted April 11, 2004 that worked, *duh* now all the stuff i put there is there. thanks Link to comment Share on other sites More sharing options...
Fred Tetra Posted April 11, 2004 Share Posted April 11, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.