边缘世界 RimWorld

边缘世界 RimWorld

Better autocasting for Vanilla Psycasts Expanded
384 条留言
VitaKaninen 19 小时以前 
My psycasters are using Word of Inspiration on temporary cataphracts, who are unable to perform any work. I have it set to only cast on colonists, but it would be nice if it only used it on my own permanent pawns, and not temporary workers.

https://imgur.com/a/s94FOiG
jaeger972 11 月 16 日 下午 12:00 
alright I might make a PR in the coming weeks
Toby  [作者] 11 月 16 日 上午 11:57 
I have recently become very busy with another project ^^;
Probably unlikely to happen for the near future
jaeger972 11 月 16 日 上午 8:52 
would it be possible to take range adjustments from Psychic Sensitivity Affects More into account?
I would really love to have my mages autocast ice spikes and fire balls at range :)
TheXenoSenpai 11 月 10 日 上午 7:05 
I was like I hope theres an autocasting mod, and here I am downloading this. Thank you.
Toby  [作者] 11 月 10 日 上午 3:19 
just had a look and I am entirely baffled by the error :⁾
Will look some more in a few hours
VitaKaninen 11 月 9 日 上午 11:48 
Sorry, I didn't think you would need the whole log, and mine had a bunch of other nonsense in it.

Here is a clean log: https://gist.github.com/HugsLibRecordKeeper/2f7f9a1196008df2239482209188cf23
Toby  [作者] 11 月 9 日 上午 11:33 
As your log says: "[Ref 203CBBE7] Duplicate stacktrace, see ref for original"
You'll have to find the first isntance of that Ref in the log to see the actual full error
VitaKaninen 11 月 8 日 下午 2:26 
When I have a psycaster set to autocast either Word of Production or Word of Inspiration, they are not able to throw grenades on the ground. I am using the ground targeter mod, so I am not sure if it is related to that or not. They are able to target buildings or other things, but not the ground.

https://gist.github.com/VitaKaninen/9d6416e57ecbf2e46f341a059a1aeb96
VitaKaninen 10 月 30 日 下午 2:08 
Thanks!
Toby  [作者] 10 月 30 日 下午 2:05 
# 6.3.4.0

- All psycasts that target pawns without specific hediffs now also check that casting wil not be considered a hostile action

Relatedly I have no f'in clue why VPE team made word of productivity a hostile action :v
VitaKaninen 10 月 30 日 下午 1:01 
I started a new game, gave my colonist a title, and built 2 bedrooms and a throneroom. I gave him the psycast, and set it to autocast. Then I spawned the quest, and as soon as the royal arrived, he casts word of production.

Video Clip: https://youtu.be/R-BNjlGO9Ro
Save file: https://drive.google.com/file/d/193bmtMQnJq4ZXPZn0cvfZxwvXO-4nyKJ/view?usp=sharing
Toby  [作者] 10 月 30 日 下午 12:38 
No that's just me simplifying how it works in the comment lel
it is set up to only target colonists, so it doesn't have any settings.
VitaKaninen 10 月 30 日 下午 12:35 
My game has a lot of other mods and is fairly large. Let me see if I can reproduce it without any other mods active.

You said below that if someone is not listed, then they should not be targeted, but word of productivity does not have anyone listed, not even colonists. Maybe that is what is allowing them to cast it on them?
Toby  [作者] 10 月 30 日 下午 12:33 
Yup that's the hospitality quest, can't reproduce :T
Maybe share the save?
VitaKaninen 10 月 30 日 下午 12:19 
I should say Lodger. For example, the empire wants you to host a noble for a set period of time. They can be drafted and ordered around, but they will not do any work.

https://rimworldwiki.com/wiki/Quests#Hospitality

This quests here where is says:
If a pawn is a noble, then you will need a bedroom suitable for their rank to accept the quest. You will also need another bedroom suitable for any of your own nobles.
Toby  [作者] 10 月 30 日 下午 12:16 
It gets cast on guests from a hospitality quest, but that's also not considered harmful
Toby  [作者] 10 月 30 日 下午 12:11 
Can you define "guests"? I spawned in a caravan and it's not doing anything
VitaKaninen 10 月 30 日 下午 12:04 
They are using Word of Productivity on Empire guests for certain.

I thought they were also using Word of Inspiration as well since there is not a setting, but they don't appear to have any inspirations, so that one is probably working fine..
Toby  [作者] 10 月 30 日 下午 12:01 
Specifically Word of productivity is set to always and only target colonists
Toby  [作者] 10 月 30 日 上午 11:57 
The ones not listed should not be targetted
If they are that's a bug :^)
VitaKaninen 10 月 30 日 上午 11:54 
Can you tell me where to find it? This is what my settings look like: https://imgur.com/a/mLTBvdO

I see that some of the other psycasts have options for colonists and slaves, but not for Word of Productivity. Word of inspiration only has a few options compared to others.
Toby  [作者] 10 月 30 日 上午 11:31 
How do you mean? Every psycast I add has a bunch of options on who to target
VitaKaninen 10 月 30 日 上午 8:16 
Do you think you could add an option to only auto-cast certain skills on my own colonists?

