Skyviper086 Posted October 18, 2016 Share Posted October 18, 2016 Hey After several Fallout 4 play throughs I'm getting back into Vegas a little bit. So I have this weapon mod that uses the add/remove item script/feature when you use a secondary fire option on the weapon. Every time the secondary fire is used a little corner message appears saying this item was taken away and this item was added. I'm wanting to know how I can remove those corner notifications without messing things up in the scripts. Thank you! Link to comment Share on other sites More sharing options...
PushTheWinButton Posted October 18, 2016 Share Posted October 18, 2016 The Add/RemoveItem function takes an optional third parameter: whether or not to hide the messages, 1 or 0. For example, PlayerREF.AddItem weaponForm 1 1 will hide the "added" message. Link to comment Share on other sites More sharing options...
Skyviper086 Posted October 18, 2016 Author Share Posted October 18, 2016 Sweet. I'll take a look at this right now. Thank you. Link to comment Share on other sites More sharing options...
Skyviper086 Posted October 18, 2016 Author Share Posted October 18, 2016 wait to I look in the mods scripts for this? Or somewhere else? I'm not seeing that line in the scripts of the weapon mod. ... but I'm stoopid like that. Link to comment Share on other sites More sharing options...
PushTheWinButton Posted October 18, 2016 Share Posted October 18, 2016 Oops, sorry; I thought this was the MA forum. I probably should have explained that more. Yeah, you'll have to edit the script which controls the weapon switching. The third parameter may be stated as 0 or omitted entirely. You'll have to find all the AddItem and RemoveItem function calls change or add it as appropriate. The mod might require NVSE so if you're messing with the scripts you'll need to have NVSE set up with the GECK. Link to comment Share on other sites More sharing options...
Skyviper086 Posted October 18, 2016 Author Share Posted October 18, 2016 It does and I'm not sure if I set the NVSE up with the GECK correctly or not. It looks like the regular GECK. Link to comment Share on other sites More sharing options...
devinpatterson Posted October 18, 2016 Share Posted October 18, 2016 So I have this weapon mod that uses the add/remove item script/feature when you use a secondary fire option on the weapon. Every time the secondary fire is used a little corner message appears saying this item was taken away and this item was added. Thank you! wait to I look in the mods scripts for this? Or somewhere else? I'm not seeing that line in the scripts of the weapon mod. ... but I'm stoopid like that. I think the key clue is the secondary fire. Assuming your secondary fire is a hotkey, it is probably running in it's own separate quest script via NVSE's is/getKeyPressed. You can track down the quest script pretty easy by firing up fnvedit and looking under the mod's script heading. Then open it up and change the parameter/switch of the additem function. Note though, that if it's a weapon it probably uses addItemAlt (to avoid the invisible weapon glitch) but it uses the same parameters. Or just link to the mod and I can sort through it real quick for you. Link to comment Share on other sites More sharing options...
Skyviper086 Posted October 18, 2016 Author Share Posted October 18, 2016 Hello and thank you. I'll do both just in case I miss it or mess up or something. Mod link Link to comment Share on other sites More sharing options...
devinpatterson Posted October 18, 2016 Share Posted October 18, 2016 Mod link Looks like I can't alter it for you (the author doesn't give permission for modification), but if you can't work it out, I can download the mod and show you waht script it's in, and what line to add the number "1". I believe that's probably all there really is to it. Link to comment Share on other sites More sharing options...
Skyviper086 Posted October 19, 2016 Author Share Posted October 19, 2016 That seems like that will work nicely. Because I can't make heads or tails of any of this. I'm willing to learn how to do this if you're willing to show me. That will work nicely. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts