Jump to content

Tom

[+TUTORIAL+] Modify loot crate contents [v242]

Recommended Posts

1 set in crate chosen from 2 sets.  Not sure how it would choose which set to use as you have both setweights at 1.0  I recommend u change those to 0.5 each (if yu want equal chance for them to appear

Havn't fully looked through the code .. first thing i notced though

 

Share this post


Link to post
Share on other sites

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_Veggie_Savoroot_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))
ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemArmor_ChitinShirt_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=true,ChanceToBeBlueprintOverride=0.5),(EntryWeight=1.0,ItemClassStrings=("PrimalItemArmor_ChitinBoots_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

 

those two don't work

Share this post


Link to post
Share on other sites

So for this to work you need to have only 2 items per the lower string?

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=

 

So basically I need to use this  

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CureLow_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))
ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemAmmo_AdvancedRifleBullet_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CookedPrimeMeat_Jerky_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

 

and not this?

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=4,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CureLow_C"),ItemsWeights=(1.0),MinQuantity=5.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemAmmo_AdvancedRifleBullet_C"),ItemsWeights=(1.0),MinQuantity=20.0,MaxQuantity=100.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CookedPrimeMeat_Jerky_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=30.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

Edited by Somes

Share this post


Link to post
Share on other sites
Just now, Gumballz said:

the top one sets white crate to always drop 10 cures and 10 repellents.

You then rewrite the white crate to only drop advanced bullets and cooked meats.

I don't want that. I want to have cures,repellents,bullets and prime jerky to drop in whites. I can not get even one of these to drop or work though.

Edited by Somes

Share this post


Link to post
Share on other sites
3 minutes ago, Somes said:

I don't want that. I want to have cures,repellents,bullets and prime jerky to drop in whites. I can not get even one of these to drop or work though.

Do you want a set number of each in the crates... or a total number (say 40) and the mix be random ?

Share this post


Link to post
Share on other sites
Just now, Gumballz said:

I assume the supply drop mode overwrites the loot table.

Entering this code overwrites the loot table.

either use this code or use the mod

How would i make a crate drop just random saddles or is that possible with the code? 

Share this post


Link to post
Share on other sites
Just now, Gumballz said:

Do you want a set number of each in the crates... or a total number (say 40) and the mix be random ?

I want there to be a random set rate according to the min and max quantity. For example in the code I posted,10 min jerky max 30 jerky.

Share this post


Link to post
Share on other sites
ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=1,MaxNumItems=1,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C", "PrimalItemConsumable_CureLow_C", "PrimalItemAmmo_AdvancedRifleBullet_C", "PrimalItemConsumable_CookedPrimeMeat_Jerky_C"),ItemsWeights=(0.25,0.25,0.25,0.25),MinQuantity=40.0,MaxQuantity=40.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

Would give a Mixture (totalling 40) of repellant, cure, ammo and cooked prime in white crates

 

Edited by Gumballz

Share this post


Link to post
Share on other sites
32 minutes ago, Gumballz said:

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=1,MaxNumItems=1,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C", "PrimalItemConsumable_CureLow_C", "PrimalItemAmmo_AdvancedRifleBullet_C", "PrimalItemConsumable_CookedPrimeMeat_Jerky_C"),ItemsWeights=(0.25,0.25,0.25,0.25),MinQuantity=10.0,MaxQuantity=40.0,MinQuality=4.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

Would give a Mixture (totalling 40) of repellant, cure, ammo and cooked prime in white crates

 

Ok,so rather than adding a new string I share the string with ID's. So if I wanted cures and repellent to be a lower amount total mixture and bullets and jerky a higher total I would use the second string like this?

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=1,MaxNumItems=1,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C", "PrimalItemConsumable_CureLow_C"),ItemsWeights=(0.50,0.50),MinQuantity=10.0,MaxQuantity=40.0,MinQuality=4.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CookedPrimeMeat_Jerky_C", "PrimalItemAmmo_AdvancedRifleBullet_C"),ItemsWeights=(0.50,0.50),MinQuantity=20.0,MaxQuantity=100.0,MinQuality=4.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))
 

Edited by Somes

Share this post


Link to post
Share on other sites
27 minutes ago, Somes said:

How would i make a crate drop just random saddles or is that possible with the code? 

 

....MinItemSets=1, MaxItemSets=1.....

ItemSets=((MinNumItems=1, MaxNumItems=1......

ItemEntries=( 

(Entry details for saddle 1)

(entry details saddle 2)

Rinse and repeat for every saddle

)))))

 

OR

....MinItemSets=1, MaxItemSets=1.....

