RimWorld

RimWorld

Psycast Sensitivity-based Ranges
18 Comments
SaltyDwarf 17 Feb @ 6:44am 
1.5?
Shard  [author] 2 Jan, 2023 @ 4:33pm 
I believe it should still work, but I haven't tried since I haven't been around much. You can try enabling it and testing with a backup of your save.
Star_Chris 2 Jan, 2023 @ 1:59pm 
Would love to see this in 1.4
Mute 29 Oct, 2022 @ 3:32am 
Appreciate it :steamthumbsup:
Shard  [author] 29 Oct, 2022 @ 3:30am 
Better late than never, right? Put a link to it at the top of the description, hopefully it helps some people find it.
Mute 29 Oct, 2022 @ 2:36am 
Shard  [author] 20 Aug, 2022 @ 10:29am 
I know how that goes. I got burned out because I was working on a large patch mod for myself. If I wasn't using features from XML Extensions to make it far more compact and faster, it would have been well into the tens of thousands of lines. Hopefully I don't stay burned out too long.
Mute 20 Aug, 2022 @ 4:37am 
Fair enough. I've been trying not to fall into modding as it tends to lead me to not play and instead just write mods, but I might have to give the idea a go.
Shard  [author] 20 Aug, 2022 @ 3:20am 
Indeed, part of why I'm not rushing to try to get it done, should be quite easy for anyone with even basic modding skills to do it. You could do a mod for it if you have time, and I'd gladly link to it, I am kinda worn out right now and it will likely be a long time before I can manage it myself.
Mute 20 Aug, 2022 @ 1:26am 
Just wanted to mention, it looks like Vanilla Psycasts Expanded has built in support for this kind of thing - it would probably be do-able in XML for their abilities.

https://github.com/AndroidQuazar/VanillaExpandedFramework/blob/master/Source/VFECore/Abilities/Ability.cs#L88
https://github.com/AndroidQuazar/VanillaPsycastsExpanded/blob/d5bb66c4c6fbe29187a407773897f195bf684e30/1.3/Defs/AbilityDefs/Skipmaster.xml#L81

See "radiusStatFactors" and "rangeStatFactors"
Shard  [author] 30 Jul, 2022 @ 11:05am 
Note: As far as I know this is not compatible with Vanilla Psycasts Extended. I will look into fixing it when I can.
Shard  [author] 27 Jul, 2022 @ 2:24am 
That depends a lot on how the psycast is implemented. Things that use vanilla functions should work, but anything that spawns an object (solar pinhole, fireball, flashstorm, skipshield type things) won't have increased radius, though you should still be able to cast them from further away.
[吸雷man]Lanking-Yuri 26 Jul, 2022 @ 10:18pm 
oh, anyway thanks

and one more thing, does it work with mod Psycast ?
Shard  [author] 26 Jul, 2022 @ 2:12pm 
It is probably possible, but I'm not interested in trying to do that at the moment. Anyone is free to take it and add to or change the mod, however, so if anyone else is interested, feel free to do so. Would probably want to do something like the following:
cast time *= 1/pawn.psychicsensitivity

That should prevent going below 0% cast time even if you have absurd values like 900% due to mods. In the future I might consider doing it, but I haven't noticed any need for it as all the psycasts I've used are either instant or incredibly close.
[吸雷man]Lanking-Yuri 26 Jul, 2022 @ 12:50pm 
Awful great! it's very helpfully.

And are you interested in change the Psycast cast time with psychic sensitivity?
Based on sensitivity rather than aiming time, separate cast time from aiming time.
Like that, if I have 100% sensitivity, the cast time is 100%; 50%sensitivity, the cast time is 200%; 200%sensitivity, 50% cast time.

I don't know how to make mods.
If that is too difficult and i'm offended you, i'm sorry
crystaltiger101 19 Jul, 2022 @ 6:57pm 
Omg yaaaaas that sounds incredibly fun defending my tombolo.

I'm gonna test it out. Thanks for your effort and response!
Shard  [author] 18 Jul, 2022 @ 11:57pm 
Correct, if you have 100% sensitivity, there is no change. 50% and you only get half the range and half the area of effect. 200% and you get double the range and area of effect. There are some exceptions, as I mentioned, but generally that is how it works. If you have a hypersensitive pawn with a psychic sensitizer implant and full set of legendary eltex gear, you can damn near target the other side of the map, and you get area of effect like is shown in the preview.
crystaltiger101 18 Jul, 2022 @ 10:36pm 
Hey, five year old in a 33 year old's head here. those are big words.

Does this mean i could target things further away from me scaling based on psy sensitivity?