#41  
Old 10-28-2017, 07:46 AM
Coolmer Coolmer is offline
Initiate
 
Join Date: Oct 2017
Posts: 4
Default

Hi, tnx for mod. All good now saves work flawless.

Last edited by Coolmer; 10-30-2017 at 07:23 PM.
Reply With Quote
  #42  
Old 12-13-2017, 05:55 AM
OreoFudge OreoFudge is offline
Initiate
 
Join Date: Dec 2017
Posts: 1
Default

Does this mod affect epics and legendaries, too? Or does it only affect rares and MIs?
Reply With Quote
  #43  
Old 12-13-2017, 06:06 AM
Ceno's Avatar
Ceno Ceno is offline
Praetorian
 
Join Date: Jul 2014
Posts: 9,652
Default

Only Rares and MIs.
Reply With Quote
  #44  
Old 04-10-2018, 03:40 AM
Qladstone Qladstone is offline
Initiate
 
Join Date: Apr 2018
Posts: 15
Default

Quote:
Originally Posted by Ceno View Post
Note: It's not actually guaranteed that enemies will drop RarePrefix/RareSuffix gear. There is a *very* slim chance that other items can drop. In the above images, only one pure white item dropped and no yellow items dropped.
I have examined the changes to gameengine.dbr you have made. So it seems you have changed the values to 5000000 and 0.0001 and respectively for rareBoth entries and all others.

Firstly, I assume that these values are relative odds. So in this example:

Code:
noPrefixNoSuffixModifierCommon,1,
bothPrefixSuffixModifierCommon,1,
rareBothPrefixSuffixModifierCommon,10,
rarePrefixNormalSuffixModifierCommon,1,
normalPrefixRareSuffixModifierCommon,1,
prefixOnlyModifierCommon,1,
rarePrefixOnlyModifierCommon,1,
suffixOnlyModifierCommon,1,
rareSuffixOnlyModifierCommon,1,
brokenOnlyModifierCommon,1,
There is 10/19 probability of having both rare affixes, and 1/19 for each of the other 9 possibilities.

Your version is:

Code:
noPrefixNoSuffixModifierCommon,0.0001,
bothPrefixSuffixModifierCommon,0.0001,
rareBothPrefixSuffixModifierCommon,5000000,
rarePrefixNormalSuffixModifierCommon,0.0001,
normalPrefixRareSuffixModifierCommon,0.0001,
prefixOnlyModifierCommon,0.0001,
rarePrefixOnlyModifierCommon,0.0001,
suffixOnlyModifierCommon,0.0001,
rareSuffixOnlyModifierCommon,0.0001,
brokenOnlyModifierCommon,0.0001,
Why 5000000 in particular? As well, what's stopping us from putting 0 instead of 0.0001? Is it an engine limitation?

Aside: What is the significance of the brokenOnlyModifier with respect to the enemy's strength? Does it mean the enemy gets equipped with nothing and hence drops nothing, or is equipped with some (undetermined) equipment but drops nothing because it breaks?
Reply With Quote
  #45  
Old 04-10-2018, 07:03 PM
Ceno's Avatar
Ceno Ceno is offline
Praetorian
 
Join Date: Jul 2014
Posts: 9,652
Default

Quote:
Originally Posted by Qladstone View Post
Why 5000000 in particular? As well, what's stopping us from putting 0 instead of 0.0001? Is it an engine limitation?

Aside: What is the significance of the brokenOnlyModifier with respect to the enemy's strength? Does it mean the enemy gets equipped with nothing and hence drops nothing, or is equipped with some (undetermined) equipment but drops nothing because it breaks?
For some reason, zero is treated as non-zero in this field. I don't know the exact value it's set to when you put a zero there, but it definitely isn't zero. :P I had originally tested the mod with zero there but the drops weren't making sense (e.g., non-Rare gear was still pretty common). Of course, even with 5000000 vs 0.0001, it's still possible to get non-Rare gear, but it's much less likely than it was with a zero.