This affects me specifically when I have Empire royals staying at my colony, and my psycasts have Word of Productivity or Word of Inspiration set to auto-cast, and they use it on the guests.

This reduces the faction goodwill, since it is considered a "harmful ability", and It is also a waste of psyfocus, since the royals don't do work and will not benefit from the increased productivity or inspiration.
Toby  [作者] 10 月 24 日 上午 12:38 
correct
VitaKaninen 10 月 23 日 下午 11:59 
It should automatically place itself after Harmony, VEF, VFE, VPE, VPE Puppeteer,
Solar Pinhole Additions, and VPE Runesmith, when you hit the sort mods button.
aegdrthgedhyrh5etehrte 10 月 23 日 下午 9:14 
This should be loaded after vanilla psycasts expanded right? or before?
Zigzidu 10 月 23 日 下午 12:17 
Thank you very much!
Toby  [作者] 10 月 23 日 上午 10:07 
I'll try and see if there's a simple way to check for player-assigned work specifically
Zigzidu 10 月 23 日 上午 8:06 
@Toby I have been, but it's hard to find the right jobs to disable. It would be ideal if there was an option to make it so that prioritized work in general would override the auto-casting. That way I don't tell a guy to go to trade, and he decides that upgrading a marble throwing rock to excellent quality is more important.
Toby  [作者] 10 月 23 日 上午 12:07 
@Zigzidu you can disable certain jobs from being interrupted by autocasting in the settings
Zigzidu 10 月 22 日 下午 8:51 
I've been having a lot of trouble with colonists ignoring my commands due to wanting to use psycasts instead. I can't seem to find a good balance between them not autocasting at all, and them not doing anything else to the point of malnutrition and mutiny.
Toby  [作者] 10 月 19 日 上午 3:25 
Added a setting to Power to use a maximum range
Hugalafutro 10 月 18 日 下午 9:23 
Would you consider adding some sort of distance check to the Power autocasting? I have few deepchem jacks literally in the opposite corner of the map and even if they are switched off he now spends most days running from temple to cast on 1 machine then all the way across map back to temple and after a while he runs back to cast it on the other jack etc..
Hugalafutro 10 月 9 日 上午 3:23 
Thanks!
Toby  [作者] 10 月 8 日 下午 2:46 
Fixed Power targetting
Toby  [作者] 10 月 8 日 下午 2:21 
rendering the power thing is not from my mod, that's from VPE itself.
And it powering the wrong thing may be because i sorted them backwards
Hugalafutro 10 月 8 日 上午 10:56 
When the psycaster casts psycast Power (the target thing doesn't consume power for a day) it draws a triangle with infinity symbol over the appliance it was casted on. When in different zone with gravship and the psycaster is in home zone, the symbols show up on gravship map as well. When the psycaster is on the gravship only the symbols casted on the map where gravship is show.

Slightly unrelated, but the description says he'll use the autocast on greatest power consumers, but it always get cast on 15W wall lamps (while crematorium/mech chargers/wastepack atomizers are running), but I mostly need him to waste focus so he medidates so I don't mind that much.
Toby  [作者] 10 月 8 日 上午 10:09 
I do not understand? What symbols?
The only thing this mod renders on the map is the areas, and only when you have the appropriate tools selected
Hugalafutro 10 月 8 日 上午 10:08 
When flying to different map with the gravship, at certain zoom-out level, the layer with the Power psycast symbols that have been casted on home map appears on the map with gravship as well.
VitaKaninen 10 月 1 日 上午 3:35 
Thanks a bunch!
Toby  [作者] 10 月 1 日 上午 3:30 
Apparently there was a typo in the loadAfter for runesmith (chariheir instead of chairheir), gonna fix that up too
Toby  [作者] 10 月 1 日 上午 3:26 
Done
VitaKaninen 10 月 1 日 上午 2:47 
Thanks!
Toby  [作者] 10 月 1 日 上午 2:36 
I'll have a look; Also Gravship support is in now
VitaKaninen 10 月 1 日 上午 2:28 
I know I had asked this before, but would you reconsider adding support for Word of Inspiration, since you are updating the mod?
Toby  [作者] 10 月 1 日 上午 2:18 
Think I figured out how to shoehorn my areas into the gravship code, ice crystals (and other psycast areas) should work in a few hours
Hugalafutro 9 月 30 日 上午 3:44 
Even then when you sort, RimSort first put your mod at top in wrong place, then if you close RimSort and re-open it it recognizes the error and pressing check dependencies moves your mod under VPE_psycasts, but pressing sort again moves it at top. But that is an issue with RimSort I guess.

What about my gravship Ice crystals :D I have switched to a pair of tamed Cryptotoads for the moment.
Toby  [作者] 9 月 25 日 上午 5:06 
Starting with version 1.0.38 of RimSort, there is a setting in the sorting options to prefer the *ByVersion tags, as RimWorld itself does
Toby  [作者] 9 月 25 日 上午 5:03 
@frus-m chariheir.vperunesmith and VanillaExpanded.VPE.Puppeteer are both in the loadAfterByVersion