macieju01 Posted April 12, 2011 Share Posted April 12, 2011 I looked all other the internet and cant find it could someone make one plz Link to comment Share on other sites More sharing options...
fg109 Posted April 12, 2011 Share Posted April 12, 2011 I can tell you the basic details on how to make an inn, but I've never made a tutorial before... 1. The first step is obviously going to be to make a building with beds, and an owner NPC.2. It's up to you whether or not you want to make the owner a merchant as well (if you don't know how to, read this: http://cs.elderscrolls.com/constwiki/index.php/My_First_Shop )3. Set up a new quest, with 5 priority, start game enabled, and quest condition "GetIsPlayableRace == 1"4. Add some dialogue topics for renting a bed, and yes/no options depending on how much gold the player has.5. All the topics should have the condition "GetIsID 'owner NPC' == 1"6. Now make a new script. This is a copy/paste of what the game's inn keepers have: Scriptname Publican_LuthorBroadLuthor ;CellName: ICElvenGardensLuthorBroadsRooms ;Publican: Luthor Broad ;Room: First room upstairs on the left ;Door Ref: LuthorBroadRentDoor short rent short rentday short rentmonth short cleanup short setup begin gamemode if ( rent == 1 ) if ( setup == 0 ) set rentday to GameDay set rentmonth to GameMonth set setup to 1 LuthorBroadRentDoor.unlock LuthorBroadRentBed.SetOwnership else if ( GameDay != rentday ) set cleanup to 1 elseif ( GameMonth != rentmonth ) set cleanup to 1 endif endif if ( Player.GetinCell ICElvenGardensLutherBroadsBoardingHouse == 0 ) if ( Player.GetinCell ICElvenGardensLutherBroadsRooms == 0 ) if ( Cleanup == 1 ) set Cleanup to 2 endif endif endif if ( Cleanup == 2 ) set rent to 0 set setup to 0 set rentday to 0 set rentmonth to 0 set cleanup to 0 LuthorBroadRentDoor.SetOpenState 0 LuthorBroadRentDoor.lock 30 LuthorBroadRentBed.SetOwnership Sthasa endif endif End 7. Replace "LuthorBroadRentDoor" and "LuthorBroadRentBed" with the name of the door to the room and the bed that you're going to let the player rent.8. Replace "ICElvenGardensLutherBroadsBoardingHouse" and "ICElvenGardensLutherBroadsRooms" with the name of the cell(s) you have as your inn.8. Attach the script to your owner NPC. Link to comment Share on other sites More sharing options...
macieju01 Posted April 25, 2011 Author Share Posted April 25, 2011 thx man although im new to modding so some of the things sounded like greek to me ( not the scripts they sound like greek to evryone :wallbash:) Link to comment Share on other sites More sharing options...
fg109 Posted April 25, 2011 Share Posted April 25, 2011 I came across an inn tutorial recently: http://cs.elderscrolls.com/constwiki/index.php/Rent_A_Room_Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts