Kingdom Come: Deliverance
0 of 0

File information

Last updated

Original upload

Created by

Matt

Uploaded by

Lytheus

Virus scan

Safe to use

Tags for this mod

43 comments

  1. ceano
    ceano
    • premium
    • 134 kudos
    OK i agree that this mod values makes so you almost never get Dirty, but if i read what other is saying what values to use i get mixed signals.

    Some say..
    <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="12000" />
    <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="30000" />


    ...and other say...

    <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="8000" />
    <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="2" />


    ...so what is the best to use???
    1. Guifurst
      Guifurst
      • member
      • 0 kudos
      Yeah, apparently I can't find a proper answer for this, but I'm gonna test with the former values and see what works (but reducing to about a third, so I can expect to get dirty, just not as quickly as vanilla, but to also get dirty while just walking).
    2. kingerectus2222
      kingerectus2222
      • member
      • 0 kudos
      According to the tutorial hosted here, the number represents the distance(in metres?) that one must walk before becoming completely dirty from completely clean.
  2. Robinson2019
    Robinson2019
    • member
    • 0 kudos
    getting annoyed with this mod i just want to stay clean basically forever but there isnt a mod for that. yet when i downloaded this one nothing changed at all. please just someone tell me exactly how i do it. (im not great with computers)
  3. bullgod13
    bullgod13
    • member
    • 6 kudos
    There are two values, one for getting dirty while running, other while walking.
    With your mod youl'll get dirty sooner (by sooner I mean after travelling shorter distance) while walking than running.
    Am I right?
    1. Lytheus
      Lytheus
      • supporter
      • 0 kudos
      no, one of the values is for standing still, while the other one is for moving.
      with the current setup, you get dirtier 2x slower than you would while moving
    2. bullgod13
      bullgod13
      • member
      • 6 kudos
      Sorry, but it doesn't make sense to me.
      If FullClothDirtyingOnZeroSpeed means standing still, then what its value represents in your opinion? Standing still for 15km?

      FullClothDirtyingOnZeroSpeed# how far do we walk with half speed to get 100% dirty (other speeds than FullSpeed and HalfSpeed are linearly interpolated)

      from:
      https://forums.nexusmods.com/index.php?/topic/6409661-tutorial-tweaking-rpg-parameters/
    3. LarryT
      LarryT
      • supporter
      • 6 kudos
      Yes it seems a bit confusing. I thought the higher the number the longer it takes to get 'full dirty'. These are the current values from the mod. I'm looking to get to a 'full dirty' state sooner, maybe 50%.

      <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="30000" />
      <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="15000" />
    4. bullgod13
      bullgod13
      • member
      • 6 kudos
      Here's the thing. "Stay Clean" mod changed those values:
      FullClothDirtyingOnFullSpeed, FullClothDirtyingOnZeroSpeed
      but it also changes (meaning it adds to the parameter file):
      ClothDirtyingUpdatePeriod

      In the "Stay Clean" mod It is set to the same value as both "speed" parameters, which means that dirt on character will update as soon as its level reaches 100%,
      therefore the "bug" - you'll be clean for long, but then you'll get completely dirty in a second.

      This mod fixes this issue, by not adding that parameter, therefore leaving it at original value (whatever that is). But I think both other values should be the other way around.

      Edit:
      After thinking about it I'm not so sure I should trust that description i've linked so much. Maybe this value doesn't represent distance, but time spent in certain speed?
      I just remembered that once my character sat on bed and read 3 books for more or less 24 hours and became dirty as a pig.
      Even so, FullClothDirtyingOnZeroSpeed should have much bigger value than FullClothDirtyingOnFullSpeed in my opinion.
    5. OddZealot
      OddZealot
      • supporter
      • 7 kudos
      I'm not sure the descriptions in that tweak guide are quite right. I think it might work like this:
      "FullClothDirtyingOnZeroSpeed" is the amount of dirt you accumulate while standing still.
      "FullClothDirtyingOnFullSpeed" is the amount of dirt you accumulate while running as fast as possible.
      "ClothDirtyingUpdatePeriod" would then be the time it takes to accumulate more dirt.
      So, the lower the number, the longer it takes to get dirty.

      So, lets take this for an example, values are bulls***, but that doesn't matter:
      FullClothDirtyingOnZeroSpeed = 100
      FullClothDirtyingOnFullSpeed = 1
      ClothDirtyingUpdatePeriod = 5
      That would mean every 5 units of time you get 100 units of dirt while running and 1 unit of dirt while standing still.
      To me, that seems like a logical implementation.
    6. bullgod13
      bullgod13
      • member
      • 6 kudos
      @alphanumeric
      I think you've ment: "every 5 units of time you get 1 unit of dirt while running and 100 units of dirt while standing still."
      It seems logical, but I've tweaked those parameters some time ago in a way similiar to this mod (without adding ClothDirtyingUpdatePeriod).
      Setting speed values high means staying clean longer, so what you're suggesting probably isn't true.
    7. OddZealot
      OddZealot
      • supporter
      • 7 kudos
      Ah, no, the sentence I wrote was correct, the values were interchanged. ZeroSpeed should of course be lower than FullSpeed.

      "Setting speed values high means staying clean longer, so what you're suggesting probably isn't true."
      I think you are mixing things up. Those aren't speed values. Those are dirt values for specific speeds - that's an important difference.
      Can you prove that setting them to a high value let's you stay clean longer without(!) touching the period value?

      Edit: Okay, seems you are right. Low values make you dirty quicker. Hm.. I guess, that's why the values are called "Full..." then. Not really sure why you would need two seperate values for full dirtying though... Seems to me there must be even more variables in the calculation of the dirtying and we're not having the whole picture here yet.
    8. kaiserxkai
      kaiserxkai
      • member
      • 0 kudos
      ClothDirtyingUpdatePeriod is a value that basically determines how long of a cycle or how much increment it uses over time to determine that your item gets dirty.

      I set it to zero as a test and my clothing never gets dirty at all, and if set to like 3000 along with the other settings, it stays 100% clean until you hit that distance and becomes 100% dirty instantly.


      So the best way to set it is either:

      If the two values are increments and the last value is the amount needed to be dirty:

      FullClothDirtyingOnZeroSpeed = 50 (per cycle)
      FullClothDirtyingOnFullSpeed = 100 (per cycle)
      ClothDirtyingUpdatePeriod = 9999 (cap)

      Or

      FullClothDirtyingOnZeroSpeed = 9999 (per cap)
      FullClothDirtyingOnFullSpeed = 99999 (per cap)
      ClothDirtyingUpdatePeriod = 100 (units per cycle)

      The latter looks strange and doesn't seems workable to me, why would you have two 'caps' to attain in the first place when dirt is a single attribute or value that increases over time?

      This means the Former layout is the correct setup to use.

      If I were to develop the game and wants to make a character regenerate health over time, but regeneration is slower if you moved, I'd make it two values that offers a different 'regen rate' and a single value that is 'max health' that these rates would attain.

      Dirty items is similar to that regard, if I were to re-label the values It'd be:
      DirtGainedWhileStanding
      DirtGainedWhileSprinting
      MaxDirtCapacity

      But I think it's because the developers doesn't code their cvar and words correctly in english, that it gets confusing to us.
    9. kaiserxkai
      kaiserxkai
      • member
      • 0 kudos
      If you seriously want a different formula to try:

      ZeroSpeed = 10
      FullSpeed = 0
      Update = 1

      This means if you run you don't get dirty but if you stand you get dirty, you can do a test with this to see if the Speed values are 'capacity' rather than incrementals.

      ZeroSpeed = 0
      FullSpeed = 1
      Update = 10

      This is to test whether only moving will get you dirty, and if you stand still and pass the time and doesn't get dirty, and then move until you get dirty, it would then prove that Update is the 'capacity' and the speed is the 'incremental'.

      But then, why does setting Speeds to above 0, and Update to zero, causes you to stay clean forever? Update being capacity is the only reasoning as if it's zero capacity, the value would have been met if the developers coded dirtiness to be X is equal or greater than.
    10. kaiserxkai
      kaiserxkai
      • member
      • 0 kudos
      Yep! I did a test and this is the outcome:
      I set FullSpeed to 1.
      ZeroSpeed to zero.
      Update to 10.

      I load and my clothing is 100% clean, i took 1 step, 100% dirty.
      I wash in the wash tub and it doesn't clean fully and is in a state of partial dirty, took one step and the black piece of clothing turned muddy green.

      EDIT 2:
      Another test with the values reversed:
      ZeroSpeed = 0
      FullSpeed = 10
      Update = 1

      Took 1 step, it became 50% dirty.
      Took 1 more step it became 75% dirty.
      Took 1 more step and it became 100% dirty.

      I think the Update is the incremental now, and it goes rapidly, like 1 unit that occurs every 10 milisecond or 100 milisecond, based on some sort of ingame timer that updates rapidly.

      Since I set it to a value of max 10 at full speed, and taking short steps gets my clothing dirty, you will need as follow:

      ZeroSpeed = 0
      FullSpeed = 1000~9999
      Update = 1~10
    11. LarryT
      LarryT
      • supporter
      • 6 kudos
      Great find! I guess there's no way to find out the default values for these... ?
      FullClothDirtyingOnZeroSpeed
      FullClothDirtyingOnFullSpeed
      ClothDirtyingUpdatePeriod
    12. Nokhal
      Nokhal
      • premium
      • 33 kudos
      I dont know what you guys are on about...

      Straight from the DLL :

      FullClothDirtyingOnFullSpeed# how far do we walk with full speed (10 walk speed) to get 100% dirty
      FullClothDirtyingOnZeroSpeed# how far do we walk with half speed to get 100% dirty (other speeds than FullSpeed and HalfSpeed are linearly interpolated)
      ClothDirtyingUpdatePeriod# how often (in meters walked) do we add dirt to clothing (both for player and NPCs)


      So to add a progressive dirtyfication, ClothDirtyingUpdatePeriod need to be a fraction of the other two variables.

      Kingdom come deliverance is a 4kmx4km square. Due to path not being straight, a 8km walk from one border of the map to the other seems a fair estimation.
      So if you want henry to get fully dirty really after running accross once (8km), but only after walking back and forth twice (32km):

      FullClothDirtyingOnFullSpeed = 8000
      FullClothDirtyingOnZeroSpeed = 32000
      ClothDirtyingUpdatePeriod = 100 #Only update every 100m. More often could load the scheduled calling stack for no good reason. Honestly leave this blank, the default value is probably the right one.

      Up to you to tweak them.


      You current values are making the player dirty faster running than walking.
    13. LarryT
      LarryT
      • supporter
      • 6 kudos
      Is there a command line that shows how dirty you are? (percentage).
    14. Lytheus
      Lytheus
      • supporter
      • 0 kudos
      "If FullClothDirtyingOnZeroSpeed means standing still, then what its value represents in your opinion? Standing still for 15km?"
      i assume the value is based on time as opposed to distance? that's how i've always looked at it.

      it just makes no sense to me that a parameter called FullClothDirtyingOnZEROSpeed would be for half speed? why not call the parameter FullClothDirtyingOnHalfSpeed if it was still a movement-based parameter? obviously the .dll says otherwise, but common sense & testing lead me to the conclusion that the parameter is based on if you're standing still.
    15. lukenunes
      lukenunes
      • BANNED
      • 8 kudos
      i think i found a cap in dirty system. ive tried to scale so i started with:
      <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="1000" />
      <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="1" />
      <row rpg_param_key="ClothDirtyingUpdatePeriod" rpg_param_value="4" />

      so i keep increasing only FullSpeed and ZeroSpeed, but only FullSpeed really hit better the max distance and increasing ZeroSpeed just help a little bit.

      A lot of tests later, i hit this spot:

      <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="1414" />
      <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="100" />
      <row rpg_param_key="ClothDirtyingUpdatePeriod" rpg_param_value="4" />

      well at this stage if i try increase FullSpeed +1 (1415) i get no longer dirtyness, no matter how far i go.
      same if i increase a bit ZeroSpeed (110-120).
      Now come interesting, if increase a bit ClothDirtyingUpdatePeriod like 5, all paramters change, my cap go a lot higher far from a proportional scale. But doesnt increase your distance without get dirty, because ClothDirtyingUpdatePeriod will increase the amount of dirt so you will need push FullClothDirtyingOnFullSpeed higher to compensate the amount of extra dirtyness, so you will end at the same place when you hit the cap no matter if you set lower or higher numbers.
  4. megsays2
    megsays2
    • member
    • 0 kudos
    Using this mod I never got dirty at all, ever. I wanted to just stay clean longer...before, it seemed like I took two steps and was dirty again. But I took the free baths perk so I don't want to just stay clean indefinitely, maybe this mod isn't working as intended for me but I need to uninstall.
    1. HenryTheThird
      HenryTheThird
      • member
      • 0 kudos
      the values set by the uploader are just absurd high
  5. 21crescendo
    21crescendo
    • supporter
    • 68 kudos
    While this mod works, to be sure; it halts the getting dirty mechanic altogether. My Henry hasn't gotten dirty since the mid early game well into the mid game.
  6. runway
    runway
    • supporter
    • 0 kudos
    It looks like this mod breaks the 'fragrance' perk in maintenance.
  7. willssi
    willssi
    • premium
    • 19 kudos
    FYI, the default FullSpeed and 0Speed values are 4000 and 1, and this mod uses 30000 and 15000. For those that want to stay clean a *bit* more, I suggest altering it to 8000 and 2.

    edit: I found 8000 and 2 to be more than twice as long before getting dirty. I'm thinking the 2 is the actual culprit, but I've dropped the values to 6000 and 1. That should result in staying clean 50% longer.
    1. bobman1405
      bobman1405
      • member
      • 1 kudos
      Where were those values found? the defaults I mean.
    2. megsays2
      megsays2
      • member
      • 0 kudos
      NM found the file
    3. willssi
      willssi
      • premium
      • 19 kudos
      https://wiki.nexusmods.com/index.php/RPG_params_in_KCD
  8. elco39
    elco39
    • supporter
    • 1 kudos
    Conflicts with unlimited carry weight mod and the merger wouldn't resolve. Not sure why those 2 would even be changing the same values anywhere.
    1. Tenedria
      Tenedria
      • member
      • 0 kudos
      same, i cant use unlimited carry weight as soon as i drag the file into my data folder and play. is there any way to fix it? :(
    2. Tenedria
      Tenedria
      • member
      • 0 kudos
      i think i found a way to make them both work:

      I opened the rpg_param.xml from the unlimited carry weight pak (found in the data folder) using 7-zip, then i simply added:

      <row rpg_param_key="FullClothDirtyingOnFullSpeed" rpg_param_value="12000" />
      <row rpg_param_key="FullClothDirtyingOnZeroSpeed" rpg_param_value="30000" />

      at the end of all the long lines and before the row, database and table lines.

      I didn't fully test it out yet, but my weight is back to "normal" (it increased) and I don't get dirty as fast :)

      p.s. you can edit the numbers after the equal sign if you wish
  9. LarryT
    LarryT
    • supporter
    • 6 kudos
    How much longer compared to vanilla before you get dirty? Also, are you referring to the 'Stay Clean' mod regarding the bug?
    1. Lytheus
      Lytheus
      • supporter
      • 0 kudos
      i can run from talmberg to uzhits before henry starts showing any signs of dirtiness, and yes, i'm referring to the 'stay clean' mod regarding the bug, it would make you instantly dirty instead of going through the vanilla's stages of dirtiness :)
    2. LarryT
      LarryT
      • supporter
      • 6 kudos
      Thanks for the quick reply! I've been using 'Stay Clean (low) and had no idea about that bug lol.

      Just installed your mod and merged with the higher inventory weight mod (I use 240 vs 66 vanilla setting). :)
    3. sicilianopino
      sicilianopino
      • member
      • 0 kudos
      where do i place the pak file?
    4. LarryT
      LarryT
      • supporter
      • 6 kudos
      All mod pak files go into the Data directory where you installed KCD.
    5. lv8pv
      lv8pv
      • premium
      • 0 kudos
      What values are you referring to here ?
    6. Lytheus
      Lytheus
      • supporter
      • 0 kudos
      place the .pak file in your kingdomcomedeliverance/data folder

      the "zzz_staycleanv1.pak" should be placed inside that folder
  10. itsnotlupus17
    itsnotlupus17
    • member
    • 0 kudos
    So, super new to the modding world and reading all these people saying they are tweaking values, is that something I have to do or do I just drop this in the folder and reap the benefits of being clean
    1. Lytheus
      Lytheus
      • supporter
      • 0 kudos
      you can just drop the .pak file into your data folder and you'll reap the benefits of being clean :)