RimWorld

RimWorld

Adjustable Archonexus Quest Continued
Norr 26 May, 2022 @ 1:05pm
How to regenerate the Archonexus quest with save-game editing
I installed this mod mid-game, when I had already gotten the vanilla quest.

My first attempt to regenerate the quest was the 'Mirith method' of Dismissing the quest and generate a new one using Dev-mode. Unfortunately, the old quest was simply moved to the 'Historical' tab and the new quest invariably set the quest-giver as "Wild people", which breaks the quest.

If anyone else has the same problem, you may attempt the steps below to see if that helps.
There may be more steps than necessary because I don't want to make assumptions regarding the reader's familiarity with this kind of thing.

1: Open rimworld.
2: Make a new save you wouldn't mind losing if this doesn't work.
3: Navigate to the save folder (this can be done by going to Options and clicking "Open save data folder").
4: Optional: Close Rimworld.
5: Open the save you want to edit. I use Notepad++ because indentations helps with finding where the codeblocks begin and end. You can use Notepad if you want.
Note: Opening a save can take several minutes. There is nothing wrong with your computer.
6: Open the search dialog using (ctrl+f on PC) and search for "Archonexus".
7: You will find the following code blocks:



This is the quest letters, I don't know if it's necessesary to remove, but I did it anyway. The first one is for the initial quest and the second is for having achieved the wealth to advance, you may not have the second one yet.

<li Class="NewQuestLetter"> <ID>1897</ID> <def>NewQuest</def> <label>Quest available: The Archonexus</label> <lookTargets IsNull="True" /> <relatedFaction>null</relatedFaction> <arrivalTick>27276001</arrivalTick> <title>The Archonexus</title> <text>A new quest has become available. It is called 'The Archonexus'.</text> <quest>Quest_179</quest> <hyperlinkThingDefs IsNull="True" /> <hyperlinkHediffDefs IsNull="True" /> </li>
<li Class="StandardLetter"> <ID>1898</ID> <def>PositiveEvent</def> <label>Quest 'The Archonexus' available</label> <lookTargets IsNull="True" /> <relatedFaction>null</relatedFaction> <arrivalTick>27276061</arrivalTick> <text>You have reached the wealth requirement for the quest 'The Archonexus'. You can now accept the quest.</text> <quest>Quest_179</quest> <hyperlinkThingDefs IsNull="True" /> <hyperlinkHediffDefs IsNull="True" /> </li>



This is the quest codeblock, and it's big. Remove all of it.

