DEagle62 Posted July 24, 2009 Share Posted July 24, 2009 Okay, so I have just gotten into modding. I'm kind of teaching myself by finding simple mods, figuring out how they do what they do, and r-creating it myself. So far I have done this for the "Longer Death Camera" mod (easy, but took forever to find the thying I was supposed to change). Anyway, I was re-creating the mod that adds an empty Nuka-Cola bottle when you drink it, and when I was done testing, I wanted to make all of the drinks and stuff give you empty containers back. I started with Whiskey, and I'm stuck.I created the script, but I don't understand how to add it to the effects of Drinking the whiskey. I'm also going to make it so that an empty syringe is added on use of Stimpacks, and I'm going to make empty clips drop to the ground that you can pick up. (that one is going to be complicated, I assume) Well, any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Cipscis Posted July 24, 2009 Share Posted July 24, 2009 Whenever the player consumes an ingestible, like a Stimpak, its effect is run on them. In order to add an effect to an ingestible, you'll need to add a new effect item (which points to a Base Effect) to the ingestible. Your base effect will need to be a script effect, and the script wouldn't need to be very complicated:Begin ScriptEffectStart AddItem EmptyStimpak 1 EndCipscis Link to comment Share on other sites More sharing options...
DEagle62 Posted July 24, 2009 Author Share Posted July 24, 2009 Okay, Here's a screenshot of what I'm looking at. You can see my script. I am trying to add the effect, I'm just confused as to what I actually need to do from here. Link to comment Share on other sites More sharing options...
Cipscis Posted July 24, 2009 Share Posted July 24, 2009 The "ScriptEffect" Base Effect is leftover from Oblivion, don't worry about it. You need to make a new base effect to attach your script to, and add that new base effect to the ingestible as an effect item. Cipscis Link to comment Share on other sites More sharing options...
DEagle62 Posted July 24, 2009 Author Share Posted July 24, 2009 Okay, I made a new effect, but It isn't in the list when I try to choose it. What did I do wrong? Link to comment Share on other sites More sharing options...
Cipscis Posted July 24, 2009 Share Posted July 24, 2009 Sorry, I should have mentioned this before. In order for your effect to be available for selection to be included in an ingestible, the "Self" checkbox must be ticked. Cipscis Link to comment Share on other sites More sharing options...
DEagle62 Posted July 24, 2009 Author Share Posted July 24, 2009 Thank you very much, I have it working now. Now I'm going to work on making a mod for my empty ammo clip idea. Again, Thanks for all your help. Link to comment Share on other sites More sharing options...
Recommended Posts