边缘世界 RimWorld

边缘世界 RimWorld

Rimbody - Stat Module
39 条留言
Woodsaber 10 月 27 日 上午 4:14 
Don't worry about it, I am not confident enough to make any use of those coefficients. Thanks for offering though.
And yeah, those changes were just some spit-balled personal use cases. They probably shouldn't be considered unless they had an actual reason to be modified by fat or muscle.
In any case it's genuinely awesome you would discuss to this technical level and be open to ideas.
Maux  [作者] 10 月 27 日 上午 1:25 
@Woodsaber This is my interpretation of bodysize in Rimworld, which makes me hesitant to link muslce/fat to size-related stats.
Another reason I am hesitant is that the stat offsets takes bodysize effect from vanilla into account, so making the muscle/fat adjust bodysize would mean muscle/fat is affecting all the stats twice.
If you think I should still consider making a patch for bodysize, feel free to tell me. If I think it is reasonable, I'd be glad to integrate the stats in the mod.
Maux  [作者] 10 月 27 日 上午 1:25 
@Woodsaber As for the bodysize, I can make a integration patch for Big and Small if you request. However I believe the bodysize is more about physical size, rather than body composition. Below is a reply I gave to someone who asked about bodysize:

"Body size determines how big or small a pawn is. RimBody defines their body composition. Fat and muscle values in RimBody are relative to a pawn's size, not absolute values. For example, a baby could be very fat or muscular for their size, but their overall body size would still be small. Similarly, you could have a very skinny giant. You can roughly think of body size like "height". How fat or muscular a pawn is doesn’t affect how tall they are, and vice versa."
Maux  [作者] 10 月 27 日 上午 1:23 
@Woodsaber I can expose the coefficient used in this mod so that you can adjust them. However some of them are connected, like meat amount and leather amount, so their coefficient will be tied, but it should still give you some freedom to do what you want. I am currently working on Rimbody Core and Rimpsyche's new module though, so it would have to wait till next week at least.
Woodsaber 10 月 25 日 上午 5:22 
Thanks for the response Maux. Sounds like another reason for me to figure out how Rimworld modding works. It's also pretty cool to hear how performance is taken into account.
As for stats, it was mainly to add a slight modifier to body size for the Big and Small mod and also make some of the other stats more dramatic. Purely just for personal preference, and nothing I could really ask to change from this mod.
Maux  [作者] 10 月 25 日 上午 2:55 
@Woodsaber If you are familiar with C#, you can make a statpart that utilizes Rimbody values. Otherwise, no. This mod uses statpart to influence stats, not hediff, for performance reasons and to accommodate continuous values. And statpart is not exposed to xml. Are there some more stats you want to see modified?
Woodsaber 10 月 24 日 上午 11:51 
Is there a way I would be able to customise which stats are affected or by how much?
Mainly I'm hoping to try and emulate the mod Body Type Matters redux by adding a few more stats.
CTH2004 10 月 8 日 上午 5:42 
cool! (or, depending on circumstances, warm)
Maux  [作者] 10 月 4 日 上午 10:25 
@CTH2004 Yes. Fat influences ComfyTemperatureMin and ComfyTemperatureMax already as can be seen in the table.
CTH2004 10 月 4 日 上午 9:46 
As someone with a low (nearly unhealthy) amount of bodyfat, I can tell you that it effects tempature. I get cold much easier, but also prefer warm tempatures

That's because, fat is an insulater. There is a reason many artic animals have blubber
Maux  [作者] 9 月 10 日 上午 8:00 
@Noxilie Thank you! merged into master. Will upload the fix now
Noxilie 9 月 10 日 上午 5:38 
@Maux there is a typo in the 1.6/Patches/StatWorkersPatch/StatParts.xml

check my pullrequest in your github repo please
Maux  [作者] 8 月 29 日 下午 5:40 
@Bez. There's no way to change it currently I can expose some of the values to settings. However I am extremely busy at the moment so it might not get implemented soon.
Bez. 8 月 29 日 上午 5:06 
@Maux
Bez. 8 月 29 日 上午 5:06 
Hey *Maux, love the mod. Anyway to change the values ourselves? Couldn't see any mod options
Maux  [作者] 7 月 7 日 下午 4:35 
@moo I believe that conflict would be better fixed on their end. I'll post on the discussion.
moo 7 月 7 日 下午 12:28 
Maux  [作者] 6 月 13 日 上午 2:15 
@Legeden Glad to hear it! Yes, Rimworld has CarryingCapacity and then 'Mass Capacity'. Confusing names, I know. The muscle will keep on affecting how much your pawns can hold in the inventory, so no worries!

And I agree that full muscle should be more beneficial to carry weight! I'm actually looking into buffing them for higher muscle, while still making it not too punishing for skinny pawns. I'll try to come up with a formula that's easy on the performance that achieve this effect.
Legeden 6 月 13 日 上午 2:10 
I think I might've had a wrong assumption and thought CarryWeight is CarryingCapacity.

Which would affect pawn benefit from Muscles for Pick Up and Haul or Combat Extended.

If those two are not the same, then I withdraw my objection :D if anything full muscle could boost CarryWeight even more :P
Maux  [作者] 6 月 13 日 上午 1:55 
@Legeden Carrying Capacity controls how much a pawn takes from a stack. At 100% (assuming bodysize 1), they carry the item’s max stack size (e.g. 75 for wood/steel, 5000 for silver).

