MichaelTorr Posted December 28, 2018 Share Posted December 28, 2018 I'm trying to make a custom gun that gives you +1 luck when using it.Under Object Effects, I can choose from a list of effects for weapons. No weapon effect script has +1 to any S.P.E.C.I.A.L. So I decided to go look at clothing, since I know glasses and hats can give perception bonuses. Clothing Object Effects do have +1 (and more) to various S.P.E.C.I.A.L.So I thought the way to do this was locate a clothing Object Effect script, change the name and change the category from “apparel” to “weapon”. I tried it, and it worked, sorta. Sure enough I was able to select my custom Object Effect. And in game, when holding the gun, and looking at its description, it says Effects: +1 Luck.However, when looking at my stats, I am not actually getting a +1 to luck on my stats.The only difference I can see between apparel and weapon Object Effect scripts is: on a weapon effect, the “range” gives you only the option for “touch” and on apparel it's “range' only gives you the option for “self”.If I am not being clear, here's a quick video of the problem. Link to comment Share on other sites More sharing options...
YanL Posted December 28, 2018 Share Posted December 28, 2018 I do not know how to help you, but I'm pretty sure that the fo3 8-ball script exists on the NV geck. That's exactly what you need. http://fallout.wikia.com/wiki/Lucky_8-ball Link to comment Share on other sites More sharing options...
uhmattbravo Posted December 28, 2018 Share Posted December 28, 2018 I'm not sure you could do it with an object effect, but you should be able to do it by adding a script on the gun with an onEquip block that adds a luck boosting perk and an onUnequip block that removes it. Link to comment Share on other sites More sharing options...
MichaelTorr Posted December 29, 2018 Author Share Posted December 29, 2018 @YanL I managed to find MS01Lucky8BallAbility that you are referring to. It can't be used under the object effect box, or the script box. Also, even if I found a way to get that working, I don't think it does what I need. According to the description the +1 luck applies just for being in your inventory. With my gun, I want it active only upon equipping. But thanks for trying. @uhmattbravo Yeah I think you're right that it will come down to me having to write a scrip. However, I don't know how to do that. If I am going to start making mods I guess I need to start learning how to write a script. I already found an article on GECK scripting to get me started. Anyhow guys, thanks for the feed back. I was just hoping there was 1 simple little thing I was doing wrong. Link to comment Share on other sites More sharing options...
dubiousintent Posted December 29, 2018 Share Posted December 29, 2018 Please see the 'Scripting' section of the wiki "Getting started creating mods using GECK" article for additional advice and "lessons learned". -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts