RimWorld

RimWorld

Cooler Psycasts
104 Comments
jikulopo Oct 20 @ 10:25am 
So apparently this mod can cause an absolute murder on performance with some har races that use hediff based body addons. The psychic agitator adds/removes a hediff from pawns with psylink every single tick and har on every hediff add/remove dirties the bodyAddon graphics which calls expensive graphic getting.
GrobmotoriGER Oct 14 @ 7:38pm 
Things I noticed while I was debugging the patch in my previous comment:
Regarding the warning:
Tried to use an uninitialized DefOf of type StatDefOf. DefOfs are initialized right after all defs all loaded. Uninitialized DefOfs will return only nulls. (hint: don't use DefOfs as default field values in Defs, try to resolve them in ResolveReferences() instead)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimWorld.DefOfHelper:EnsureInitializedInCtor (System.Type)
RimWorld.StatDefOf:.cctor ()
CoolPsycasts.CompProperties_AbilityForceJobMulti:.ctor ()

I think just removing the initialization of CompProperties_AbilityForceJobMulti.durationMultiplier should just remove the warning, because if I read it correctly it initializes it with null anyway(which does not matter as the field is set when the comp is used in Execute)

P.s. AnimaTreeNeedsMoreGrassBeyondLevel6 patch is missing an .xml extension, causing it to not be applied :P
GrobmotoriGER Oct 14 @ 7:14pm 
Suggested Patch to get rid of the errors, &swapping that boss to a monosword:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Combat Extended</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="CoolPsycasts_ArchotechSplinter"]/comps/li[@Class="CoolPsycasts.CompProperties_HasAvatar"]/weapon</xpath>
<value>
<weapon>MeleeWeapon_MonoSword</weapon>
</value>
</match>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Combat Extended</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="CoolPsycasts_MindMeld"]/comps/li[@Class="CoolPsycasts.CompProperties_AbilityMindMeld"]/cannotUseIfHediffs</xpath>
<value>
<cannotUseIfHediffs>
<li>CoolPsycasts_PossessHD</li>
</cannotUseIfHediffs>
</value>
</match>
</Operation>
</Patch>
GrobmotoriGER Oct 14 @ 6:23pm 
I am getting the following error with CE enabled:

Could not resolve cross-reference: No Verse.ThingDef named CoolPsycasts_Skipblade found to give to CoolPsycasts.CompProperties_HasAvatar
Could not resolve cross-reference to Verse.HediffDef named CoolPsycasts_DuplicateHD (wanter=cannotUseIfHediffs)
Paolini Oct 12 @ 7:01am 
@Good Old Jim you can simply disable them with cherry picker, takes like 2mins
Good Old Jim Sep 29 @ 7:01pm 
Anyway you could make a separate version with only up to level 6 psycasts? These all look really cool but the higher end ones seem real OP and I run Medieval Overhaul with world Tech limiter and it does not play well with Cherrypicker. Plus Im worried the *spoiler* rare monster/empires interactions from the mod may not fit/break the medieval overhaul. Please?
OceanicOxen Sep 11 @ 5:27pm 
The warning/delay seems to just continuously trigger every 5 in game hours or so without actually spawning the boss
Andy Sep 6 @ 11:17pm 
Can you please add option to disable getting level 7+ from the Anima tree for compatibility with Keep On Linking mod?
Darth Tempest Aug 26 @ 12:06pm 
Hehe - thanks for that! And thanks for the mod!
Metalocif  [author] Aug 26 @ 10:58am 
It does now!
...I think I always have mechs or disposables blocking inquisitors, so I never realized the hediff didn't vanish.
Darth Tempest Aug 26 @ 9:52am 
Does the negapsychic venom fade at some point?
Metalocif  [author] Aug 25 @ 4:22pm 
Should be fixed.
Also added a psycast that lets you create a trap containing any known psycast, triggered by enemies stepping on it (set a trap that casts Berserk Pulse for you).
I expect some very fun bug reports about it, although "I turned Invisibility into a trap and the enemy turned invisible" would be a case of PEBKAC.
Metalocif  [author] Aug 25 @ 12:44pm 
Great report, 10/10.
Will fix.
OceanicOxen Aug 25 @ 12:21pm 
induce psychic storm gives a null pointer exception because this.parent.pawn.Map.Biome.baseWeatherCommonalities.Find((WeatherCommonalityRecord match) => match.weather == this.Props.weather) returns null for some if not all biomes.
At the very least it does on grasslands but i tried a few dev quickstarts and it errored for all of them.
these tests were conducted with all dlcs + harmony + VEF + VRE archon + cooler psycasts
Metalocif  [author] Aug 25 @ 10:25am 
I don't even think there's anything in here as strong as Berserk Pulse and Invisibility (or any VPE psycast), except maybe Strip.
Starlight-Ellie Aug 24 @ 8:17pm 
is this op? maybe, but the entire vpe mod is already op, so who cares? tear apart that kidney from the raider with this
Metalocif  [author] Aug 24 @ 4:28am 
No, not really. Try resubscribing to the mod?
hypersonicliontamer Aug 24 @ 3:41am 
Is there a syntax error in the .xml for: execute, extend, strip, timeshunt, awaken, chemfuelskip, despair, Emesis, archotech and transcendant folder? class ="

