[MD Script] Plots Reset 3.1
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- Deadbeat_Spinn
- Posts: 6483
- Joined: Wed, 19. Nov 08, 20:47
well.. it doesn't start. I have high Boron rank, but Ma Hi ship doesn't show up
The same happens to Goner plot, (no Goner Osiris in EoL), but this script helped with that - after ResetGP goner TL appeared, so I guess it could help with other plots as well.
Plots that I already started earlier in game (terran, final fury and poisoned paranid) were OK, it's just like at some point something happened and other plots cannot start.
I'm trying to modify this script like this:
<cue name="Reset_HUB">
<condition>
<check_value value="{player.name}" exact="ResetHUB"/>
</condition>
<action>
<do_all>
<reset_cue cue="L2M007 Create Mahe Ma"/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>
<reset_cue cue="KResetplots"/>
</do_all>
</action>
</cue>
I copied Goner plot part, changed to ResetHUB, and trying different cues
("L2M007", "L2M007 Create Mahe Ma", "L2M007 Ma Lost" etc) but no luck.
Right now I killed some Boron ships to drop my rank just a bit, and will gain notoriety again, in hope that maybe event "you have gained recognition" will trigger cue reset..
The same happens to Goner plot, (no Goner Osiris in EoL), but this script helped with that - after ResetGP goner TL appeared, so I guess it could help with other plots as well.
Plots that I already started earlier in game (terran, final fury and poisoned paranid) were OK, it's just like at some point something happened and other plots cannot start.
I'm trying to modify this script like this:
<cue name="Reset_HUB">
<condition>
<check_value value="{player.name}" exact="ResetHUB"/>
</condition>
<action>
<do_all>
<reset_cue cue="L2M007 Create Mahe Ma"/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>
<reset_cue cue="KResetplots"/>
</do_all>
</action>
</cue>
I copied Goner plot part, changed to ResetHUB, and trying different cues
("L2M007", "L2M007 Create Mahe Ma", "L2M007 Ma Lost" etc) but no luck.
Right now I killed some Boron ships to drop my rank just a bit, and will gain notoriety again, in hope that maybe event "you have gained recognition" will trigger cue reset..
Ketraar you are a hero.
My Goner plot was broken, thank you very much for this script.
My Goner plot was broken, thank you very much for this script.
Stop the War on Drugs. It is killing more people than the drugs. Not a single death in history worldwide can be directly related to cannabis, yet in some countries you will be murdered by the state for simple possession. The UN admitted the failure of its repressive measures. Stop the madness, legalize drugs!
- Toastysoul
- Posts: 69
- Joined: Fri, 3. Feb 06, 05:00
Thanks for this, it worked well once everything was setup right.
Some tips to others that follow:
You'll need the "mission director" files from 04.dat. You get these using doubleshadows Mod Manager to extract them. If like me you don't have both the Visual basic & C+ runtime libraries installed, the modmanager won't work. The VB library was installed with the MM installer, but the C lib I had to download manually. Doubleshadow has a link to the them on the download page for the mod manager, though it's not immediately obvious, it's in the description. You can find it HERE. Install the library using the "System directory" option, if it asks.
Launch the modmanager. There was no shortcut created so I had to go to:
C:\Program Files\X3 ModManager, and launch it (X3ModManager.exe) manually.
Open 04.dat (located in your X3TC root directory), Select only the "Director/" path files & extract them. You should now have a folder called "director" in your X3TC root folder. Close the modmanager, thank doubleshadow for making this awesome tool.
Extract Ketraar's Plotreset script right into your X3TC root folder. It should place 2 files into your new director directory, modified.txt & Plotsreset.xml. The included readme is in German, however you can find the english instructions needed to properly reset the plots at the start of this thread. The instructions aren't clear on which "scene" = which mission. I PMed to ask about my specific case and resetting the "satellite" mission equated to resetting to scene 4. YMMV
Some tips to others that follow:
You'll need the "mission director" files from 04.dat. You get these using doubleshadows Mod Manager to extract them. If like me you don't have both the Visual basic & C+ runtime libraries installed, the modmanager won't work. The VB library was installed with the MM installer, but the C lib I had to download manually. Doubleshadow has a link to the them on the download page for the mod manager, though it's not immediately obvious, it's in the description. You can find it HERE. Install the library using the "System directory" option, if it asks.
Launch the modmanager. There was no shortcut created so I had to go to:
C:\Program Files\X3 ModManager, and launch it (X3ModManager.exe) manually.
Open 04.dat (located in your X3TC root directory), Select only the "Director/" path files & extract them. You should now have a folder called "director" in your X3TC root folder. Close the modmanager, thank doubleshadow for making this awesome tool.
Extract Ketraar's Plotreset script right into your X3TC root folder. It should place 2 files into your new director directory, modified.txt & Plotsreset.xml. The included readme is in German, however you can find the english instructions needed to properly reset the plots at the start of this thread. The instructions aren't clear on which "scene" = which mission. I PMed to ask about my specific case and resetting the "satellite" mission equated to resetting to scene 4. YMMV
- Toastysoul
- Posts: 69
- Joined: Fri, 3. Feb 06, 05:00
@Ketraar: Your script got my Terran plot right back on track, and I finished it a couple days ago. Thanks.
I tried to reset the Treasure hunt plot, and I don't think it worked.
I have taken a look at your Plotsreset.xml file, the cue name to reset for ResetTH is blank... It looks like you put the tag in the wrong spot.
<cue name="Reset_TH">
<condition>
<check_value value="{player.name}" exact="ResetTH"/>
</condition>
<action>
<do_all>
<reset_cue cue=""/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>KTH_Message
<reset_cue cue="KResetplots"/>
</do_all>
</action>
</cue>
It should read:
----
<do_all>
<reset_cue cue="KTH_Message"/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>
<reset_cue cue="KResetplots"/>
</do_all>
----
I made the change and reran the ResetTH command, it worked just as expected this time. Looks like you should update your file. Thanks.
I tried to reset the Treasure hunt plot, and I don't think it worked.
Spoiler
Show
I must have missed the stupid teladi the first time, I checked every pirate sector over and over for a station with the blue icon, with no success. I used your script, and a *long* time later I still have not received the message stating that an Argon ship was boarded by Yaki, etc.
<cue name="Reset_TH">
<condition>
<check_value value="{player.name}" exact="ResetTH"/>
</condition>
<action>
<do_all>
<reset_cue cue=""/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>KTH_Message
<reset_cue cue="KResetplots"/>
</do_all>
</action>
</cue>
It should read:
----
<do_all>
<reset_cue cue="KTH_Message"/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>
<reset_cue cue="KResetplots"/>
</do_all>
----
I made the change and reran the ResetTH command, it worked just as expected this time. Looks like you should update your file. Thanks.
The file is fine, just checked. It would be odd since it worked already for those who requested it.
Here the code pasted from the file.
No idea where you got the file, but if you got it from the link in OP its fine as it should be.
MFG
Ketraar
Here the code pasted from the file.
Code: Select all
<cue name="Reset_TH">
<condition>
<check_value value="{player.name}" exact="ResetTH"/>
</condition>
<action>
<do_all>
<reset_cue cue="KTH_Message"/>
<play_text>
<line actor="KResetplots.Kcheatsbetty" pageid="13" textid="131"/>
</play_text>
<reset_cue cue="KResetplots"/>
</do_all>
</action>
</cue>
MFG
Ketraar
- Toastysoul
- Posts: 69
- Joined: Fri, 3. Feb 06, 05:00
first of all i try to reset the aldrin mission i followed the instruction i had to extract the directory files from 04.dat reset it then i saw the the current mission i was on ( a new home i'm at the point of collecting the money forthe sector) disapeared from the mission list..... i reloaded the last save (juste before the reset) and it was still not there then i removed the director directory. restart reload the last save and it was there ouffff. but i'm still not able to do the aldrin mission even though i have all the prerequisite. ( i think)
help..... lol
Casper
help..... lol
Casper
-
- Posts: 5
- Joined: Fri, 26. Jun 09, 18:07
-
- Posts: 5
- Joined: Fri, 26. Jun 09, 18:07
-
- Posts: 144
- Joined: Thu, 29. Apr 10, 11:24
Hello all,
i just wondering, could you add HUB plot and PHQ plot, because somtimes Mahi ma doesnt show up after i met the requirement FAQ, almost same with exterminmator but since the KP already there then it is easy to call the exterminator.
Please help.
i just wondering, could you add HUB plot and PHQ plot, because somtimes Mahi ma doesnt show up after i met the requirement FAQ, almost same with exterminmator but since the KP already there then it is easy to call the exterminator.
Please help.
It is hard to live since the xenon and kha'ak patrol recentrly
- NeoBahamutZERO
- Posts: 22
- Joined: Mon, 10. Nov 08, 22:32
-
- Posts: 13
- Joined: Tue, 20. Jul 10, 18:26