PDA

View Full Version : A few questions


pablo_fett
07-13-2007, 08:20 PM
Hi All,

Id like to start working on a mod where the pc can be many different races, like a Twilek, Wookie, or Rodian, and that would cause some dialog options to change, especially on Taris. Is there a way to know during the game what head the pc is using?

Also, I've worked through Darth Insidious' module reskinning tutorial and it was excellent, but are there any tutorials on setting up the exits? I havent seen this anywhere.

And finally, my override directory is getting pretty unweildy, does anyone have any suggestions to clean it up a bit?

Thanks for all your help.

dangen77
07-13-2007, 10:14 PM
I don't have the answer for you, but you should note that the rodian and the wookie models are not separate heads. Their head models are included in their body model. This may present a problem for you as they won't act like normal pc's. You won't be able to show a change in their armor or headbands, unless you create some new head models.

stoffe
07-14-2007, 07:23 AM
Is there a way to know during the game what head the pc is using?

You can check which appearance type a character (or player) is using via scripting using the GetAppearanceType() function. It will return the line number in appearance.2da that is associated with the character specified as parameter. For example...


int StartingConditional() {
int iType = GetAppearanceType(GetFirstPC());
return (iType == 47)
|| (iType == 270)
|| (iType == 366)
|| (iType == 446)
|| (iType == 447)
|| (iType == 448);
}

...used as a dialog conditional script would return TRUE (and thus make the dialog node it is attached to be used) if the player character is using a Twi'lek female appearance in KOTOR 1.


And finally, my override directory is getting pretty unweildy, does anyone have any suggestions to clean it up a bit?

Don't know what could be suggested other than removing mods that you don't want to keep. :)

pablo_fett
07-14-2007, 02:17 PM
Thanks, thats a good tip. Ill experiment with that.

Edit: Awesome, thats exactly what I needed. Thank You.