边缘世界 RimWorld

边缘世界 RimWorld

Stargates!
Krauterz 2022 年 9 月 23 日 上午 2:05
Changing the frequency of unknown incoming travellers
First of all, amazing mod! it completely re-invigorated my love for Rimworld.

How does your mod interact with the storyteller to determine how often unknown travellers come through your gate? I have searched through all the Defs but cannot find any values to change. is it built into your C sharp code?
Thanks!
< >
正在显示第 1 - 4 条,共 4 条留言
catcraft  [开发者] 2022 年 9 月 23 日 上午 4:02 
It uses a pawn arrival mode and patches it into the immediate attack raid strategies - the values you're looking for are in Defs/PawnsArrivalModeDefs/StargatePawnArrivalMode/selectionWeightCurve/points
The first value is the raid point score, which will increase as the raid gets more powerful. The second value is how highly it is rated against other raid strategies - it will be picked more often if that is higher. Each element of the list is a point on a curve where x is the raid point value and y is the weighting.
最后由 catcraft 编辑于; 2022 年 9 月 23 日 上午 4:06
Krauterz 2022 年 9 月 23 日 上午 5:24 
beautiful thank you. very well done.
H3x 2022 年 12 月 27 日 上午 9:40 
Hey, I cant find this line anywhere?
引用自 CatCraftYT
Defs/PawnsArrivalModeDefs/StargatePawnArrivalMode/selectionWeightCurve/points
catcraft  [开发者] 2022 年 12 月 27 日 上午 9:52 
引用自 Lexi H.
Hey, I cant find this line anywhere?
引用自 CatCraftYT
Defs/PawnsArrivalModeDefs/StargatePawnArrivalMode/selectionWeightCurve/points
where are you looking? it's in the mod's folder
that line is xpath
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50