Page 2 of 3

Posted: Fri Sep 05, 2008 5:57 pm
by Periculi
Ah, yes, well, you see- that's the list in transcendence.xml, which isn't up to date with 099 apparently.

Perhaps you could make a complete list of the missing modifiers and I will edit the list there.

Posted: Tue Nov 17, 2009 1:46 pm
by Dennis
Just to point out you made a small mistake
After explaining the minFireArc
you again moved to minFireArc i think the second one is maxFireArc sorry if I'm wrong

Posted: Tue Oct 26, 2010 3:40 am
by ThePrivateer
F50, I usually don't mod, but thanks to this very simple guide, I've started to do make so (silly, but fun) mods of my own!

The initial Charon-ships-get-MakayevLaunchers-thing was hilarious.

Thanks alot! :D

Re: F50's Modding tutorial

Posted: Tue Apr 05, 2011 11:35 pm
by RPC
Why is this not stickied? This tutorial would have saved me a whole month of staring at the .tdb!

Re: F50's Modding tutorial

Posted: Wed Apr 06, 2011 10:20 am
by Datal
Is that tutorial compatible with v.1.01 or v1.05 :?:

Re: F50's Modding tutorial

Posted: Wed Apr 06, 2011 1:21 pm
by alterecco
Not 100%, but i would say 99.5%

It is definitely worth a read.

Re: F50's Modding tutorial

Posted: Wed Apr 06, 2011 3:54 pm
by Datal
I have an problem. :(
I done everything what is in tutorial and it doesn't works :!:
Here is my code

Code: Select all

<?xml version="1.0"?>

 <!DOCTYPE TranscendenceExtension
 [<!ENTITY extUNID           "0x818DvDr">
 ]>
 
  <TranscendenceExtension UNID="&extUNID;" version="0.98d"
  <!--Corsair-class Gunship-->
  
  <!--Statek na probe.-->
  
  <ShipClass UNID="&scCorsair;"
        manaufacturer=			"Charon Pirates"
        class=			"Corsair12"
        type=			"gunship"
        score=			"250"
        techOrder=			"mech"
        mass=			"120"
        cargoSpace=				"220"
        thrust=			"250"
        maneuver=			"8"
        maxSpeed=			"22"
        
        leavesWreck=			"45"
        
        -->
      <Armor>
           <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7"/>
          <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4"/>
       </Armor>
       
<Devices>
     <Device deviceID="&itMakayevLauncher;"/>
     <Device deviceID="&itClass2Deflector;"/>
</Devices>
      
      <Image imageID="&rsMediumShips1;" imageX="288" imageY="0" imageWidth="48"
   imageHeight="48" rotationOffset="-10" imageFrameCount="0" imageTicksPerFrame="0"/>
   
   <AISettings
     fireRateAdj="10"
     fireAccuracy="95"
     perception="6"
     />
     
      <DriveImages>
         <NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0"
    imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
      <NozzlePos x="-30" y="-7"/>
      <NozzlePos x="-30" y="7"/>
    </DriveImages>
    
     </ShipClass>
     
      <Armor>
         <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
         <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
        <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    
    <Items>
       <Item count="100d100" item="&itStrelkaWhite;"/>
       </Items>
    
    
    
    
  </TranscendenceExtension>
And when I try to run game the system give me this warning:
"Error parsing Extensions\Pirat Charon : Unable to parse Pirat Charon.xml: Line(1):<?XML prologue excepted" (where "Pirat Charon" is the mod name)However I write this mod this error is always, always ALWAYS, even when I modifity yours mods. :roll:
What is it ?

Re: F50's Modding tutorial

Posted: Wed Apr 06, 2011 10:03 pm
by alterecco
0x818DvDr is not a legal entity. Look up how hexadecimal numbers work

The current version is 1.0. Change the version="0.98d" to version="1.0"

You are closing </ShipClass> too early. There is content after that that should be inside the <ShipClass></ShipClass>. Transcendence mods is 90% xml. The web is filled with good xml tutorials. I recommend you spend an hour or two studying one.

manaufacturer is spelled wrong.

After fixing that, perhaps it will run... If not, post here again with your new code.

Re: F50's Modding tutorial

Posted: Wed Apr 06, 2011 10:35 pm
by RPC

Code: Select all

<TranscendenceExtension UNID="&extUNID;" version="0.98d"
needs the >

Code: Select all

<TranscendenceExtension UNID="&extUNID;" version="0.98d">
and

Code: Select all

<Armor>
         <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
         <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
        <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
needs the </> closing tag.
That becomes:

Code: Select all

<Armor>
         <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
         <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
        <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
   </Armor>
That's all I found.

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 10:43 am
by Datal
I still don't get this legal entity. :?: Here is my code: (and it still doesn't works)

Code: Select all

<?xml version="1.0"?>

