Praxus9 Posted February 7, 2017 Share Posted February 7, 2017 I've been attempting to make a mod where the magazines cause a permanent effect when "ingested" rather than the default temporary effect. I feel as though the best method, for my needs, is the one described in the GECK Wiki: Create an effect script using a MenuMode block, embed that script into a base effect and then place that effect into the results of the ingestible (aka the magazine).This method works for both standalone magazines and those sold through vendors (prior different methods seemed to always cause an increased chance for game crashes when taking the magazines from a container or buying them from a vendor, which is why I am not using those methods). However, there is one side-effect with this method that I can not find the source for: Whatever the value you want the increase to be, it becomes triple that value in game. For instance, if I wrote "player.ModAV Barter 3" in GECK, the magazine would increase the value of Barter by 9 in the game. Write "player.ModAV Barter 1" and it would increase Barter by 3.I made certain that I turned off all of my mods to ensure that there was no cross-mod contamination. I also played with two characters with different SPECIAL & skill values to ensure that it wasn't tied to those values. In every case, I still got triple the amount that I wanted to increase.I have not checked off either the food or medicine checkboxes which, apparently, influences the value based upon the values of other skills. I am at a loss to explain this unexpected increase and I am wondering if anyone has experienced something similar to this phenomenon before. If so, if you have discovered a solution to this, please describe it to me. Thank you. Link to comment Share on other sites More sharing options...
PushTheWinButton Posted February 7, 2017 Share Posted February 7, 2017 Not quite sure why you're getting the x3 effect, but you want to be using the ScriptEffectStart block for the effect's script, not MenuMode. Maybe that's causing it somehow? Link to comment Share on other sites More sharing options...
DoctaSax Posted February 7, 2017 Share Posted February 7, 2017 (edited) Or the script block containing the modAV line is executed two times too many? Edit: I'm puzzled why people would suggest menumode too, btw. Edited February 7, 2017 by DoctaSax Link to comment Share on other sites More sharing options...
Praxus9 Posted February 7, 2017 Author Share Posted February 7, 2017 Hi PushTheWinButton & DoctaSax and thanks for the prompt replies. I took your suggestions and it worked; I used "ScriptEffectStart" instead of the "MenuMode" that I had used before. As a result, the multiplication effect disappeared. The advice that I used is shown here (http://geck.bethsoft.com/index.php?title=OnEquip). Having never really bothered with ingestibles (either Fallout 3 or New Vegas) previously in my mods, I had no basis for comparison. I'm glad that there were others, such as yourselves, with better advice. Again, thank you for your prompt replies. Link to comment Share on other sites More sharing options...
Recommended Posts