<li> <id>178</id> <name>EndGame_ArchonexusVictory</name> <appearanceTick>27276000</appearanceTick> <acceptanceTick>27276000</acceptanceTick> <acceptedBy>null</acceptedBy> <initiallyAccepted>True</initiallyAccepted> <challengeRating>-1</challengeRating> <root>EndGame_ArchonexusVictory</root> <hidden>True</hidden> <signalsReceivedDebug IsNull="True" /> <parts> <li Class="QuestPart_SubquestGenerator_ArchonexusVictory"> <inSignalEnable>Quest178.Initiate</inSignalEnable> <state>Enabled</state> <enableTick>27276000</enableTick> <subquestDefs> <li>EndGame_ArchonexusVictory_FirstCycle</li> <li>EndGame_ArchonexusVictory_SecondCycle</li> <li>EndGame_ArchonexusVictory_ThirdCycle</li> </subquestDefs> <maxActiveSubquests>1</maxActiveSubquests> <maxSuccessfulSubquests>3</maxSuccessfulSubquests> <civilOutlander>Faction_0</civilOutlander> <roughTribe>Faction_3</roughTribe> <roughOutlander>Faction_1</roughOutlander> </li> </parts> <tags /> <parent>null</parent> </li> <li> <id>179</id> <name>The Archonexus</name> <appearanceTick>27276001</appearanceTick> <ticksUntilAcceptanceExpiry>-60000</ticksUntilAcceptanceExpiry> <acceptedBy>null</acceptedBy> <challengeRating>4</challengeRating> <description>&lt;color=#00FF00FF&gt;Asarni Alliance&lt;/color&gt; is looking to expand their territory, and are interested in taking over &lt;color=#00BCD8FF&gt;Galsen Lagoon&lt;/color&gt; with all its wealth. If you can increase your total wealth to $350000, they will take the settlement. In trade, they offer you part of a map showing the location of an ancient archotech nexus. The archonexus is thought to be a conduit through which an archotech superintelligence influences the physical world. If you could invoke its power, what happens next could go beyond physical reality. &lt;color=#00FF00FF&gt;Asarni Alliance&lt;/color&gt; only has one piece of the map. The other parts are held by other factions. If you accept their offer, the outlanders will take possession of &lt;color=#00BCD8FF&gt;Galsen Lagoon&lt;/color&gt;, including all items and people. They'll bring 5 of your people and 5 of your animals to anywhere you want on the planet to start a new colony. Later, you can trade with others for the final two parts of the map.</description> <root>EndGame_ArchonexusVictory_FirstCycle</root> <signalsReceivedDebug IsNull="True" /> <parts> <li Class="QuestPart_RequirementsToAcceptPlayerWealth"> <requiredPlayerWealth>350000</requiredPlayerWealth> </li> <li Class="QuestPart_PlayerWealth"> <signalListenMode>NotYetAcceptedOnly</signalListenMode> <inSignalEnable>Quest179.Added</inSignalEnable> <outSignalsCompleted> <li>Quest179.PlayerWealthSatisfied</li> </outSignalsCompleted> <state>Disabled</state> <enableTick>27276001</enableTick> <playerWealth>350000</playerWealth> </li> <li Class="QuestPart_PassOutInterval"> <signalListenMode>NotYetAcceptedOnly</signalListenMode> <inSignalEnable>Quest179.PlayerWealthSatisfied</inSignalEnable> <state>Enabled</state> <enableTick>27276060</enableTick> <outSignals> <li>Quest179.SendLetterReminder</li> </outSignals> <inSignalsDisable /> <currentInterval>3241762</currentInterval> <ticksInterval>3600000~3600000</ticksInterval> </li> <li Class="QuestPart_Filter_PlayerWealth"> <signalListenMode>NotYetAcceptedOnly</signalListenMode> <inSignal>Quest179.SendLetterReminder</inSignal> <outSignal>Quest179.OuterNodeCompleted</outSignal> <minPlayerWealth>350000</minPlayerWealth> </li> <li Class="QuestPart_Letter"> <signalListenMode>NotYetAcceptedOnly</signalListenMode> <inSignal>Quest179.OuterNodeCompleted2</inSignal> <letter Class="StandardLetter"> <ID>1896</ID> <def>PositiveEvent</def> <label>Quest 'The Archonexus' available</label> <lookTargets IsNull="True" /> <relatedFaction>null</relatedFaction> <text>You have reached the wealth requirement for the quest 'The Archonexus'. You can now accept the quest.</text> <quest>Quest_179</quest> <hyperlinkThingDefs IsNull="True" /> <hyperlinkHediffDefs IsNull="True" /> </letter> <useColonistsOnMap>null</useColonistsOnMap> <colonistsFromSignal /> <visitors /> </li> <li Class="QuestPart_Filter_CanAcceptQuest"> <signalListenMode>NotYetAcceptedOnly</signalListenMode> <inSignal>Quest179.OuterNodeCompleted</inSignal> <outSignal>Quest179.OuterNodeCompleted2</outSignal> </li> <li Class="QuestPart_Choice"> <choices> <li> <questParts /> <rewards> <li Class="Reward_ArchonexusMap"> <currentPart>1</currentPart> </li> </rewards> </li> </choices> </li> <li Class="QuestPart_RequirementsToAcceptFactionRelation"> <relationKind>Ally</relationKind> <otherFaction>Faction_0</otherFaction> </li> <li Class="AdjustableArchonexus.QuestPart_NewColony_AdjArchonexus"> <inSignal>Quest179.Initiate</inSignal> <otherFaction>Faction_0</otherFaction> <outSignalCompleted>Quest179.NewColonyCreated</outSignalCompleted> <outSignalCancelled>Quest179.NewColonyCancelled</outSignalCancelled> <worldObjecctDef>Settlement_SecondArchonexusCycle</worldObjecctDef> <colonyStartSound>GameStartSting_FirstArchonexusCycle</colonyStartSound> <maxRelics>1</maxRelics> </li> <li Class="QuestPart_SetQuestNotYetAccepted"> <inSignal>Quest179.NewColonyCancelled</inSignal> <revertOngoingQuestAfterLoad>True</revertOngoingQuestAfterLoad> </li> <li Class="QuestPart_QuestEnd"> <inSignal>Quest179.NewColonyCreated</inSignal> <outcome>Success</outcome> </li> </parts> <tags /> <parent>Quest_178</parent> </li>



