Technical Info concerning Interiors
|
09-27-2006, 04:43 PM,
|
|||
|
|||
<span style="font-size: 16px;"><b>How to make a buyable house for Elder Scrolls IV: Oblivion Part III</b></span><br />
By Smokindan and adapted by sandor.<br /> <br /> <br /> <br /> <i>Scripts</i><br /> Don’t worry, it may sound scary but it isn’t. Most of the work has been done for you. <br /> <br /> An example of your quest script (which goes on the door of your house) is as follows (remember to replace ‘HouseRiftenWealthy’ with the name of your own quest):<br /> <br /> Comments are preceded by ";" in green.<br /> <br /> <span style="color: Blue;">ScriptName HouseRiftenWealthyScript<br /> <span style="color: green;">; Attached to the HouseForSale door.</span><br /> <br /> Begin OnLoad<br /> If GetStage HouseRiftenWealthy == 10<br /> If Player.GetInCell 1SKxxSDRiftenTowerforSaleKitchen == 1<br /> <span style="color: green;">; if you’ve just entered your house</span><br /> SetStage HouseRiftenWealthy 20<br /> <span style="color: green;">; go buy some furniture</span><br /> EndIf<br /> EndIf<br /> End<br /> <br /> <hr width="100%" height="2" color="---------------" noshade ><br /> <br /> <span style="color: green;">;An example of your purchasable furniture script is as follows (remember to replace ‘HouseRiftenTowerFurnScript’ with the name of your own quest)</span><br /> <br /> Scriptname HouseRiftenTowerFurnScript<br /> <br /> short TotalCount<br /> short MerchSetup<br /> short Doonce1<br /> <span style="color: green;">; You need "Doonce" for each receipt you have, for the second one Doonce2 etc.</span><br /> short Doonce2<br /> float fQuestDelayTime<br /> <br /> <br /> begin gamemode<br /> <br /> <span style="color: green;">;Kill script if conditions aren't met (if you haven’t bought the house).</span><br /> <br /> if ( GetStage HouseRiftenWealthy < 10 )<br /> Return<br /> endif<br /> <br /> <br /> <br /> <span style="color: green;">;Enables the receipt container, so the receipts are available for sale </span><br /> <br /> if ( GetStage HouseRiftenWealthy == 20 ) && ( MerchSetup == 0 )<br /> HouseRiftenAddons01Ref.Enable<br /> <span style="color: green;">; replace HouseRiftenAdddons01Ref with your receipts chest reference</span><br /> HouseRiftenAddons01Ref.SetOwnership 1SKxxSDBarynIndarys<br /> <span style="color: green;">; replace 1SKxxSDxBarynIndarys with the ID of your vendor</span><br /> set MerchSetup to 1<br /> endif<br /> <br /> <span style="color: green;">;These are the variable triggers that are set when a voucher (receipt) is acquired</span><br /> <br /> if ( Player.GetItemCount 1SKxxSDHouseRiftenDecorReceipt == 1 ) && ( Doonce1 == 0 )<br /> <span style="color: green;">;replace 1SKxxSDHouseRiftenDecorReceipt by your own receipt etc.</span><br /> SDParentTapsandPaints.Enable <br /> <span style="color: green;">;replace SDParentTapsandPaints by your own parent etc.</span><br /> set TotalCount to ( TotalCount + 1 )<br /> set Doonce1 to 1<br /> endif<br /> <br /> if ( Player.GetItemCount 1SKxxSDHouseRiftenDisplayReceipt == 1 ) && ( Doonce1 == 0 )<br /> SDParentDisplay.Enable <br /> set TotalCount to ( TotalCount + 1 )<br /> set Doonce2 to 1<br /> <br /> <br /> <span style="color: green;">;Ends Quest if All Bought</span><br /> <br /> if ( TotalCount < 3 )<br /> <span style="color: green;">; TotalCount here should be one more than the number of receipts you have</span><br /> if ( TotalCount == 2 )<br /> <span style="color: green;">; TotalCount should equal the number of receipts you have for purchase</span><br /> setstage HouseRiftenWealthy 30<br /> <span style="color: green;">; this ends the quest (stage 30)</span><br /> set fQuestDelayTime to 0<br /> endif<br /> endif<br /> <br /> end</span><br /> <br /> <br /> <u>Step 5 – Playtesting</u><br /> <br /> Always playtest your quest/ interior. <br /> <br /> Congratulations!! You’ve made your first buyable house!!<br /> <hr width="100%" height="2" color="--" noshade ><br /> <br><br> <table align="center" width="98%" cellpadding="4" cellspacing="1" class="tableinborder"> <tr> <td align="left" class="tablecat"><span class="smallfont"><b>Attachments:</b></span></td> </tr> <tr class="normalfont"> <td class="inposttable" align="left"><img src="images/filetypes/txt.gif" border="0" alt="txt" /><span class="normalfont"> <a href="http://www.silgradtower.net/PublicForumAttachments/Forum2/7z/attachment-5129.7z">Scripts Tower for Sale.txt</a> </span><span class="smallfont">(<b>3.04 KB</b>, <b>5</b> downloads)</span><br /></td> </tr> </table>
Dum loquor, hora fugitĀ - While I speak the time flies
Ovid 43 BC - 17 AD |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Technical Info concerning Interiors - by sandor - 04-24-2006, 03:30 PM
RE: Technical Info conc. the Reich Parkeep Interiors - by sandor - 04-24-2006, 05:37 PM
RE: Technical Info conc. the Reich Parkeep Interiors - by sandor - 04-24-2006, 09:31 PM
RE: Technical Info conc. the Reich Parkeep Interiors - by sandor - 04-24-2006, 10:37 PM
[No subject] - by sandor - 04-25-2006, 04:18 PM
[No subject] - by sandor - 04-26-2006, 01:50 PM
[No subject] - by sandor - 04-27-2006, 03:16 PM
[No subject] - by sandor - 04-28-2006, 04:30 PM
[No subject] - by sandor - 04-29-2006, 02:55 PM
[No subject] - by sandor - 04-30-2006, 02:13 PM
[No subject] - by sandor - 05-01-2006, 02:34 PM
[No subject] - by sandor - 05-06-2006, 03:25 PM
[No subject] - by sandor - 05-07-2006, 07:34 PM
[No subject] - by sandor - 05-08-2006, 12:28 PM
[No subject] - by sandor - 05-09-2006, 03:41 PM
[No subject] - by sandor - 05-11-2006, 03:16 PM
[No subject] - by sandor - 05-16-2006, 08:48 AM
[No subject] - by sandor - 05-17-2006, 03:08 PM
[No subject] - by sandor - 05-22-2006, 11:32 PM
[No subject] - by sandor - 05-25-2006, 12:57 PM
[No subject] - by sandor - 05-29-2006, 01:53 PM
[No subject] - by sandor - 06-19-2006, 09:02 PM
[No subject] - by sandor - 06-28-2006, 04:11 PM
[No subject] - by sandor - 06-29-2006, 06:32 PM
[No subject] - by sandor - 07-16-2006, 10:51 PM
[No subject] - by sandor - 08-19-2006, 03:49 PM
[No subject] - by sandor - 09-27-2006, 08:52 AM
[No subject] - by sandor - 09-27-2006, 04:43 PM
[No subject] - by sandor - 09-27-2006, 07:24 PM
[No subject] - by sandor - 10-11-2006, 04:26 PM
[No subject] - by sandor - 10-18-2006, 08:05 AM
[No subject] - by sandor - 01-05-2007, 06:55 PM
[No subject] - by sandor - 04-23-2007, 02:47 PM
[No subject] - by sandor - 10-21-2007, 10:58 AM
[No subject] - by sandor - 03-12-2008, 02:41 PM
How to create a multi point patrol route? - by sandor - 06-14-2009, 08:52 AM
[No subject] - by sandor - 06-11-2012, 12:17 PM
|
Users browsing this thread: 1 Guest(s)