Jump to content

Trying to add Luck to a gun


MichaelTorr

Recommended Posts

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

@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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...