边缘世界 RimWorld

边缘世界 RimWorld

[Abandoned] Misc. Robots++
此主题已被锁定
Honshitsu  [开发者] 2018 年 10 月 21 日 下午 7:02
[OLD] technical details
This is Outdated!

R++ XML Documentation
for those who want to modify R++ or just use it as a way to learn RimWorld modding.

New to modding?
XML merely defines values for existing variables/"components" created and managed in C# libraries. It can't add unique behavior into the game. It can only provide values for existing behavior to use. R++ just defines some item, research, pawn, and building types and provides information on what their stats should be, what jobs they can do, what textures/sprites they have, etc. The behavior of robots (charging, spawning from base-station, etc) is entirely handled by the parent mod: Misc. Robots by haplo.

R++ XML Diagram
As R++ contains many files which all interact via DefNames. Bellow is a simplified diagram to show how they all reference eachother, and where to find values

(not including items etc as that's rather self explainatory)

https://i.imgur.com/hmR2Ww1.png

R++ Resource Cost Balancing
Can be found in this spreadsheet
https://www.youtube.com/watch?v=sIlNIVXpIns
https://docs.google.com/spreadsheets/d/1WlLw7REcSZcnGn9MmDXK8Abjz6vAbuJTJAy2DUpo_ro/edit?usp=sharing
最后由 Honshitsu 编辑于; 2020 年 7 月 12 日 下午 5:00