Jump to content

trying to understand the probability values in insert Procedural Distributions


excon

Recommended Posts

Hi 

iam working on a distribution table for my mods ites but i see vastly different values regarding the spread

 

 

table.insert(ProceduralDistributions["list"]["BedroomDresser"].items, 0.0001);

and another one had

table.insert(ProceduralDistributions["list"]["PlankStashMagazine"].items, 30);

 

can some one explain to me the probability behind those values ?

Thank you 

Link to comment
Share on other sites

guidance and sample records

distri car parts 0.2

or book rarity by lvl 1-5

for: 6,4,2,1,0.5

 

available areas car:

GloveBox
TrunkStandard
TrunkHeavy
TrunkSports
 
DriverSeat
Seat
 
PoliceTruckBed
PoliceGloveBox
RangerTruckBed
RangerGloveBox
FireTruckBed
FireGloveBox
FossoilTruckBed
FossoilGloveBox
PostalTruckBed
PostalGloveBox
AmbulanceTruckBed
AmbulanceGloveBox

 

 

 

needed distri

require 'Items/SuburbsDistributions'
require 'Vehicles/VehicleDistributions'
require 'Items/ProceduralDistributions'
require 'Items/SuburbsDistributions'

 

 

syntax

table.insert(ProceduralDistributions.list["GarageMechanics"].items, "Base.muffler");
table.insert(ProceduralDistributions.list["GarageMechanics"].items, 0.2);
Edited by excon
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...