Mod help
- Vizth
- Commonwealth Pilot
- Posts: 54
- Joined: Mon Sep 04, 2006 12:56 am
- Location: Tellico Plains, Tennessee
I think it's a unid error because i really have no clue what that is, lol.
I'm using a premade image I got off transcendence images and the most of the xml is from a ship I downloaded, but I just about everything except the armor.
the names of the images are. freighter2shield, freighter2ship, freighter2mask
ok, here it is
<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY unidExtension "0xD0623035">
<!ENTITY scArmoredFreighter "0xD0623036">
<!ENTITY itOmniTurbolaserCannon "0x00004112">
<!ENTITY itHeavyTitaniumPlate "0x00004062">
<!ENTITY itR1Deflector "0x000040FA">
<!ENTITY itHelium3FuelRod "0x0000403C">
<!ENTITY itLargeArmorPatch "0x0000406D">
<!ENTITY itAblativeArmorCoating "0x0000403E">
<!ENTITY itReactiveArmorCoating "0x00004042">
<!ENTITY itRegeneratingNanos "0x00004044">
<!ENTITY itEnhanceSRSROM "0x000040BC">
<!ENTITY itTargetingComputerROM "0x00004059">
<!ENTITY itEnhanceShieldsROM "0x00004048">
<!ENTITY rsfreighter2ship "0xD100V002">
<!ENTITY rsDriveExhaust "0x0000F10C">
<!ENTITY rsWolfenArmor "0x0000F00B">
<!ENTITY rsfreighter2shield "0xD200V003">
<!ENTITY rsZubrinReactor "0x0000F00C">
]>
<TranscendenceExtension UNID="&unidExtension;" version="0.96">
<!-- Armored Freighter -->
<ShipClass UNID="&scArmoredFreighter;"
manufacturer= "Vizth Ltd."
class= "Armored freighter"
type= "transport"
score= "150"
techOrder= "mech"
mass= "1500"
reactorPower= "1000"
fuelCapacity= "80000"
cargoSpace= "900"
thrust= "350"
maneuver= "3"
maxSpeed= "20"
maxArmor= "50000"
maxCargoSpace= "900"
cyberDefenseLevel= "10"
maxDevices= "20"
maxWeapons= "5"
leavesWreck= "100"
>
<Armor>
<ArmorSection start="330" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="150" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="90" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="30" span="60" armorID="&itHeavyTitaniumPlate;"/>
</Armor>
<Devices>
<Device deviceID="&itOmniTurbolaserCannon;"/>
<Device deviceID="&itR1Deflector;"/>
</Devices>
<Items>
<Item count="8d8" item="&itHelium3FuelRod;"/>
<Item count="3d4+2" item="&itLargeArmorPatch;"/>
<Table>
<Item chance="40" count="4" item="&itAblativeArmorCoating;"/>
<Item chance="40" count="4" item="&itReactiveArmorCoating;"/>
<Item chance="20" count="4" item="&itRegeneratingNanos;"/>
</Table>
<Table>
<Item chance="20" count="1" item="&itEnhanceSRSROM;"/>
<Item chance="60" count="1" item="&itTargetingComputerROM;"/>
<Item chance="20" count="1" item="&itEnhanceShieldsROM;"/>
</Table>
</Items>
<Image imageID="&rsFreighter2Ship;" imageX="0" imageY="0" imageWidth="312" imageHeight="312" imageFrameCount="0" imageTicksPerFrame="0"/>
<AISettings
fireRateAdj= "60"
fireAccuracy= "85"
perception= "8"
/>
<DriveImages>
<NozzleImage imageID="&rsDriveExhaust;" imageX="0" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
<NozzlePos x="-67" y="-10"/>
<NozzlePos x="-67" y="10"/>
</DriveImages>
<PlayerSettings
desc= "Armored freighter"
initialClass= "true">
<ArmorDisplay>
<ArmorSection name="forward" imageID="&rsWolfenArmor;" imageX="0" imageY="0" imageWidth="90" imageHeight="9" destX="23" destY="32" hpX="55" hpY="27" nameY="8" nameBreakWidth="360" nameDestX="12" nameDestY="0"/>
<ArmorSection name="starboard" imageID="&rsWolfenArmor;" imageX="90" imageY="0" imageWidth="9" imageHeight="56" destX="104" destY="41" hpX="98" hpY="60" nameY="30" nameBreakWidth="275" nameDestX="0" nameDestY="8"/>
<ArmorSection name="aft" imageID="&rsWolfenArmor;" imageX="99" imageY="0" imageWidth="90" imageHeight="9" destX="23" destY="97" hpX="55" hpY="97" nameY="74" nameBreakWidth="200" nameDestX="0" nameDestY="8"/>
<ArmorSection name="port" imageID="&rsWolfenArmor;" imageX="189" imageY="0" imageWidth="9" imageHeight="56" destX="23" destY="41" hpX="12" hpY="60" nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="8"/>
</ArmorDisplay>
<ShieldDisplay>
<Image imageID="&rsfreighter2shield;" imageX="0" imageY="0" imageWidth="136" imageHeight="136"/>
</ShieldDisplay>
<ReactorDisplay>
<Image imageID="&rsZubrinReactor;"
imageX="0" imageY="0" imageWidth="256" imageHeight="60"/>
<PowerLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="60" imageWidth="202" imageHeight="14"
destX="54" destY="9"/>
<FuelLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="74" imageWidth="194" imageHeight="14"
destX="54" destY="37"/>
<FuelLowLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="88" imageWidth="194" imageHeight="14"/>
<ReactorText x="62" y="22" width="154" height="14"/>
<PowerLevelText x="62" y="0" width="154" height="9"/>
<FuelLevelText x="62" y="51" width="154" height="9"/>
</ReactorDisplay>
</PlayerSettings>
</ShipClass>
<Image UNID="&rsFreighter2Ship;" bitmap="freighter2ship.jpg" bitmask="freighter2mask.bmp" backColor="0x00000000"/>
<Image UNID="&rsFreighter2Shield;" bitmap="freighter2shield.bmp" backColor="0x00000000"/>
</TranscendenceExtension>
I normally dont do this kinda stuff, sound fx are just about the only thing i'm good with.
I'm using a premade image I got off transcendence images and the most of the xml is from a ship I downloaded, but I just about everything except the armor.
the names of the images are. freighter2shield, freighter2ship, freighter2mask
ok, here it is
<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY unidExtension "0xD0623035">
<!ENTITY scArmoredFreighter "0xD0623036">
<!ENTITY itOmniTurbolaserCannon "0x00004112">
<!ENTITY itHeavyTitaniumPlate "0x00004062">
<!ENTITY itR1Deflector "0x000040FA">
<!ENTITY itHelium3FuelRod "0x0000403C">
<!ENTITY itLargeArmorPatch "0x0000406D">
<!ENTITY itAblativeArmorCoating "0x0000403E">
<!ENTITY itReactiveArmorCoating "0x00004042">
<!ENTITY itRegeneratingNanos "0x00004044">
<!ENTITY itEnhanceSRSROM "0x000040BC">
<!ENTITY itTargetingComputerROM "0x00004059">
<!ENTITY itEnhanceShieldsROM "0x00004048">
<!ENTITY rsfreighter2ship "0xD100V002">
<!ENTITY rsDriveExhaust "0x0000F10C">
<!ENTITY rsWolfenArmor "0x0000F00B">
<!ENTITY rsfreighter2shield "0xD200V003">
<!ENTITY rsZubrinReactor "0x0000F00C">
]>
<TranscendenceExtension UNID="&unidExtension;" version="0.96">
<!-- Armored Freighter -->
<ShipClass UNID="&scArmoredFreighter;"
manufacturer= "Vizth Ltd."
class= "Armored freighter"
type= "transport"
score= "150"
techOrder= "mech"
mass= "1500"
reactorPower= "1000"
fuelCapacity= "80000"
cargoSpace= "900"
thrust= "350"
maneuver= "3"
maxSpeed= "20"
maxArmor= "50000"
maxCargoSpace= "900"
cyberDefenseLevel= "10"
maxDevices= "20"
maxWeapons= "5"
leavesWreck= "100"
>
<Armor>
<ArmorSection start="330" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="150" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="90" span="60" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="30" span="60" armorID="&itHeavyTitaniumPlate;"/>
</Armor>
<Devices>
<Device deviceID="&itOmniTurbolaserCannon;"/>
<Device deviceID="&itR1Deflector;"/>
</Devices>
<Items>
<Item count="8d8" item="&itHelium3FuelRod;"/>
<Item count="3d4+2" item="&itLargeArmorPatch;"/>
<Table>
<Item chance="40" count="4" item="&itAblativeArmorCoating;"/>
<Item chance="40" count="4" item="&itReactiveArmorCoating;"/>
<Item chance="20" count="4" item="&itRegeneratingNanos;"/>
</Table>
<Table>
<Item chance="20" count="1" item="&itEnhanceSRSROM;"/>
<Item chance="60" count="1" item="&itTargetingComputerROM;"/>
<Item chance="20" count="1" item="&itEnhanceShieldsROM;"/>
</Table>
</Items>
<Image imageID="&rsFreighter2Ship;" imageX="0" imageY="0" imageWidth="312" imageHeight="312" imageFrameCount="0" imageTicksPerFrame="0"/>
<AISettings
fireRateAdj= "60"
fireAccuracy= "85"
perception= "8"
/>
<DriveImages>
<NozzleImage imageID="&rsDriveExhaust;" imageX="0" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
<NozzlePos x="-67" y="-10"/>
<NozzlePos x="-67" y="10"/>
</DriveImages>
<PlayerSettings
desc= "Armored freighter"
initialClass= "true">
<ArmorDisplay>
<ArmorSection name="forward" imageID="&rsWolfenArmor;" imageX="0" imageY="0" imageWidth="90" imageHeight="9" destX="23" destY="32" hpX="55" hpY="27" nameY="8" nameBreakWidth="360" nameDestX="12" nameDestY="0"/>
<ArmorSection name="starboard" imageID="&rsWolfenArmor;" imageX="90" imageY="0" imageWidth="9" imageHeight="56" destX="104" destY="41" hpX="98" hpY="60" nameY="30" nameBreakWidth="275" nameDestX="0" nameDestY="8"/>
<ArmorSection name="aft" imageID="&rsWolfenArmor;" imageX="99" imageY="0" imageWidth="90" imageHeight="9" destX="23" destY="97" hpX="55" hpY="97" nameY="74" nameBreakWidth="200" nameDestX="0" nameDestY="8"/>
<ArmorSection name="port" imageID="&rsWolfenArmor;" imageX="189" imageY="0" imageWidth="9" imageHeight="56" destX="23" destY="41" hpX="12" hpY="60" nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="8"/>
</ArmorDisplay>
<ShieldDisplay>
<Image imageID="&rsfreighter2shield;" imageX="0" imageY="0" imageWidth="136" imageHeight="136"/>
</ShieldDisplay>
<ReactorDisplay>
<Image imageID="&rsZubrinReactor;"
imageX="0" imageY="0" imageWidth="256" imageHeight="60"/>
<PowerLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="60" imageWidth="202" imageHeight="14"
destX="54" destY="9"/>
<FuelLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="74" imageWidth="194" imageHeight="14"
destX="54" destY="37"/>
<FuelLowLevelImage imageID="&rsZubrinReactor;"
imageX="0" imageY="88" imageWidth="194" imageHeight="14"/>
<ReactorText x="62" y="22" width="154" height="14"/>
<PowerLevelText x="62" y="0" width="154" height="9"/>
<FuelLevelText x="62" y="51" width="154" height="9"/>
</ReactorDisplay>
</PlayerSettings>
</ShipClass>
<Image UNID="&rsFreighter2Ship;" bitmap="freighter2ship.jpg" bitmask="freighter2mask.bmp" backColor="0x00000000"/>
<Image UNID="&rsFreighter2Shield;" bitmap="freighter2shield.bmp" backColor="0x00000000"/>
</TranscendenceExtension>
I normally dont do this kinda stuff, sound fx are just about the only thing i'm good with.
Last edited by Vizth on Mon Sep 04, 2006 5:13 am, edited 1 time in total.
The one thing that stands out from reading through your XML is that you have 6 armor segments, but only 4 shown in the armor display section. Those numbers need to match, I think. There's armor display for 4 segments and 8 segments, as well as higher ones in some of the ship mods that can give you the basis of the armor display. A good one is any playable xenophobe defender, because that has 8 armor segments.
- dvlenk6
- Militia Captain
- Posts: 519
- Joined: Sun Mar 05, 2006 6:56 am
- Location: Sanctuary and beyond
- Contact:
Something else that may or may not be causing problems is your UNIDS.
The extension UNID is 0xD0623035 but the ship resource UNID is 0xD100V002.
The designer ID (first four digits after 0x) should match. I'm not sure if it has been implemented in this version, but I have read that George was going to make that mandatory for extensions at some point.
The extension UNID is 0xD0623035 but the ship resource UNID is 0xD100V002.
The designer ID (first four digits after 0x) should match. I'm not sure if it has been implemented in this version, but I have read that George was going to make that mandatory for extensions at some point.