Biohazard186 Posted December 30, 2016 Share Posted December 30, 2016 (edited) I have tried using the script manager in the CK and Notepad++ to no avail. Both produce the same error of being unable to find a file that does exist. Compiling through NPP is set up like the last post in this thread:https://community.bethesda.net/thread/21140?start=15&tstart=0 (the last post in the thread)The only changes I made were to the directory where I have Fallout 4 installed and I added the subfolders for the remaining DLC to the compiler .bat file. Okay, so what I'm trying to do. I'm working on a mod that uses the ammunition builder from the Contraptions DLC to produce a stack of ammo proportionate to the weight of the materials used to create said ammo. By default all ammo types are produced in stacks of 10. This is controlled by the script WorkshopBuilderScript located in the Scripts\DLC05 folder and is of the data type int. int property iRecipeItemCount = 1 auto const { how many of each recipeItem to spawn? }The value can be changed in the CK but the problem with this line is that it only allows one number to be specified and applied to ALL recipes (in this case, ammunition) defined in the CK. What I want to do is change that line to... Form[] property iRecipeItemCount auto const { how many of each recipeItem to spawn? }...so that I can specify a different stack size for each ammunition recipe. However, the script itself is generic and doesn't have any values until it is attached to an item in the CK and this particular script is attached to all the builders in the Contraptions DLC, not just the ammunition builder. So, in an attempt to alter as little as possible, I decided to duplicate the script and change the one line that I need and attach that script to the ammunition builder only. And that's where the problem begins. The original script extends DLC05:WorkshopHopperScript, also located in the Scripts\DLC05 folder, and when I attempt to compile my script I get the error that the compiler is unable to locate the WorkshopHopperScript. So my question is, why? And how can I fix this without duplicating every script in the chain? Edit: Turns out the Form[] can't be used like that. Bugger. :/ Edited December 30, 2016 by Biohazard186 Link to comment Share on other sites More sharing options...
Recommended Posts