So Broken equipment is essentially White equipment with no affixes that when it drops is hidden from player-view and despawns almost immediately. It has the same stats as regular gear (usually, sometimes Broken gear is purely cosmetic like Karroz's equipment) but so as not to overwhelm the player in loot and so as not to lag the game with an overabundance of loot, it's just removed from existence when it no longer matters. In Titan Quest, you could actually drop and use Broken gear, particularly during lower levels. It was Grey gear, 'worse' than White (Common) gear.

Edit: As to your assumption about the way the mod works:

So these values are all Modifiers. They are a multiplier for relative values in different loot tables. If I actually wanted to eliminate the chance of ever getting anything other than Rare gear, I would go into every loottable in the game and set everything other than Rare/Rare to 0 (which would work) and set Rare/Rare to some nonzero value. However, this is a hell of a lot more work. Probably hundreds of files would need to be changed and if droprates were ever adjusted by an official patch, I'd need to repeat all that effort again. So I took the easy way out, and modified a single file that I knew had to exist because there was a difference between the difficulties in terms of how 'rare' Rare gear was. This made the mod much easier to recreate as Crate released updates to the game and, in most cases, is outright forward-compatible with future updates. Plus it's a lot easier to merge this mod into other mods by doing things this way.

Edit 2: Here's an example of a loottable that would be modified by the above multipliers:


So the idea is to bump rareBothPrefixSuffix up to a really high number and everything else down to a really low number...actually, because players don't ever see Broken Equipment, it's actually fine for the purposes of the mod if it drops, but that's beside the point. So I multiply the '4' by '5,000,000' to get an extraordinarily high value (20 million) that already dwarfs everything else in the table...and then I shrink those other values down even more just for good measure (at most, 9.5 as is the case for Broken Loot). So, for instance, if all there was was double rare loot and Broken loot, you'd have a 9.5/20000009.5 chance of getting a Broken thing to drop, and a 20000000/20000009.5 chance of getting a Rare/Rare item to drop.

In reality, this has actually caused an overabundance of loot for sure, which is why the screenshots in the first post are so rich with evidence as to the mod functioning as I described. A good polishing up of the mod would make Broken loot more likely, so that players weren't overwhelmed by a tidalwave of gear.

Edit T H R E E:

I think I may finally understand why zero doesn't work in the modifier field. In Grim Dawn, most modifiers are essentially + X% to whatever is being modified. +0% is still a 1.0x multiplier to the original value, and +0.0001% is a 1.0001x multiplier. So I may actually be counteracting myself a bit. I'm not sure, but it's not hugely relevant; the mod definitely works either way! +5000000% will do that.

Last edited by Ceno; 04-10-2018 at 07:28 PM.
Reply With Quote
  #46  
Old 04-14-2018, 10:16 AM
Qladstone Qladstone is offline
Initiate
 
Join Date: Apr 2018
Posts: 15
Default

Quote:
Originally Posted by Ceno View Post
If I actually wanted to eliminate the chance of ever getting anything other than Rare gear, I would go into every loottable in the game and set everything other than Rare/Rare to 0 (which would work) and set Rare/Rare to some nonzero value. However, this is a hell of a lot more work. Probably hundreds of files would need to be changed and if droprates were ever adjusted by an official patch, I'd need to repeat all that effort again. So I took the easy way out, and modified a single file that I knew had to exist because there was a difference between the difficulties in terms of how 'rare' Rare gear was. This made the mod much easier to recreate as Crate released updates to the game and, in most cases, is outright forward-compatible with future updates. Plus it's a lot easier to merge this mod into other mods by doing things this way.
It would indeed be excruciatingly painful and infeasible to do that manually. However, I think it can be automated. It seems that the .db files are in plain text format, and can be edited using a text editor. Also, the loot-table data in plain text format seems to be well structured. I conjecture that a simple program that scours through the relevant directories and overwrites the values for the appropriate rows can do the job.

That would mean the mod modifies the loot-table file for all items (that can have affixes), which would of course make integration with other mods non-trival, requiring deliberate cooperation and effort.

Quote:
Originally Posted by Ceno View Post
Edit T H R E E:

I think I may finally understand why zero doesn't work in the modifier field. In Grim Dawn, most modifiers are essentially + X% to whatever is being modified. +0% is still a 1.0x multiplier to the original value, and +0.0001% is a 1.0001x multiplier. So I may actually be counteracting myself a bit. I'm not sure, but it's not hugely relevant; the mod definitely works either way! +5000000% will do that.
I did a summary of the modifiers in structured, table format. Blank entries indicate missing entries (rather than zero-entries). They are from gdx1's "gameengine.dbr":

https://www.dropbox.com/s/i0mbv435uy...mmary.pdf?dl=0

Have a look at the table above and see what insights, on how exactly these modifiers work, you might get from it.

EDIT:
Other than in gameengine.dbr and the loottable files for items, is there anything else that influences affixes' appearances? From one of the patches onwards, in later levels you no longer see whites anymore. What gives rise to this?

Last edited by Qladstone; 04-14-2018 at 12:03 PM.
Reply With Quote
  #47  
Old 04-14-2018, 12:44 PM
Medusa Medusa is offline
Initiate
 
Join Date: Apr 2018
Posts: 4
Default

hi thanks for the mod looks great
Reply With Quote
  #48  
Old 08-31-2018, 11:08 PM
Tokyosword Tokyosword is offline
Initiate
 
Join Date: Aug 2018
Posts: 1
Default

hi, can anyone tell me why the mod is not downloading as a zip file?
Reply With Quote
Reply

Tags
challenge, gameplay, mod, modding, rareplus

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Grim Dawn ©2018 Crate Entertainment, LLC.
vBulletin® 3.8.4 ©2000-2014, Jelsoft Enterprises Ltd.