also in execute "<compClass>CoolPsycasts.CompAbilityEffect_ForceJobMulti</compClass>" was a source of an console log error for me.
Metalocif  [author] Aug 23 @ 9:25am 
Just as two mods that add guns are compatible with each other, my mod and Sleepy's are compatible, although some psycasts may feel redundant (use Cherry Picker).
Paolini Aug 23 @ 9:22am 
Quick question just to be sure, does this work well with mods that simply add more psycasts ? Mainly this one https://steamcommunity.com/sharedfiles/filedetails/?id=2884678003
Metalocif  [author] Aug 22 @ 4:35pm 
Added a new psycast, Echo, which lets you duplicate friendly projectiles, and compatibility with Persona Mechanoids 2 (you can recharge them with Vanometric Charge).
Metalocif  [author] Aug 20 @ 1:48pm 
Okay, should be fixed. This should also take care of red errors the game would sometimes throw on load about missing psytrainers.
I tested it some, but tell me if you see a level 7+ psytrainer or an archotech psytrainer anywhere (they should not appear for trade, as loot, or in quest rewards).
Metalocif  [author] Aug 20 @ 1:07pm 
Absolutely not, thank you for reporting it.
OceanicOxen Aug 20 @ 12:40pm 
You seem to be able to trade for archotech psytrainers, is this intentional?
Metalocif  [author] Aug 18 @ 4:25pm 
Test and report back.
BigGovernment Aug 18 @ 4:21pm 
Are the inquisitors and implants compatible with CE?
CYFire Aug 17 @ 5:07am 
these are great
Metalocif  [author] Aug 16 @ 5:07am 
Thanks for letting me know. I forgot a MayRequire somewhere. It should be harmless.
girk Aug 16 @ 4:11am 
have come across to a yellow error warning https://imgur.com/gallery/cooler-psycast-error-GYMKAFG
Lucasif Aug 15 @ 1:41pm 
I was just looking at my Rimsort and saw this wasn't red text anymore and tried to access the mod page which was restricted as Steam does when you push an update for the first 30 seconds or so. Keen to see what you've added.
Metalocif  [author] Aug 15 @ 10:15am 
Update ready. Looking forward to your feedback on the surprise.
Metalocif  [author] Aug 14 @ 7:52am 
Working on the update.
I was working on a major addition before 1.6, so it's a combination of fixing everything the update broke and finishing new content.
zafewins Aug 10 @ 8:45pm 
I'm hoping this gets updated soon
KingsMan_ Aug 7 @ 2:02am 
i waiting for it!
Whisper Jul 28 @ 2:03am 
Wow these are great, and they fit the vanilla theme instead of being absurdly overpowered like the VPE mods! Looking forward to 1.6!
Jippy Jul 15 @ 6:52pm 
These are epic-looking
Paolini Jul 14 @ 9:55am 
Author already updated a few of his other mods to 1.6 so is probably still working on this one
Marty in the multyvers Jul 14 @ 12:42am 
will this mod be updated to 1.6?
Metalocif  [author] Jun 5 @ 3:16am 
Odd. I'll look into it.
You're supposed to time Mass Reflect; it casts instantly, so that makes it easier. It also highlights the projectiles it will affect and where they will be reflected.
Hattsworth Jun 4 @ 9:16pm 
Realizing now that using yayo's combat to increase projectile speed might make that a bit tricky.
Hattsworth Jun 4 @ 9:15pm 
I did get a psytrainer for Gamma Ray. It was from an empire quest offering several others (level appropriate) ones. I don't think I have any quest-reward modifying mods. Psycasts I'm using this, melee psycasts, choice of psycasts, and AI can psycast.

Also how the heck does Mass Reflect even work? Do I have to time it with the bullets?
Metalocif  [author] May 30 @ 8:56am 
Added a few psycasts, rebalanced some, and added a few QoL improvements.
Monkey Magic May 14 @ 12:18am 
I have DM'd the author, but those of you wondering why you're getting errors:

- Enslave 's Heddiff needs a mayrequire flag.
- Skip Rifle, Skip Blade , and Duplicate have been temporarily misplaced.

This should be fixed soon.
Moth May 13 @ 4:24pm 
I keep checking this page and getting FOMO because those psycasts are so much cooler and more useful than most psycasts in VPE, I really wish you'd consider porting at least a few over as a new tree
Metalocif  [author] May 13 @ 3:48pm 
Update.
Added two psycasts, fixed some bugs.
Despair may cause a sad wander.
Enslave can be used on slaves to permanently suppress them.
Organ Skip causes organ harvesting thoughts on the user.

Prettified the workshop page because images don't take space but words do, which means I wasn't able to add to the description.
Making the pictures and uploading them took several hours and I hated every second of it.
Metalocif  [author] May 13 @ 12:44pm 
Yes, I figured out the issue with Learn. It will be fixed in the upcoming update.
CeasartheUndead May 13 @ 9:04am 
The psycast "Learn" have a error with it.
caster have heat_cap of 144 out of 150 it need to cast, overdrive on for the 6 heat needed.
target child with grow 6 tire

end of cast, kid 6 -> 8 max, overheat 20,000.
CeasartheUndead May 13 @ 8:05am 
@cedric chunk rain need the caster to be near chunks about 3 tiles.
CEDRIC May 12 @ 8:23am 
Very good mod! Creative but balanced. However, Chunk Rain is not working for me. Anyone know why?
ZawodRoshen May 11 @ 12:54pm 
Nice mod. Hope you add more cool and crazy psycasts