Jump to content

Problems making existing NPC a vendor


FishNeedles

Recommended Posts

So I have very little knowledge of GECK and am slowly learning through different sources.

 

Essentially, I'm trying to make Orion Moreno a vendor. I followed most of the steps on the GECK page for creating a new vendor (obviously not the portions for GREETING and such, since he already exists) and added a quest. Gave it an ID, set priority to 25, added topic texts, etc. condition has function GetIsID with function info pointing to NPC: 'VRemOrionMoreno', result script begin is SHOWBARTERWINDOW.

 

I then followed the adding items to vendor page on the official GECK site, added a new container, and added it to the VendorChestsCell. Has a reference ID, checked persistant reference, and set the ownership to orion.

 

Saved all of this, went into the game, and spoke with Orion. My prompt text popped up. Selected it and got his response, clicked, and it dropped me right back to his dialogue options. No barter menu showed up. Right now the only things I have in the container are 3000 Caps001 and WeapKnife. I loaded a bunch of custom weapon esps and added those, but for some reason when I close and re-open the geck, checking all custom weapon esps, they are now missing from the container.

 

Why do I not get the barter window pop-up when I select the dialogue option? Secondary to this, why would custom weapons disappear from the container even though I select their esps when I initially open?

 

There was one additional option that it mentioned on the main GECK page for adding items to a container, if it's for a new npc. Since Orion is a new vendor, I thought I'd try these options. It said to open the NPC in the render window, select the chest in the merchant container tab, select VendorChestCell in the first dropdown, then select my chest reference in the second. I tried this, but still no barter box.

 

Another page on Nexus mods mentioned to add getofferservicesnow == 1 to conditions for the quest. Is this required? It wasn't mentioned anywhere on the official GECK page.

 

Any help with this is greatly appreciated.

Edited by FishNeedles
Link to comment
Share on other sites

Essentially, I'm trying to make Orion Moreno a vendor. I followed most of the steps on the GECK page for creating a new vendor (obviously not the portions for GREETING and such, since he already exists) and added a quest. Gave it an ID, set priority to 25, added topic texts, etc. condition has function GetIsID with function info pointing to NPC: 'VRemOrionMoreno', result script begin is SHOWBARTERWINDOW.

 

The result script shouldn't be SHOWBARTERWINDOW, it should be ShowBarterMenu http://geck.bethsoft.com/index.php/ShowBarterMenu.

 

Saved all of this, went into the game, and spoke with Orion. My prompt text popped up. Selected it and got his response, clicked, and it dropped me right back to his dialogue options. No barter menu showed up. Right now the only things I have in the container are 3000 Caps001 and WeapKnife. I loaded a bunch of custom weapon esps and added those, but for some reason when I close and re-open the geck, checking all custom weapon esps, they are now missing from the container.

 

This sounds a little iffy because the game will not let your esp file use resources from other esp files. You can only use resources that are in an esm file.

 

Another page on Nexus mods mentioned to add getofferservicesnow == 1 to conditions for the quest. Is this required? It wasn't mentioned anywhere on the official GECK page.

 

I don't believe it's required.

 

Bottom line, it's not clear at all where you are at with your mod so it's hard to narrow down exactly why it's not working.

Link to comment
Share on other sites

Finally got it working. I needed to go into the VDialogueRemnants quest and add my own quest in there. I needed to re-set some of the values and put ShowBarterMenu in the Result Script (End), but I finally got his barter menu to pop up. There are some items in there that shouldn't be, and I believe it's pulling them from his personal inventory.

 

Also, you can use custom weapons from other .esp files. Basically, you rename the weapon. I just add 00 to the front. When it asks if you want to create a new record you hit no to just rename. Then dump the newly named weapon into the container and it shows up in the barter menu in-game. One additional thing you need to change, since it isn't pulled into the renamed weapon record for some reason (all stats are, though), are the firing sounds. If you close GECK, re-open, and select the same esps, both the old and new weapons will show up under items. So it's just a matter of setting the firing sounds on the new weapon to the sound files referenced on the original.

 

After that, it works perfectly. He even makes comments about you purchasing after you close the barter box, which I thought was weird, but a very nice surprise.

 

I'd like to type up something to help out other people in the same situation, though there don't appear to be many.

Link to comment
Share on other sites

Also, you can use custom weapons from other .esp files. Basically, you rename the weapon. I just add 00 to the front.

 

I'm glad to hear your mod is working, however for future reference please do not start editor IDs with a number. Under certain circumstances the GECK/game engine will treat them as form IDs.

Link to comment
Share on other sites

 

Also, you can use custom weapons from other .esp files. Basically, you rename the weapon. I just add 00 to the front.

 

I'm glad to hear your mod is working, however for future reference please do not start editor IDs with a number. Under certain circumstances the GECK/game engine will treat them as form IDs.

Good advice. Thanks.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...