Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Search the Community

Showing results for tags 'vendor'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Boards
    • About TESA
    • TESA Community
  • Hosted Boards
    • The Enclave
    • Hosted Projects
  • Gaming Boards
    • The Elder Scrolls
    • Fallout
    • Indie Games
  • RPG Boards
    • Roleplaying

Categories

  • Showcase
    • Skyrim
    • Fallout
    • Oblivion
    • Misc
  • Exclusives
    • Skyrim
    • Fallout
    • Oblivion
    • Morrowind
    • Misc
  • Community Works
    • Skyrim
    • Oblivion
    • Fallout
    • Misc
    • Student Projects

Categories

  • ESV: Skyrim Modding
    • Creation Kit Basics
    • Level Design
    • Character Design
    • Papyrus
    • Quest Design & Dialogue
    • Graphic Artistry
    • 3D Craftworks
  • ESIV: Oblivion Modding
    • Construction Set Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Story & Lore
    • Texturing
    • Modeling
    • Miscellaneous
  • ESIII: Morrowind Modding
    • Tool Set Basics
    • Worldbuilding
    • NPCs
    • Scripting
    • Questbuilding
    • Texturing
    • Modeling
  • Fallout 3 Modding
    • GECK Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Texturing
    • Modeling
  • Gaming Guides
    • Oblivion Gaming
    • Morrowind Gaming
    • Fallout 3 Gaming
  • Miscellaneous Tutorials
  • TES Alliance HowTo Guides

Product Groups

  • VIP Memberships
  • Subscriptions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Steam


XBox Live ID


MSN


Skype


Location


Interests