<!DOCTYPE TranscendenceExtension
[<!ENTITY extUNID           "0x818000">
]>

  <TranscendenceExtension UNID="&extUNID;" version="1.0">
  <!--Corsair-class Gunship-->
 
  <!--Statek na probe.-->
 
  <ShipClass UNID="&scCorsair;"
        manaufacturer=         "Charon Pirates"
        class=         "Corsair12"
        type=         "gunship"
        score=         "250"
        techOrder=         "mech"
        mass=         "120"
        cargoSpace=            "220"
        thrust=         "250"
        maneuver=         "8"
        maxSpeed=         "22"
       
        leavesWreck=         "45"
       
        -->
      <Armor>
           <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7"/>
          <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4"/>
       </Armor>
       
<Devices>
     <Device deviceID="&itMakayevLauncher;"/>
     <Device deviceID="&itClass2Deflector;"/>
</Devices>
     
      <Image imageID="&rsMediumShips1;" imageX="288" imageY="0" imageWidth="48"
   imageHeight="48" rotationOffset="-10" imageFrameCount="0" imageTicksPerFrame="0"/>
   
   <AISettings
     fireRateAdj="10"
     fireAccuracy="95"
     perception="6"
     />
     
      <DriveImages>
         <NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0"
    imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
      <NozzlePos x="-30" y="-7"/>
      <NozzlePos x="-30" y="7"/>
    </DriveImages>
   
     
      <Armor>
         <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
         <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
        <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
   </Armor>
   
    <Items>
       <Item count="100d100" item="&itStrelkaWhite;"/>
       </Items>

   <ShipClass></ShipClass>
   
   
   
   
  </TranscendenceExtension>

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 12:19 pm
by Lokasenna
1. Your extUNID is still incorrect. Try changing it to "0xABCD1234" and see if that fixes the problem. Then go read a few modding tutorials.

2. At the end of the code, when you have </ShipClass>, delete the <ShipClass> right before it.

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 5:48 pm
by Datal
And it still not works :? Even when I try to change allready existed mods, I have always the same error.
If I do ANYTHING in XML file then I have this error, maybe I need change my XML editor (I have XML Copy Editor)
Here it's my new code:

Code: Select all

<?xml version="1.0"?>

<!DOCTYPE TranscendenceExtension
[<!ENTITY extUNID           "0xABCD1234">
]>

  <TranscendenceExtension UNID="&extUNID;" version="1.0">
  <!--Corsair-class Gunship-->

  <!--Test ship.-->

  <ShipClass UNID="&scCorsair;"
        manaufacturer=         "Charon Pirates"
        class=         "Corsair12"
        type=         "gunship"
        score=         "250"
        techOrder=         "mech"
        mass=         "120"
        cargoSpace=            "220"
        thrust=         "250"
        maneuver=         "8"
        maxSpeed=         "22"
       
        leavesWreck=         "45"
       
        -->
      <Armor>
           <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7"/>
          <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4"/>
       </Armor>
       
<Devices>
     <Device deviceID="&itMakayevLauncher;"/>
     <Device deviceID="&itClass2Deflector;"/>
</Devices>
     
      <Image imageID="&rsMediumShips1;" imageX="288" imageY="0" imageWidth="48"
   imageHeight="48" rotationOffset="-10" imageFrameCount="0" imageTicksPerFrame="0"/>
   
   <AISettings
     fireRateAdj="10"
     fireAccuracy="95"
     perception="6"
     />
     
      <DriveImages>
         <NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0"
    imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
      <NozzlePos x="-30" y="-7"/>
      <NozzlePos x="-30" y="7"/>
    </DriveImages>
   
     
      <Armor>
         <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
         <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
        <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
    <ArmorSection start="270" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="0,2,3,7" nonCritical="general"/>
        <ArmorSection start="90" span="180" armorID="&itHeavyCeramicPlate;"
    areaSet="1,4" nonCritical="general"/>
   </Armor>
   
    <Items>
       <Item count="100d100" item="&itStrelkaWhite;"/>
       </Items>

   </ShipClass>
   
   
   
   
  </TranscendenceExtension>
And error, still the same:
"Error parsing Extensions\Pirat Charon : Unable to parse Pirat Charon.xml: Line(1):<?XML prologue excepted" (where "Pirat Charon" is the mod name)

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 6:43 pm
by alterecco
Are you sure you don't have another copy in your extension folder?

I just tried the code you pasted, and it runs fine (well, there are other errors, but not the one you posted)

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 8:47 pm
by Datal
alterecco wrote:Are you sure you don't have another copy in your extension folder?

I just tried the code you pasted, and it runs fine (well, there are other errors, but not the one you posted)

I'm very sure. And at 100% I don't have any other copy. Only one that file.
Really I never had other error than that. Maybe my XMLCopyEditor is wrong. I will try to download notepad++.

Re: F50's Modding tutorial

Posted: Thu Apr 07, 2011 11:13 pm
by Lokasenna
Try putting a space between the " and ? in your first line. Yours looks like:

<?xml version="1.0"?>

And every example I can find looks like:

<?xml version="1.0" ?>

It might not be the problem, I'm not sure.