How do you edit a race?

Post » Sat May 28, 2011 6:32 am

I've looked all over the tutorials. Scanned every inch of the construction set screen. And don't see how I can do this.

The menu it gives me when I select "Race..." shows me stuff I don't care about. Such as the ID, Name, Skill Bonuses, Base Attributes, Specials, Height/Weight, and a Playable or Beast Race checkboxes. With a box for Description. But nothing shows up to change the race's voices, what speechfiles NPC's address them with, or anything that actually matters.

Am I missing something?
User avatar
CYCO JO-NATE
 
Posts: 3431
Joined: Fri Sep 21, 2007 12:41 pm

Post » Fri May 27, 2011 7:10 pm

Sound files for NPCs are set in the dialogue window (under the 'voice' tab).
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Post » Sat May 28, 2011 10:52 am

Thanks. Going to voice and selecting "hit" to get the sounds for the PC back worked for one part. I still have no clue how to change dialogue that the NPC's say though. I know it's in the "Hello" area. But I don't know how to figure out which number is assigned to the custom race. 6 is a khajiit, 10 is a woodelf... but where can I find out what number belongs to the custom races?

I'm using this mod if it helps.

http://planetelderscrolls.gamespy.com/View.php?view=mods.detail&id=5585

It doesn't seem like the authors are planning on updating it anymore. So I'm taking the opportunity to personally fix it for my own game instead. The NPC's should call me a Khajiit because that's what I still am, even if it's a different subspecies of one. But as it is now they're annoyingly silent =/

Thought about changing the variable to something like > 6 agility so it'd always activate but that'd screw up games where I'm using the vanilla races. Meh.
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Post » Fri May 27, 2011 6:45 pm

Ah, okay, I see what you're doing.

There are three things happening which will set that race value in dialogue. The first step is speaking to Socucius Ergalla. The script on this actor (CharGenClassNPC) will trigger a global script RaceCheck (this is the important one), and this in turn sets the value of a global variable, PCRace tracked by dialogue.

The short end of the explanation is to just edit the RaceCheck script with the following before the last 'endif';

elseif ( Player-> GetRace, MyRace == 1 )           set PCRace to 11


If the race ID has a space, then use quotes i.e. "my race"
User avatar
chirsty aggas
 
Posts: 3396
Joined: Wed Oct 04, 2006 9:23 am

Post » Fri May 27, 2011 8:18 pm

Ohhh kay... that seems a bit too complicated for me. I'm well past talking to Cocucius Ergalla anyways. Thanks for the quick help sorry I took so long to check back.
User avatar
No Name
 
Posts: 3456
Joined: Mon Dec 03, 2007 2:30 am

Post » Sat May 28, 2011 6:41 am

Ohhh kay... that seems a bit too complicated for me. I'm well past talking to Cocucius Ergalla anyways. Thanks for the quick help sorry I took so long to check back.


Nah, not really that difficult, and it's never too late to have a simple script set the value. Just depends on what type of condition you prefer.
User avatar
Tiffany Castillo
 
Posts: 3429
Joined: Mon Oct 22, 2007 7:09 am

Post » Sat May 28, 2011 8:42 am

cant you just console it for a game in progress?

set PCRace to 11


with that command?
User avatar
Karine laverre
 
Posts: 3439
Joined: Tue Mar 20, 2007 7:50 am

Post » Sat May 28, 2011 10:10 am

Since it's a global variable it may compile in the console but I don't think it would do anything, since PCRace is conditional on GetRace.
User avatar
Kortniie Dumont
 
Posts: 3428
Joined: Wed Jan 10, 2007 7:50 pm


Return to III - Morrowind