边缘世界 RimWorld

边缘世界 RimWorld

2,334 个评价
Research Tree
6
18
2
14
3
5
2
3
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.0, 1.1
文件大小
发表于
更新日期
818.507 KB
2018 年 1 月 12 日 上午 6:27
2020 年 12 月 22 日 上午 10:51
33 项改动说明 ( 查看 )

订阅以下载
Research Tree

在 Fluffy 的 1 个合集中
Fluffy Mods
19 件物品
描述
A better research tree.




- automatically generated to maximize readability*. - shows research projects, buildings, plants and recipes unlocked by each research project. - projects can be queued, and colonists will automatically start the next project when the current research project completes. - search functionality to quickly find research projects.




Can I add/remove this from an existing save? You can add it to existing saves without problems. Removing this mod will lead to some errors when loading, but these should not affect gameplay - and will go away after saving.

Why is research X in position Y? Honestly, I have no idea. The placement of projects (nodes) is automated to minimize the number of crossings between dependancies (edges), and reduce the total length of these edges. There are many possible scenarios in which this can lead to placements that may appear non-optimal. Sometimes they really are non-optimal, sometimes they just appear to be so. See also the technical section below for more information.

Can I use this with mod X Most likely, yes. Added researches and their requirements are automatically parsed and the tree layout will be updated accordingly. ResearchPal implements a lot of the same functionality as this mod, and the research queue will likely not work correctly if both mods are loaded.

This looks very similar to ResearchPal Yep. ResearchPal is based on a legacy version of this mod that was kept up-to-date by SkyArkAngel in the HCSK modpack. I haven’t worked on this mod in a long time, but I recently had some spare time and decided to give it another go. Feel free to use whichever you like better (ResearchPal has an entirely different layout algorithm). You can run both mods side by side to check out the different tree layouts, but be aware that the research queue will not work correctly if both mods are loaded.




- Layouts are not perfect, if you have experience with graph layouts - please do feel free to look at the source code, and/or implement a Sugiyama layout algorithm for me that runs in C



..png)




So how does this all work?

Creating an optimal layout is a known problem in the area of Graph Theory. There’s serious mathematicians who’ve spent years of their live trying to figure out this problem, and numerous solutions exist. The group of solutions most relevant to our research tree (a directed acyclic graph, or DAG) is that derived from Sugiyama’s work. Generally speaking, these algorithms have four steps;

- layering (set the x coordinates of nodes, enforcing that follow-up research is always at a higher x position than any of its prerequisites, this is a fairly straightforward heuristic) - crossing reduction (set the y coordinates of nodes such that there is a minimal amount of intersections of connections between nodes) - edge length reduction (set the y coordinates of nodes such that the length of connections between nodes is minimal) - horizontal alignment (set the y coordinates of nodes such that the connections between nodes are straight as much as possible)

The final step is the hardest, but also the most important to create a visually pleasing tree. Sadly, I’ve been unable to implement two of the most well known algorithms for this purpose;

- Brandes, U., & Köpf, B. (2001, September). Fast and simple horizontal coordinate assignment. - Eiglsperger M., Siebenhaller M., Kaufmann M. (2005) An Efficient Implementation of Sugiyama’s Algorithm for Layered Graph Drawing. Luckily, the crossing reduction and edge length reduction steps partially achieve the goals of the final step. The final graph is not as pretty as it could be, but it’s still pretty good - in most scenarios.




- Templarr: Russian translation - Suh. Junmin: Korean translation - rw-chaos: German translation - 53N4: Spanish translation - Silverside: Fix UI scaling bug for vertical text - shiuanyue: Chinese (traditional) translation - notfood: Implement techprint requirements - HanYaodong: Add simplified Chinese translation




Please read this guide before creating a bug report, and then create a bug report here[github.com]




All current and past versions of this mod can be downloaded from GitHub[github.com].




All original code in this mod is licensed under the MIT license[opensource.org]. Do what you want, but give me credit. All original content (e.g. text, imagery, sounds) in this mod is licensed under the CC-BY-SA 4.0 license[creativecommons.org].

Parts of the code in this mod, and some content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on GitHub[github.com], so license information in the source code is preserved.

[ko-fi.com]




Become a supporter and show your appreciation by buying me a coffee (or contribute towards a nice single malt).

[ko-fi.com]





This is version 3.17.537, for RimWorld 1.2.2753.

[twitch.tv]
热门讨论 查看全部(8)
15
2020 年 9 月 7 日 上午 10:18
Crash on entering the Research Screen
Nianor
8
2021 年 7 月 13 日 下午 3:44
Disappearing techs
jedimasterburst
5
5
2023 年 5 月 1 日 上午 7:00
Positive and loving thoughts for Fluffy from the community
Panacea
790 条留言
sSpaze 2024 年 5 月 23 日 下午 3:46 
yeah pictures would be nice
King brus 2024 年 5 月 10 日 上午 9:03 
Some screenshots would be nice
Man-Man Killer 2024 年 3 月 11 日 下午 4:43 
can we see what it looks like
poopybutt883 2024 年 1 月 31 日 下午 2:44 
realest modder
pgames-food 2023 年 12 月 16 日 下午 10:18 
yeah fluffy is cool :lunar2019piginablanket:
Enlonwhite 2023 年 12 月 16 日 上午 1:51 
I hope Fluffy is doing well, That lovely guy has made so many people smile and enjoy this game, a heck of a lot more.
You are loved Fluffy. Ever time I play the game I load your mods up. Thank you.
Zenuge 2023 年 10 月 4 日 下午 4:11 
Couldn't research beer brewing. I cannot tolerate a mod that endorses sobriety.
Mlie 2023 年 9 月 3 日 下午 1:25 
Made an updated version of this as the current 1.4 version has issues that has not been fixed.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3030499331
Hope this helps anyone!