RimWorld

RimWorld

More Reasonable Room Space
35 Comments
Kagami  [author] 30 Aug @ 3:34am 
@Earlnor 设计的时候有考虑过用非线性的函数,但是考虑到复杂性上最终还是直接使用比例线性映射了
Earlnor 30 Aug @ 12:52am 
超棒的mod:love_seagull:
要是能把宽敞度改为曲线就更合理了,过于拥挤和过于空旷都是减分项,不过游戏机制上大概做不到吧:happy_seagull:
-=GoW=-Dennis 27 Aug @ 6:35pm 
Thanks for that in-depth explanation, that makes sense :)
Kagami  [author] 26 Aug @ 5:11am 
(2/2)
My mod tackles this problem by a different view, that is to make the space score rely on the relativeness. You see, even after we removed all the furniture, my bedroom are still just "average-sized", which is probably not the best describe for an empty room. That's because in vanilla game, space score is cumulative, which means a small-empty room will never be spacious, and a big-stuffed room can raise its score even with the reduction. So I would say my algorithm aligns in-game performance with our intuitive perceptions.
Kagami  [author] 26 Aug @ 5:11am 
@-=GoW=-Dennis
(1/2)
let's break the whole story down.

In vanilla game, each tile gives the room 1.4 space score, but when the tile occupied by furniture, it turns down to 0.5.
Use the bedroom in my figure as an example, a 6*4 room should have 33.6 space score, which is "average-sized", but since there's 7 tiles occupied by furniture(chairs not counted), our score shrunk to 27.3≈27, "rather tight".

For many players, especially those who like to set up their rooms in a more "efficient" way, the furniture reduction is really a pain in the butt. So that mod simply removed the reduction and makes the score rely only on room size.
-=GoW=-Dennis 26 Aug @ 4:10am 
I'm really confused - there is a mod that does the exact opposite: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3534334227

So what is actual vanilla behaviour? This mod pretends to add reduction in space for furniture as in vanilla it doesn't exist and the other mod pretends to remove such reduction as in vanilla it exists ...
SquirrelGoblin 25 Aug @ 9:13am 
No problem :D
Kagami  [author] 25 Aug @ 4:46am 
@Paprikahörnchen fixed, thank you!
SquirrelGoblin 24 Aug @ 5:37am 
There's a typo in the xml extensions mod menu.
"Reasnonable Room Space"
Just thought.. I'd let you know xD
吱吱宸 18 Aug @ 2:29am 
理解了,谢谢解释
Kagami  [author] 18 Aug @ 1:18am 
@吱吱宸 这个参数影响的是空间评价影响总分的系数,因为本mod对空间算法的改变可能会导致堆高房间评价过于容易。
这个参数的修改不会直接体现在空间单项的评分,而是体现第一行的房间总体评价里。
吱吱宸 17 Aug @ 6:41am 
请问矫正参数是做什么用的,为什么调整完重启游戏房间评价和格子数没变化呢
Lightning Strikes 4 Aug @ 3:10am 
This plagued my mind. I'm glad someone made a mod to address it.
Centaur Disruptor 13 Jul @ 8:18am 
为小人发声!
布丁蛋糕 13 Jul @ 12:42am 
资本家给你点了个赞
Kagami  [author] 12 Jul @ 8:48am 
@Emerson Yes, that's exactly correct.
Emerson 10 Jul @ 8:08am 
@Kagami Thank you for the explanation! If I understand correctly, any empty room of at least 25 squares will receive the maximum spaciousness bonus?
Kagami  [author] 10 Jul @ 3:30am 
@糯米糍粑 就来
糯米糍粑 10 Jul @ 2:42am 
1.6 求求了
Kagami  [author] 5 Jul @ 9:35pm 
@Emerson This mod improve the formula by calculating the ratio of free spaces in the room. See the bedroom in the figure, there are 17 free tiles in this 4*6 room(chairs considered as free tile). So the ratio will be 17/24=0.708333≈70.83%, plus a correction factor when the room's size is smaller than 25(to prevent rooms that are too small in absolute size from being counted as spacious), so the final result will be 70.83*24/25=67.9968≈68.
After our calculation, note that our value is within [0,100] where vanilla game is [0,350], so our value will be re-mapped before it participates the impressiveness calculation.
Emerson 5 Jul @ 3:55pm 
This seems like a much more elegant solution than simply reducing space requirements. Can you explain how the formula works?
Yoko Taro >= GOD 24 Jun @ 2:46am 
@SSJKarma
I don't know where you learn Construction Designers but the industry standard is 1 square equal 1 meter. Even in America.
Cosmosyn 23 Jun @ 3:34am 
guy below me, how are you sure 1 tile = 1 sqft instead of 1 tile = 1 sqm?
SSJKarma 22 Jun @ 3:57pm 
i like what this mod is trying to do, but space isn't the issue.
Scaling is.

Construction Designers use scale of 1 square equal 3 ft. thats about the width of a regular person. We'd get 5x5 = 15x15 ft. Good size for a room. This game seems to want 1 Tile equal 1ft. so max size is 28x10. This is madness. who in their right mind, would mean an entire floor of a house just for sleeping. My friend who has the royalty dlc tells me its even worse.

this means beds are 2 feet by 1 feet. a comparision would be an ant needing an entire shoe box for sleeping.
Kagami  [author] 22 Jun @ 6:42am 
@MADxingjin not sure, but i will update this mod once 1.6 was officially released.
Nanao-kun 21 Jun @ 8:58pm 
Oh I see how it's meant to work, pretty interesting.
MADxingjin 21 Jun @ 9:23am 
1.6?
ferny 20 Jun @ 10:25am 
Very neat
D3K43 20 Jun @ 9:46am 
I just thought this mod was an interesting idea and wanted to double-check
Kagami  [author] 20 Jun @ 9:08am 
btw i think it makes no sense using both mod altogether since this mod had rewritten the space calculation. And you can also lower those values in config of this mod.
Kagami  [author] 20 Jun @ 9:02am 
@D3K43 I didn't test that but i believe this is Not compatible . We both patches those values on the game startup.
D3K43 20 Jun @ 7:28am 
Is this compatible with "Realistic Rooms Rewritten?" The mod that changes the minimum size requirements for room impressiveness
Kagami  [author] 19 Jun @ 12:01am 
@Freakycrafter yes, but this mod focus more on the relativity: as illustrated in the figure, in vanilla game, a bedroom can never considered spacious even its furniture were sparsely distributed, and with a lot of free spaces; and a stuffed large workshop are still spacious after the reduce of furniture. So this mod made a little alignment between the algorithm with our human observations.
Freakycrafter 18 Jun @ 10:00pm 
didnt the game already do that, kinda? i mean atleast the furniture removing space, not adding more space for free spaces, atleast im pretty sure that was the case with bedrooms and that sorta furniture
神刀天姬 17 Jun @ 3:45am 
合理的,再把美观和财富改成像清洁那样按平均值算而不是总和算就完美了