Jump to content

FallenDanish

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by FallenDanish

  1. So I decided to remake my first mod and add some interesting features to it, including the ability to sell all of a type of drug in bulk to an NPC for caps (imagine De Luca in Vault 81, but instead of one Jet at a time, all of your Jet for a lump sum). Thing is, I've built a quest up for it, set priority to zero (since I didn't imagine there was any progression required at this stage), and then wrote up a couple lines in the ending dialogue line for the NPC (additem caps, removeitem jet). The dialogue works, but when I try to sell drugs to him, the dialogue displays, but the code doesn't run i.e the jet stays and no caps are added. I've attempted to run other code snippets and have also rewritten everything in comparison to other scripts of similar caliber, like fetch quests and the De Luca jet script... no dice. Anybody got any ideas what I could be missing here?
  2. Hey all, After getting most of the issues ironed out, I finally got my NPC to talk to me properly. The goal of this NPC was to be like De Luca in Vault 81, who buys chems off of you for caps. I wanted to do a whole amount instead of one at a time, however (De Luca buys one Jet for 75 caps every time you use dialogue, I wanted to do all the Jet the player has for 75 caps times the amount of Jet sold). I thought I had the scripts all figured out; yet when I talk to the NPC and select "Sell Drugs" in the dialogue and go through it, nothing happens. Aliases seem proper, I'm using the right commands (AddItem and RemoveItem), scripts compiled just fine... still not working properly. Any help would be greatly appreciated; I really want to progress with this mod and make something really cool out of it. Images of the Quest setup: https://imgur.com/a/m6VA2
  3. Hey all, After getting most of the issues ironed out, I finally got my NPC to talk to me properly. The goal of this NPC was to be like De Luca in Vault 81, who buys chems off of you for caps. I wanted to do a whole amount instead of one at a time, however (De Luca buys one Jet for 75 caps every time you use dialogue, I wanted to do all the Jet the player has for 75 caps times the amount of Jet sold). I thought I had the scripts all figured out; yet when I talk to the NPC and select "Sell Drugs" in the dialogue and go through it, nothing happens. Aliases seem proper, I'm using the right commands (AddItem and RemoveItem), the kmyQuest dealerScript01 is set up okay, and properties are solid: Properties: pJet = Jet, pCaps001 = Caps001, jVal is initialized in dealerScript01 as an Int. pJet and pCaps001 are properties inside of the fragment in that dialogue window (the last image in the gallery) Script (with kmyQuest = dealerScript01): kmyQuest.jVal = Game.GetPlayer().GetItemCount(pJet) if (jVal >= 1) Game.GetPlayer().AddItem(pCaps001, kmyQuest.jVal * 75, false) [i've also tried the code without the silence boolean as seen in the gallery; no change in the outcome] Game.GetPlayer().RemoveItem(pJet, kmyQuest.jVal, false) [i've also tried the code without the silence boolean as seen in the gallery; no change in the outcome] endif ... Images of the quest information for additional insight - https://imgur.com/a/m6VA2
  4. Yeah, that works. That's so strange; previously, I was able to make new objects from the searches. This makes things more tedious as I don't know exactly where everything is in the Fallout4.esm, but at least I can actually work with it now. Thank you.
  5. Hey all, So I recently jumped back into modding because I thought it'd be cool to bundle up one of my previous mods (Wasteland Chems and Food) with a sort of "dealer" system where NPCs will buy drugs off of you in bulk. Think De Luca in the generator room of 81, but instead of one at a time, all you have at once. Well, my original issue was getting the NPC to speak to me period; it seemed like no matter what I did he wouldn't speak to me. After sitting on that issue for a while, I had an idea in mind to fix it (Priority change) but now... I can't even create a new object and start fresh with it. It's so strange. If I click, say, a voice object to make a new one (right click -> new) it does nothing. No window pops up, no errors, nothing. I've tried making new NPCs, weapons, items, voice lines, quests... every time I click 'New' in the drop menu, nothing happens. Full uninstall and reinstall, ini wipes, etc. nothing's worked. You guys have any ideas? Here is a quick video I captured of the issue happening: https://www.youtube.com/watch?v=8_L8K2YiQkE&feature=youtu.be Thanks, FD
×
×
  • Create New...