Found 3 results

  1. Hi, every scholar in community! My talent has finally depleted. I created a NPC with merchant factions according to every tutorial I can find, and checked every detail of them, yet he keeps doing nothing but saying some passerby greetings. I can't open a dramatical vendor page and make an epic transaction:( - I didn't make such or such a custom quest/dialogue/etc. - Two essential factions had been added. - Voice type is correct. - After setting the LOCATION in vendor window, then confirm by clicking 'OK', but when I re-open it, the location remains 'Edit' !!! - I've been working on this for a while, but for others (like some Youtubers), they just CAN do it, even if I operated the same way!!! Sorry if my tone seems offensive 'cause I'm a bit - frustrated now P.S. There're some who had the similar issue long time ago... https://forums.nexusmods.com/index.php?/topic/745587-creation-kit-vendor-faction-location/ http://forums.bethsoft.com/topic/1344735-how-do-i-make-a-merchant/ http://forums.steampowered.com/forums/showthread.php?t=3026851
  2. Introduction: Greetings everyone. I have an issue that I am hoping would prove a simple resolution to the more experienced script writers among you. After searching, I have been unable to find the answer myself so here we are and I thank you in advance just for taking a look at my problem. Issue/Goal: I wanted a way to add an item to what a merchant sells without changing/affecting the rest of what they sell. Because I wanted to reduce the likelihood of mod conflict, I thought a script would be the best way to go. I do not wish to add the item to any level lists as I think/believe this would result in other vendors possibly having the items as well as enemies. And in my search for a solution, it would seem AddItem alone would not suffice due to the fact that a merchant's chest respawns/refreshes. Problems With What I Found: I am still pretty novice at several aspects of this so despite finding what I believe to be the answer, I am not sure how to specifically get it to work (such as do I need to set up the aliases in the quest or is it defined in the script or both... if I have to set them up in the quest, which settings/checkboxes are used... where exactly do I tell the script to add my item to the chest). The answer may be obvious, especially with what I found, but while I understand what I found much better than I would have a few months ago, I'm still pretty green with scripting and quest making. What I Found: Because of how the site looks when you're not a member (it doesn't show anyone's name and any code shown is smushed together without spaces so it has to be manually separated) I do not know who to credit for this (though it may have been Chesko) but this is basically what was said as an answer to someone else asking a similar question as what I am asking...
  3. The line in the code that is larger font seems to be the offending piece. The code compiles and runs and does everything except this line. All I need is for this object to be removed from the player's inventory. I have already determined (Thanks WilleSea) that mySelf/Self referes to the script in this case and not the item to which the code is attached. Any ideas how to accomplish this goal. If I can get this to work, it will eliminate the problem where you buy too much from the vendor, causing their max gold limit to exceed. If you have ever seen this situation, you end up selling all your stuff and not getting any gold for it. It's not fun. What this code does is turn any gold over a set amount in the vendors inventory, into Skyrim "Septimus Notes" (Paper Money). You can then buy these from the vendor and resupply them with gold. When you drop the "Septimus Note" and then pick it back up, it converts it back to Gold Septims. It's a somewhat immersive way to eliminate one of the problems Bethesda made for us by putting limits on the amount of gold a vendor can have. More likely, they just used the wrong data type for the variable that tracks this value. Not sure. Anyway, any suggestions anyone could offer will help me get this mod out sooner. Scriptname FQSeptimusNoteExchangeScript extends ObjectReference import debug import utility miscobject Property GoldRef Auto Int Property maxVendorGold Auto miscobject Property FQ100KSeptimusNote Auto miscobject Property FQ50KSeptimusNoteSkyrim Auto miscobject Property FQ40KSeptimusNoteSKYRIM Auto miscobject Property FQ30KSeptimusNoteSKYRIM Auto miscobject Property FQ20KSeptimusNoteSKYRIM Auto miscobject Property FQ10KSeptimusNoteSKYRIM Auto miscobject Property FQ5KSeptimusNoteSkyrim Auto miscobject Property FQ4KSeptimusNoteSkyrim Auto miscobject Property FQ3KSeptimusNoteSkyrim Auto miscobject Property FQ2KSeptimusNoteSkyrim Auto miscobject Property FQ1KSeptimusNoteSkyrim Auto MiscObject Property FQSPENTSeptimusNoteSkyrim Auto MiscObject property coinObj auto Int property coinAmt auto MiscObject mySelf auto State Waiting Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) mySelf = self.getBaseObject() as MiscObject Debug.Notification("OnItemChangedContainer") Debug.Notification("akOldContainer = " + akOldContainer); None Debug.Notification("akNewContainer = " + akNewContainer); ObjectReference if akNewContainer == Game.GetPlayer() Debug.Notification("akNewContainer == Game.GetPlayer()") if !akOldContainer Debug.Notification("!akOldContainer") gotoState("done") int numOfCoins = coinAmt [size=6] game.getplayer().removeitem(mySelf, 1, abSilent = true)[/size] game.getPlayer().addItem(coinObj, numOfCoins) game.getPlayer().addItem(FQSPENTSeptimusNoteSkyrim,1, abSilent = false) elseif akOldContainer Debug.Notification("akOldContainer") SeptimusNoteExchange(akOldContainer) endif endif endEvent endState State done ;do nothing endState Function SeptimusNoteExchange(ObjectReference akTargetRef) Debug.Notification("Now we're debuggin the SeptimusNoteExchange function!") ObjectReference VendorRef = akTargetRef int currentVendorGold = VendorRef.GetItemCount(GoldRef) int amtOverMaxVendorGold = currentVendorGold - maxVendorGold Debug.Notification("The amtOverMaxVendorGold is " + amtOverMaxVendorGold) while amtOverMaxVendorGold >= 1000 if amtOverMaxVendorGold >= 100000 VendorRef.additem(FQ100KSeptimusNote, 1, false) VendorRef.removeitem(GoldRef, 100000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 100000 endif if amtOverMaxVendorGold >= 50000 VendorRef.additem(FQ50KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 50000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 50000 endif if amtOverMaxVendorGold >= 40000 VendorRef.additem(FQ40KSeptimusNoteSKYRIM, 1, false) VendorRef.removeitem(GoldRef, 40000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 40000 endif if amtOverMaxVendorGold >= 30000 VendorRef.additem(FQ30KSeptimusNoteSKYRIM, 1, false) VendorRef.removeitem(GoldRef, 30000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 30000 endif if amtOverMaxVendorGold >= 20000 VendorRef.additem(FQ20KSeptimusNoteSKYRIM, 1, false) VendorRef.removeitem(GoldRef, 20000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 20000 endif if amtOverMaxVendorGold >= 10000 VendorRef.additem(FQ10KSeptimusNoteSKYRIM, 1, false) VendorRef.removeitem(GoldRef, 10000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 10000 endif if amtOverMaxVendorGold >= 5000 VendorRef.additem(FQ5KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 5000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 5000 endif if amtOverMaxVendorGold >= 4000 VendorRef.additem(FQ4KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 4000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 4000 endif if amtOverMaxVendorGold >= 3000 VendorRef.additem(FQ3KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 3000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 3000 endif if amtOverMaxVendorGold >= 2000 VendorRef.additem(FQ2KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 2000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 2000 endif if amtOverMaxVendorGold >= 1000 VendorRef.additem(FQ1KSeptimusNoteSkyrim, 1, false) VendorRef.removeitem(GoldRef, 1000, false) amtOverMaxVendorGold = amtOverMaxVendorGold - 1000 else Debug.Notification("The amtOverMaxVendorGold is less than 1000 at " + amtOverMaxVendorGold) endif endwhile EndFunction
×
×
  • Create New...