Here's a mod. it's a basic test mod for an idea I had.
http://paste.neurohack.com/view/YLTcE/
This mod throws an incredibly unhelpful error message: "Extensions\FastFireTest.xml: Expected <TranscendenceAdventure>, <TranscendenceExtension>, <TranscendenceLibrary> or <TranscendenceModule> instead of <>"
While this tells me it's got something to do with the XML stuff that sets up the extension, me and ~3 other people in IRC haven't been able to spot what's actually causing this.
Anyone able to help out?
Help a semi-experienced modder solve a simple issue
- Cygnus.X1
- Militia Lieutenant
- Posts: 245
- Joined: Sun Feb 24, 2008 6:21 pm
- Location: Elysium Fields... I mean System
- Contact:
http://paste.neurohack.com/view/YRC6p/
After much tweaking I've managed to reduce the error message to "Invalid UNID"
I'll keep poking at this off and on today...
Can't do UNIDs that way. Declare the UNID's hex-string in the DOCTYPE, then use the UNID text string instead.
Also, it appears that the name attribute is now required. I believe the credit attribute is optional. Actually, it's not required.
...
So, all that being said, I can't for the life of me figure out why it's complaining about an invalid UNID now, but it's some kind of progress
[edit]
I'm an idiot
Forgot the "&"
It loads now, new paste coming up...
http://paste.neurohack.com/view/YSUnx/
After much tweaking I've managed to reduce the error message to "Invalid UNID"
I'll keep poking at this off and on today...
Code: Select all
<TranscendenceExtension UNID="0xDC4E8846" version="1.1">
Code: Select all
<!ENTITY unidExtension "0xDC4E0000">
Code: Select all
<TranscendenceExtension UNID="unidExtension;" version="1.1" name="Shrike Cannon" credits="Shrike">
...
So, all that being said, I can't for the life of me figure out why it's complaining about an invalid UNID now, but it's some kind of progress
[edit]
I'm an idiot
Code: Select all
<TranscendenceExtension UNID="&unidExtension;" version="1.1" name="Shrike Cannon" credits="Shrike">
It loads now, new paste coming up...
http://paste.neurohack.com/view/YSUnx/
Transgeek managed to get it to work, but when he plugged the original XML into his copy of the game, it worked fine anyway. Backwards-compatability with mods has never been a Transcendence strongpoint (the main problem with my code is that I have no idea how mods are supposed to be set up now and I'm copy-pasting from old mods from the 1.04 days), but having differing levels of compatability with different copies of the same software is......new.
Mischievous local moderator. She/Her pronouns.