ItemSets=((MinNumItems=1, MaxNumItems=1......

ItemEntries=((........................ClassItemStrings=("saddle1","Saddle2",......),ItemWeights=( list chance for each saddle in previous list )...MinQuantity=1, MaxQuantity=1,......)))

Edited by Gumballz

Share this post


Link to post
Share on other sites
3 minutes ago, Gumballz said:

 

....MinItemSets=1, MaxItemSets=1.....

ItemSets=((MinNumItems=1, MaxNumItems=1......

ItemEntries=( 

(Entry details for saddle 1)

(entry details saddle 2)

Rinse and repeat for every saddle

)))))

Awersome,so just like the string you just shown me but with saddles. This will take me a bit to type up but it might be a better balance than the mod I use. 

 

Another quick question,will this code work for creature loot tables or just crates? I am not sure if there is an override for creatures but I was wondering.

Edited by Somes

Share this post


Link to post
Share on other sites

If you Want each item to always drop (but in varying quantitites) You could do the same as for the saddles except....

 

....MinItemSets=1, MaxItemSets=1.....

ItemSets=((MinNumItems=4, MaxNumItems=4......

ItemEntries=( 

(Entry .......... "Repellent".....)

(Entry......."Cure".......)

(Entry......"bullets"....)

(Entry......"Meat"....)

)))))

 

Set all weights to 1.0

Edited by Gumballz

Share this post


Link to post
Share on other sites
6 minutes ago, Somes said:

Another quick question,will this code work for creature loot tables or just crates? I am not sure if there is an override for creatures but I was wondering.

Not as I am aware.  I would guess there is (or maybe in the future) a seperate command for that

Share this post


Link to post
Share on other sites
Just now, Gumballz said:

Not as I am aware.  I would guess there is (or maybe in the future) a seperate command for that

I am guessing there is. The mod I use edits creature loot so I am guessing its dev kit only right now. Is the current adk download fixed now? I was considering jumping in head first to play lol.

Share this post


Link to post
Share on other sites
10 minutes ago, Somes said:

I am guessing there is. The mod I use edits creature loot so I am guessing its dev kit only right now. Is the current adk download fixed now? I was considering jumping in head first to play lol.

I think so.. or at least theres a work around.  You should jump in the Discord modding Channel https://discord.gg/0rE0xSw1sB7GRA7Z  or check out the unreal forums  https://forums.unrealengine.com/forumdisplay.php?70-ARK-Survival-Evolved   or even the Mod Wiki https://wiki.arkmodding.net/index.php/Welcome

I'm sure you'll find what you need there someplace :)

 

Sorry for half the links not working... I think these forums were made by a 3 year old

Edited by Gumballz

Share this post


Link to post
Share on other sites
Just now, Gumballz said:

I think so.. or at least theres a work around.  You should jump in the Discord modding Channel https://discord.gg/0rE0xSw1sB7GRA7Z  or check out the unreal forums  https://forums.unrealengine.com/forumdisplay.php?70-ARK-Survival-Evolved   or even the Mod Wiki https://wiki.arkmodding.net/index.php/Welcome

I'm sure you'll find what you need there someplace :)

 

Sorry for half the links not working... I think these forums were made by a 3 year old

Thanks,and no prob. So just for clarity this code should work?

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=1,MaxNumItems=1,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C", "PrimalItemConsumable_CureLow_C"),ItemsWeights=(0.50,0.50),MinQuantity=10.0,MaxQuantity=40.0,MinQuality=4.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_CookedPrimeMeat_Jerky_C", "PrimalItemAmmo_AdvancedRifleBullet_C"),ItemsWeights=(0.50,0.50),MinQuantity=20.0,MaxQuantity=100.0,MinQuality=4.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

Share this post


Link to post
Share on other sites

That would give you between 10 and 40 Repellants/Cures mixed OR between 20 and 100 jerky/bullets mixed.

And I think your missing a closing bracket at the end

If you want all 4 items in (but staying with the same mix....change MinNumItems=2  and MaxNumItems=2  just after the ItemSets( 

 

You also have MinQuality=4 in both entry weight... not that it matters for these items, but change that to 1.0

Thin that was actually my typo you may have copied b4 i changed it :P

Yeah, u need 6 )))))) at the end

 

Actually you dont need an extra closing ) at the end.  you habe 1 too many opening (( just before the second  EntryWeight=

Edited by Gumballz

Share this post


Link to post
Share on other sites
9 hours ago, ShadowFR said:

ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_Veggie_Savoroot_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0),(EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_BugRepellant_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))
ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=1,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=2,NumItemsPower=1.0,SetWeight=1.0,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=1.0,ItemClassStrings=("PrimalItemArmor_ChitinShirt_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=true,ChanceToBeBlueprintOverride=0.5),(EntryWeight=1.0,ItemClassStrings=("PrimalItemArmor_ChitinBoots_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0)))))

 

those two don't work

i can't see anything wrong here...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...