RimWorld

RimWorld

Stargates!
Krauterz 23 Sep, 2022 @ 2:05am
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!
< >
Showing 1-4 of 4 comments
catcraft  [developer] 23 Sep, 2022 @ 4:02am 
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.
Last edited by catcraft; 23 Sep, 2022 @ 4:06am
Krauterz 23 Sep, 2022 @ 5:24am 
beautiful thank you. very well done.
H3x 27 Dec, 2022 @ 9:40am 
Hey, I cant find this line anywhere?
Originally posted by CatCraftYT:
Defs/PawnsArrivalModeDefs/StargatePawnArrivalMode/selectionWeightCurve/points
catcraft  [developer] 27 Dec, 2022 @ 9:52am 
Originally posted by Lexi H.:
Hey, I cant find this line anywhere?
Originally posted by CatCraftYT:
Defs/PawnsArrivalModeDefs/StargatePawnArrivalMode/selectionWeightCurve/points
where are you looking? it's in the mod's folder
that line is xpath
< >
Showing 1-4 of 4 comments
Per page: 1530 50