This last one I'm not sure what it is exactly, but not removing it instantly regenerates the quest in it's original (wrong) state.
Remove only the lines surrounded by +++.
This list may look different in your save.

<lastFireTicks> <keys> <li>GiveQuest_Intro_Wimp</li> <li>GiveQuest_Random</li> <li>SolarFlare</li> <li>GiveQuest_EndGame_ShipEscape</li> <li>GiveQuest_WorkSite</li> <li>GiveQuest_Intro_Deserter</li> <li>GiveQuest_EndGame_RoyalAscent</li> <li>Aurora</li> <li>Eclipse</li> +++<li>GiveQuest_EndGame_ArchonexusVictory</li>+++ </keys> <values> <li>480000</li> <li>27420000</li> <li>25427000</li> <li>1200000</li> <li>26892000</li> <li>1560000</li> <li>2101000</li> <li>24754000</li> <li>24651000</li> +++<li>27276000</li>+++ </values> </lastFireTicks>

This will completely remove the active quest from the save.


8: Save and close.
9: Start Rimworld and load the save.

When the save is loaded, the Archonexus quest should be absent from your quest log.
Let the game run for a bit and you should recieve a 'new quest' notification for the Archonexus quest, with a named faction as the quest-giver and the correct settings applied.
Last edited by Norr; 26 May, 2022 @ 1:22pm
< >
Showing 1-8 of 8 comments
Shenjima  [developer] 26 May, 2022 @ 2:22pm 
Some heroes don't wear capes. Thank you for this. Subscribing to this discussion for feedback purposes.
time lapses 27 May, 2022 @ 10:06am 
Really useful, thank you.
Catch Lightning 23 Dec, 2022 @ 10:03pm 
Does this only work for the first round or do I have to make an adjustment to make it work for the second going into third?
Shenjima  [developer] 23 Dec, 2022 @ 10:21pm 
@Catch Lightning If you need to delete the third, look for very similar lines that have Archonexus in it and only delete based on what's listed above. Definitely recommend backing up prior, just in case!

Don't delete any completed quests in the line though. Pay close attention to the ID in the <ID>xxx</ID> tag. Highest one is the one you remove. Then follow the rest of the steps listed above.
Catch Lightning 24 Dec, 2022 @ 8:21am 
Highest one. Got it. Thanks. I'm strongly considering just to use character editor to drop my folks in instead though. Your kid is back. Congrats!
Shenjima  [developer] 24 Dec, 2022 @ 5:35pm 
@Catch Lightning I enjoy remaking a game way too often to be honest! I love playing with the new genes!
Omniwrath 14 Jun, 2023 @ 4:45pm 
This helped a lot. I would suggest removing the first two blocks of code, because I couldn't find them and your instructions worked perfectly when I just removed the big block of code and the line you point out in the second block of code.

Thanks so much!
Nirin 4 Feb, 2024 @ 2:41am 
Thank you, my dude!!!
< >
Showing 1-8 of 8 comments
Per page: 1530 50