Jump to content

Random tables/rolls customization for moded items


francogp

Recommended Posts

Hi, 

Is there a way to program my custom drop, without modifying the vanilla tables/rolls, for my custom items? the problem is that with the perk "lucky" I can obtain VERY EASY my super rare MODED ITEMS on zombies (in 10 minutes I managed to get 1/4 of them :? with that perk, and in theory I should get one of them per month). I want to create RARE items, with probabilities lesser than the 0.1 imposed by the perk "lucky".

 

I already tried to see other mods, but they got a VERY complicated and long code, without comments :P and I need the "basic code" to do that on my way.

Link to comment
Share on other sites

4 hours ago, francogp said:

Hi, 

Is there a way to program my custom drop, without modifying the vanilla tables/rolls, for my custom items? the problem is that with the perk "lucky" I can obtain VERY EASY my super rare MODED ITEMS on zombies (in 10 minutes I managed to get 1/4 of them :? with that perk, and in theory I should get one of them per month). I want to create RARE items, with probabilities lesser than the 0.1 imposed by the perk "lucky".

 

I already tried to see other mods, but they got a VERY complicated and long code, without comments :P and I need the "basic code" to do that on my way.

 

I think you can just use the event that triggers when container fills and inject your item using zombrand tho you have to add a bit of code so that lucky will get some bonus too. I never did this before but this seem logically possible.

Link to comment
Share on other sites

On 3/7/2016 at 0:09 AM, francogp said:

Hi, 

Is there a way to program my custom drop, without modifying the vanilla tables/rolls, for my custom items? the problem is that with the perk "lucky" I can obtain VERY EASY my super rare MODED ITEMS on zombies (in 10 minutes I managed to get 1/4 of them :? with that perk, and in theory I should get one of them per month). I want to create RARE items, with probabilities lesser than the 0.1 imposed by the perk "lucky".

 

I already tried to see other mods, but they got a VERY complicated and long code, without comments :P and I need the "basic code" to do that on my way.

 

If you are still trying to figure this out, look at my distributions script. At the bottom it has a hook into the container fill for you to reference and I have custome zombrand like ShuiYin says.

Link to comment
Share on other sites

24 minutes ago, ORMtnMan said:

 

If you are still trying to figure this out, look at my distributions script. At the bottom it has a hook into the container fill for you to reference and I have custome zombrand like ShuiYin says.

Yes, I already do that... I manage to "shrink" your script to 20 lines as a "basic" script. Now I use that. I will post it as an example for others...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...