Horse for Sale Tutorial

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Horse For Sale Tutorial Notes

Quick and dirty notes for creating a horse for sale.

My town’s name is Bartholm. Replace bartholm with the name of your town. Try to use naming conventions when possible. It makes it easier to debug and or find later.

Need:

-Stable Master (sells the horse)

-Stable Hand (BashiraRef gives you the purchased horse, horse returns to this NPC when lost) (needs reference name)

-Duplicate one of the HorsePC Creatures (HorsePCBlackBartholm) (this horse has the horse script on it)

-Edit HorseQuest Script - add “Short OwnBartholmBlack” (my horse) and “Short BartholmBashiraPresent” (my town and my stablehand) vars

-GiveHorseAway Package- (HorseBartholmBashiraGive) location for stable hand to give you your horse. (applied to stablehand ai)

-Xmarker for Stable hand to give away horse (BashiraGiveMarker)

-PCHorse Return Home Package (HorsePCBartholmGoHome) location to return to. (applied to horse pc ai)

-Xmarker for horse to return to. (PCHorseBartholmMarker)

-Edit HorsePCStandStill package- Add your stable to the package conditions

-Horse for sale object (HorseSaleBlackBartholmRef) (not your horsepc – just a horse of the same color with a reference name. this one disappears when you purchase the horse. its for show.)

-Horse PC Object (HorsePCBlackBartholmRef) (not your for sale animal but the HorsePC you created. it appears to ride when you leave the house after your purchase) (initially disabled)

-PCHorse Script- Open your PCHorse and open its script. Copy the script. Open a new script. Paste and change the relevant (ie. Town and or npc) names.

-Horse Marker

-Edit Horses Quest (add your stables topics) (back up before you do this)

Edit GENERAL topic- add 4 infos Welcome. Do you wish to buy (stable master) (add topic horseinquiry) Welcome. No horses for sale (stable master) Here’s your horse. Take good care of him. (stable hand) If you want a horse talk to the stable master (stable hand)

Add new topic HorseBuyBartholm- Ill buy it. Terrific. Go out front and my stablehand will have the horse ready (stablemaster) (this one has a result script that does most of the work)

Edit HorseDecline topic- add 1 info Come back if you change your mind (stablemaster)

Edit HorseInquiry topic- add 1 info Our horses kick butt (stablemaster) (Choices HorseBuyBartholm, HorseDecline, HorseTooMuch)

Add new topic HorseTooMuchBartholm- That’s too much for me. Bummer come back after you rob a bank (stablemaster)

  • Note: I do not mention the conditions, result scripts, & checks in the quest. Refer to the game’s topics and infos to make sure you have everything linked correctly. Use the copy all conditions and paste them into your infos and then change their references to your town, horse, stablemaster, stablehand, etc. You did back up didn’t you?

That’s it. Test your mod. Good luck!