overdog
First time out of the vault

(mod for base Fallout 2)
I've created a new weapon .PRO file, added it to the needed lists, including the PID list, added it to random encounters (haven't tested that yet though), and now I'm adding it to a trader (tubby's in the Den) inventory via the SSL file (DITUBBOX.SSL) in the fallout2/data/scripts/headers/den/ folder. I have added this
check_restock_item(PID_RHEINMETALL_9MM, 1, 2, 100)
line right below the rest of the items for sale, saved it, and set my starting map to denbus1 to test it with a new game.
No dice.
No matter how many times I started a new game the weapon would never show up in his trading inventory. So I got to wondering whether I was actually effecting his stock or not. So I removed a item from the trading list on the SSL file to test. Upon loading, the item was still in his list. So I've concluded that editing that file doesn't actually effect his inventory. I'm confused, as another user of the forum the the exact same thing as me, and he eventually got it working (seen here Adding new created items to merchants/NPCs | No Mutants Allowed (nma-fallout.com) )
One thing to note is I'm not editing the .int files which game with the game, I got the header folder/subfolders and SSL files from... somewhere, In some installation, I honestly forget, but it appeared as though I was supposed to have them anyways. Was I supposed to ignore the header folders convert the .int file from scripts to an SSL and then back again to have my desired changes? Or am I missing something else? I'm not the best at explaining things and if you couldn't tell I'm extremely new to this, so ask if you need clarification.
Thank you.
I've created a new weapon .PRO file, added it to the needed lists, including the PID list, added it to random encounters (haven't tested that yet though), and now I'm adding it to a trader (tubby's in the Den) inventory via the SSL file (DITUBBOX.SSL) in the fallout2/data/scripts/headers/den/ folder. I have added this
check_restock_item(PID_RHEINMETALL_9MM, 1, 2, 100)
line right below the rest of the items for sale, saved it, and set my starting map to denbus1 to test it with a new game.
No dice.
No matter how many times I started a new game the weapon would never show up in his trading inventory. So I got to wondering whether I was actually effecting his stock or not. So I removed a item from the trading list on the SSL file to test. Upon loading, the item was still in his list. So I've concluded that editing that file doesn't actually effect his inventory. I'm confused, as another user of the forum the the exact same thing as me, and he eventually got it working (seen here Adding new created items to merchants/NPCs | No Mutants Allowed (nma-fallout.com) )
One thing to note is I'm not editing the .int files which game with the game, I got the header folder/subfolders and SSL files from... somewhere, In some installation, I honestly forget, but it appeared as though I was supposed to have them anyways. Was I supposed to ignore the header folders convert the .int file from scripts to an SSL and then back again to have my desired changes? Or am I missing something else? I'm not the best at explaining things and if you couldn't tell I'm extremely new to this, so ask if you need clarification.
Thank you.
Last edited: