Jump to content

Home

npc spawning in custom module???


bryzz

Recommended Posts

i have read a tutorial and i was wondering if for the direction an npc faces is there a cheat that can tell you which way your character is facing or should i just mess around with the XOrientation and the YOrientation until it is the way i want it

 

i wanted to know because if you have to mess around with the orientations would it not take and extended amount of time to get 1 npc to spawn

 

considering that every time you change it you have to recompile it into a .mod file

Link to comment
Share on other sites

In SWKotOR you can just type "whereami" (without quotes) into the cheat console to get your coordinates. In TSL you need to download a mod called the "Whereami Armband" which will print the information to your feedback log; off the journal tab.

 

As for playing with Orientation, I wrote a little program called "AngleToVector" which does exactly the same as the KotOR AngleToVector() function, and will give you an XOrientation and a YOrientation from an Angle. With that you just need to remember that 0 degrees is East, 90 degrees is North and follows round to 360 respectively.

 

All the above mentioned tools and more are all announced here:

http://www.lucasforums.com/forumdisplay.php?f=646

 

Hope that helps :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...