A Little Problem

Post » Sun Jun 17, 2012 8:19 pm

I've been creating an inn mod in the CS, and I have the ext/int building textures and objects set, but I realized I have no idea how to create a publican; or a script for one at that.

A little help or ideas?
User avatar
Victor Oropeza
 
Posts: 3362
Joined: Sun Aug 12, 2007 4:23 pm

Post » Sun Jun 17, 2012 9:34 pm

First, have you had a look at the tutorials that are pinned?

To make the NPC, you just go to the NPC tab, right-click > New. Set their class to publican. Look at the scripts on the publicans that exist already (They all follow this convention: Pub_City_PlaceName). You'd pretty much just copy that, and change the global variable (Rent_City_PlaceName) and door (Rent_City_PlaceName_Door) referenced in the script to ones for your inn. Global variables are found in the Gameplay > Globals menu. The script editor can be found there as well, or by clicking on the pencil button.
User avatar
Albert Wesker
 
Posts: 3499
Joined: Fri May 11, 2007 11:17 pm

Post » Sun Jun 17, 2012 7:07 pm

Ok, thanks.

I didn't know if I would have to create an entire new script or what. I may change the dialogue, though.
User avatar
ZzZz
 
Posts: 3396
Joined: Sat Jul 08, 2006 9:56 pm


Return to III - Morrowind