边缘世界 RimWorld

边缘世界 RimWorld

Character Editor
Proxyer 2021 年 8 月 1 日 上午 4:45
Warning log recorded on the start screen
1 Aug, 2021:
When you start the game with the following mod list, Warning (yellow) will be recorded.
RimWorld 1.3.3076 rev689

Harmony
Core
HugsLib
RebootNow
Character Editor


Could not resolve cross-reference: No Verse.SoundDef named PsycastCastLoop found to give to RimWorld.AbilityDef QuantumVoid (using undefined sound instead) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.DirectXmlCrossRefLoader/WantedRefForObject:TryResolve (Verse.FailMode) Verse.DirectXmlCrossRefLoader/<>c__DisplayClass15_1:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef) Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object) System.Threading.QueueUserWorkItemCallback:WaitCallback_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Isn't the royalty DLC forcibly calling the ability when it doesn't exist? Please check this. Thank you.
< >
正在显示第 1 - 5 条,共 5 条留言
Proxyer 2021 年 8 月 1 日 下午 2:44 
How to Fix:

Open,
Steam\steamapps\workshop\content\294100\1874644848\v1.3\Defs\Abilities.xml

add
<SoundDef> <defName>PsycastCastLoop</defName> <context>MapOnly</context> <maxSimultaneous>5</maxSimultaneous> <priorityMode>PrioritizeNearest</priorityMode> <sustain>True</sustain> <sustainFadeoutTime>0.1</sustainFadeoutTime> <subSounds> <li> <grains> <li Class="AudioGrain_Folder"> <clipFolderPath>Misc/CryptosleepCasket/CryptosleepCasketEject</clipFolderPath> </li> </grains> <volumeRange>20~25</volumeRange> <pitchRange>0.9~1.1</pitchRange> <sustainLoop>True</sustainLoop> <muteWhenPaused>True</muteWhenPaused> </li> </subSounds> </SoundDef>

use clipFolderPath was Cryptosleep open sound.
save UTF-8.
fixed.
VOID  [开发者] 2021 年 8 月 1 日 下午 3:15 
this warning only appears when royalty is disabled. i don't want the sound of crypto cascet during teleportation ^^
Proxyer 2021 年 8 月 1 日 下午 11:15 
@VOID
Surely! But what do you think the error is logged when DLC is disabled?
I fix the above code and try this.

use IfModNotActive="Ludeon.RimWorld.Royalty", if no DLC, not load sound date.
No warnig logged.

<SoundDef> <defName IfModNotActive="Ludeon.RimWorld.Royalty">PsycastCastLoop</defName> <context>MapOnly</context> <maxSimultaneous>5</maxSimultaneous> <priorityMode>PrioritizeNearest</priorityMode> <sustain>True</sustain> <sustainFadeoutTime>0.1</sustainFadeoutTime> <subSounds /> </SoundDef>
VOID  [开发者] 2021 年 8 月 2 日 下午 2:45 
@Proxyer
i will keep it in mind to fix it somewhen later.
Proxyer 2021 年 8 月 2 日 下午 3:48 
Thank you VOID! :HentaiGirlLinda_like:
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50