The issue with making Carrying Capacity depend on Muscle/Fat is that it usually doesn’t have a positive effect. Even with a +20% buff, they still carry 75 wood because that’s the stack limit. It only really helps if the pawn has a debuff (like low Manipulation), but most of the time it just limits carrying.

I wasn’t able to find any situation where the system was actually beneficial. If you have a reason to keep this feature, could you share your experience? I’m mainly removing it to avoid unnecessarily nerfing pawns, not to prevent buffs. If there’s a real advantage to keeping it, I’ll consider adding it back.
Legeden 6 月 12 日 下午 11:27 
adding another mod that is already on life support is just not something I'd like to do to keep the same functionality
Legeden 6 月 12 日 下午 11:25 
but I love the Carrying Capacity increase
Maux  [作者] 5 月 15 日 上午 6:26 
@Deankiller Turnupseed Yes it should be. The carry capacity modified by this mod will affect Dynamic Carrying Capacity. However I am considering removing carry capacity modification from this soon, so if that happens, the two mods will not have any interaction.
Deankiller Turnupseed 5 月 14 日 下午 9:35 
is this compatible with dynamic carry capacity?
Maux  [作者] 4 月 23 日 上午 5:52 
@mynameactually stats module already patches malnutrition so that it rises slower with pawns with higher fat. (and rimbody core base makes is so that starving pawns lose fat faster) Have you encountered any incompatibility with that mod?
mynameactually 4 月 21 日 下午 6:04 
Looks like it may need a patch to work better with this mod.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2898001855
Maux  [作者] 1 月 21 日 上午 6:52 
@TeH_Dav the conflict is from multiple mods trying to add <parts> to the stat. I've uploaded a fix to take into account such possible conflict. Should be fixed now. Thank you for reporting.
TeH_Dav 1 月 19 日 下午 4:15 
I've been having a patch conflict where Rimbody Stat is expressing an XML, stating <parts> appears twice within <StatDef> (defName="MiningSpeed").

It's saying the following are possibly relevant mods that could be patching the same XML:
Core (ludeon.rimworld)
Too Many Mods - Compats and Rebalances (wara.toomanymods)
Dryads & Gauranlen Trees Reworked (redmattis.dryads)
Rimbody - Stat Module (maux36.rimbody.statmodule)

Here's the Hugslib: https://gist.github.com/HugsLibRecordKeeper/a2599a3de6530efcd0c2898a9a9e6a12
Maux  [作者] 2024 年 12 月 26 日 下午 10:27 
@Ja'far I've done some balance testing play through with CE bulk being affected by fat. The problem I found is that pawns with less fat will have penalties for carrying bulk, which kind of defeats the purpose of 'get fit, stay in shape' perspective of this mod. This was especially the case for pawns with very low fat, as pawns have low bulk value to begin with unless they are wearing backpacks, so low fat pawns without backpacks couldn't really carry anything. I think for now it's best to leave that as it is.
Ja'far 2024 年 12 月 9 日 上午 10:52 
@Maux carry bulk in CE
Maux  [作者] 2024 年 12 月 5 日 下午 9:13 
@Ja'far I don't understand what you mean by bulk. Can you elaborate?
Ja'far 2024 年 12 月 2 日 下午 12:47 
I suggest a small addition mostly for gameplay purposes. I think higher fat should also give higher bulk as I think fat is a bit underutilized
Barosz Gádžožrút 902 01 2024 年 12 月 1 日 上午 11:56 
god bless
Maux  [作者] 2024 年 11 月 29 日 上午 2:58 
@Thalyd If by target size you mean bodysize, then no. Fat and muscle affects mass.
Muscle affects melee parry because you need some strength to brush off the attack. If you don't like it, you can go to the mod folder's Mods/CombatExtended/Patches/RimbodyStat_CE.xml and delete the operation with defName="MeleeParryChance".
Regarding Dodge and Hunting Stealth, there has been a misunderstanding on my part. They are affected by 'movement' not move speed, so Rimbody does not affect them. The description is now fixed.
Thalyd 2024 年 11 月 29 日 上午 1:52 
lovely conent, but i need to know. fat or muscle affects target size? dodge is only affected by fat? very muscle bulky guys are not really ninjas. dont see why muscle affects melee parry.
Maux  [作者] 2024 年 11 月 28 日 下午 7:22 
@The Buttcracker That exact functionality is already implemented in base Rimbody. For more detailed information, you can see the Rimbody Github's Mod Integration Section [github.com].
Maux  [作者] 2024 年 11 月 28 日 下午 7:19 
@Meteores Yes.
The Buttcracker 2024 年 11 月 28 日 下午 1:13 
Any plans for a gene module? like genes to gain muscle more or less easily or fat more or less easily, that way body type genes like pigskins tending toward a fat body or highmates tending toward a thin body can sort of function within this framework while still maintaining the more dynamic body system. Maybe the base game body type genes can be altered so the thin body type gene instead majorly cuts down on fat and muscle retention so modded or custom xenotypes that use these pre existing genes automatically work with RimBody without specialized patches.
Meteores 2024 年 11 月 28 日 上午 10:16 
Vanilla Combat Reloaded compatible?