ghoast101 Posted May 24, 2019 Share Posted May 24, 2019 Hello, I'm practically new to making my own Fallout 4 mods. In the past I made a few personal mods, and I wanted to make a new version of one of them: A vending machine which would open a menu with several options and take prewar money or caps in exchange for a certain item, instead of opening a trader menu. I tried using the same script I used on both FO3 and FNV (with names obscured as they could be... Offensive :tongue:). I've only ever messed with FO4 to make a few small things, like items that when consumed give a few others, so not a total stranger to scripting in this, but there's no comparison. Could someone give me some help? Attached is the script I tried using, which is straight from the "old" Fallouts. It wouldn't compile for some reason Link to comment Share on other sites More sharing options...
pra Posted May 26, 2019 Share Posted May 26, 2019 simplest way would be to make a custom crafting workbench which looks like a vending machine. then you "craft" caps into whatever item.The downside would be that buying stuff would give you XP. Link to comment Share on other sites More sharing options...
pra Posted May 29, 2019 Share Posted May 29, 2019 If you really want to do it the messagebox way, you need to look into the Message objects in the CK, and it's script properties:https://www.creationkit.com/fallout4/index.php?title=Message_Script And WTF@"for some reason". Why would you even expect it to compile??Scripting changed a lot between the games. I suggest you look at the various vanilla scripts which come with the CK (you need to unpack some zip, I think). Or look for some F4-specific script tutorials. Link to comment Share on other sites More sharing options...
Recommended Posts