It's not going well...
Well, not entirely true, been talking with Rann L and he's given me a bunch of help so far.
So what I've got so far is the following :
The code RannL gave me
Code: Select all
<mod:findLike type="eventList">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
<mod:findLike type="eventList">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:findLike type="event">
<mod:findLike type="choice">
<mod:selector req="SLUG_GEL" />
<mod:removeTag />
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
</mod:findLike>
Which should find and remove the Slug_gel tags in events if they come up straight away at the start of the event, after a first and second choice according to RannL (and I have no reason to believe he's lying)
Then we have 8 .xml.append files (one for each .xml file where the Slug_gel tag is used in ways I want in removed) containing nothing but said code.
I then put those 8 files in the data folder (the one inside the resource folder that I got from saving the ship itself as a resource folder, not an .ftl file).
Zipped said resource folder, gave it the .ftl extension.
Loaded it in with CE resources and FTL CE (with my mod loaded last)
Final result :
Nothing changed, my ship didn't get loaded and the blue options for slug gel are still available.
As far as additional info I can give (for those who after all this still can/want to help) :
One thing I noticed was that when loading it in with SSM I saw the following pop-up
Code: Select all
WARN ModPatchThread - Skipping junk file: data/events_boss.xml.append~
WARN ModPatchThread - Skipping junk file: data/events_engi.xml.append~
WARN ModPatchThread - Skipping junk file: data/events_rock.xml.append~
WARN ModPatchThread - Skipping junk file: data/events_pirate.xml.append~
WARN ModPatchThread - Skipping junk file: data/events_nebula.xml.append~
and a bunch of other .xml files (some weren't even append files)
and after those it said
INFO ModPatchThread - Installing mod: AI_Cruiser_CE_V2.ftl
INFO ModPatchThread - Repacked "data.dat" (9493695 bytes affected)
INFO ModPatchThread - Repacked "resource.dat" (294570817 bytes affected)
Which I think means it skipped xml.append files in the CE mod, not mine.
So things that need to be solved:
Find out why the code isn't working.
Get the ship back in...
All of that hopefully in a single file.
That's all, I'm kind of at a loss right now. But I do appreciate the time everyone took to help me out.
I hope this is something stupid...