Can anyone point out anything I did wrong?<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY scCorporateCruiser "0xD0C47036">
]>
<TranscendenceExtension UNID="0xD0C47036" version="0.97">
<!-- Playable CorporateCruiser -->
<ShipClass UNID="&scCorporateCruiserPlayer;"
manufacturer= "Corporate"
class= ""
type= "cruiser"
score= "2160"
techOrder= "mech"
mass= "25000"
reactorPower= "7000"
fuelCapacity= "65000"
cargoSpace= "15000"
thrust= "10000"
maneuver= "6"
maxSpeed= "24"
maxDevices= "18"
maxCargoSpace= "16000"
cyberDefenseLevel= "6"
leavesWreck= "100"
>
<Armor>
<ArmorSection start="345" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="330" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="315" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="300" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="285" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="270" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="255" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="240" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="225" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="210" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="195" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="180" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="165" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="150" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="135" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="120" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="105" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="90" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="75" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="60" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="45" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="30" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="15" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="0" span="15" armorID="&itQuadroCarbideArmor;" />
</Armor>
<Devices>
<Device deviceID="&itRasiermesserLauncher;" secondaryWeapon="true" minFireArc="340" maxFireArc="200" posAngle="120" posRadius="60"/>
<Device deviceID="&itRasiermesserLauncher;" secondaryWeapon="true" minFireArc="160" maxFireArc="20" posAngle="240" posRadius="60"/>
<Device deviceID="&itPlasmaShieldGenerator;"/>
</Devices>
<Image imageID="&rsLargeShips1;" imageX="576" imageY="0" imageWidth="192" imageHeight="192" imageFrameCount="0" imageTicksPerFrame="0"/>
<Items>
<Item count="40d20" item="&itGotha10Missile;"/>
<Item count="2d12" item="&itPteracniumFuelRod;"/>
</Items>
<Image imageID="&rsLargeShips1;" imageX="960" imageY="0" imageWidth="192" imageHeight="192" imageFrameCount="0" imageTicksPerFrame="0"/>
<AISettings
fireRateAdj= "35"
fireAccuracy= "90"
perception= "6"
combatStyle= "standOff"
/>
<PlayerSettings
desc= "This ship is a playable version of the Corporate Cruiser."
initialClass= "true">
<ArmorDisplay>
<ArmorSection name="forward"
imageID="&rsWolfenArmor;"
imageX="0" imageY="0" imageWidth="52" imageHeight="15"
destX="42" destY="19" hpX="55" hpY="18"
nameY="8" nameBreakWidth="200" nameDestX="0" nameDestY="10" />
<ArmorSection name="starboard"
imageID="&rsWolfenArmor;"
imageX="75" imageY="0" imageWidth="23" imageHeight="69"
destX="94" destY="34" hpX="97" hpY="60"
nameY="30" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
<ArmorSection name="port"
imageID="&rsWolfenArmor;"
imageX="52" imageY="0" imageWidth="23" imageHeight="69"
destX="19" destY="34" hpX="13" hpY="60"
nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="8" />
<ArmorSection name="aft"
imageID="&rsWolfenArmor;"
imageX="0" imageY="75" imageWidth="52" imageHeight="16"
destX="42" destY="103" hpX="55" hpY="107"
nameY="74" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
</ArmorDisplay>
<ShieldDisplay>
<Image imageID="&rsWolfenShields;" 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>
</TranscendenceExtension>
Corporate Cruiser
I have made, -and copied some parts from other extensions- a Corporate Cruise. I keep getting error at line 13.
- Arisaya
- Fleet Admiral
- Posts: 5535
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
you need to change the extension.Hades wrote:It says extension UNID d0c47036 already loaded.
<!ENTITY scCorporateCruiserPlayer "0xE(your hex ID here)">
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
itGotha400SeekerHades wrote:Okay I got it to work, but what is the resource name for the Rasier messer Missile?
and
itGotha10Missile
both are compatible, but make sure you have either a military id or smuggler cargo hold else your military grade missiles will be confiscated.
Got it working!
Just to be sure, does anything need fixing now?<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY scCorporateCruiserplayer "0xD0C47604">
]>
<TranscendenceExtension UNID="0xD0C47604" version="0.98d">
<!-- Playable CorporateCruiser -->
<ShipClass UNID="&scCorporateCruiserPlayer;"
manufacturer= "Corporate"
class= ""
type= "cruiser"
score= "2160"
techOrder= "mech"
mass= "8000"
reactorPower= "7000"
fuelCapacity= "65000"
cargoSpace= "1000"
thrust= "5000"
maneuver= "12"
maxSpeed= "20"
maxDevices= "18"
maxCargoSpace= "1100"
cyberDefenseLevel= "8"
leavesWreck= "100"
>
<Armor>
<ArmorSection start="345" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="330" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="315" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="300" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="285" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="270" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="255" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="240" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="225" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="210" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="195" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="180" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="165" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="150" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="135" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="120" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="105" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="90" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="75" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="60" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="45" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="30" span="15" armorID="&itQuadroCarbideArmor;" nonCritical="general"/>
<ArmorSection start="15" span="15" armorID="&itQuadroCarbideArmor;" />
<ArmorSection start="0" span="15" armorID="&itQuadroCarbideArmor;" />
</Armor>
<Devices>
<Device deviceID="&itPlasmaCannon;" omnidirectional="true"/>
<Device deviceID="&itRasiermesserLauncher;" secondaryWeapon="true" minFireArc="340" maxFireArc="200" posAngle="120" posRadius="60"/>
<Device deviceID="&itRasiermesserLauncher;" secondaryWeapon="true" minFireArc="160" maxFireArc="20" posAngle="240" posRadius="60"/>
<Device deviceID="&itPlasmaShieldGenerator;"/>
</Devices>
<Image imageID="&rsLargeShips1;" imageX="576" imageY="0" imageWidth="192" imageHeight="192" imageFrameCount="0" imageTicksPerFrame="0"/>
<Items>
<Item count="1" item="&itTargetingComputerROM;"/>
<Item count="1" item="&itMilitaryID;"/>
<Item count="40d20" item="&itGotha10Missile;"/>
<Item count="2d12" item="&itPteracniumFuelRod;"/>
</Items>
<Image imageID="&rsLargeShips1;" imageX="960" imageY="0" imageWidth="192" imageHeight="192" imageFrameCount="0" imageTicksPerFrame="0"/>
<AISettings
fireRateAdj= "35"
fireAccuracy= "90"
perception= "6"
combatStyle= "standOff"
/>
<PlayerSettings
desc= "This ship is a playable version of the Corporate Cruiser."
initialClass= "true">
<ArmorDisplay>
<ArmorSection name="forward"
imageID="&rsWolfenArmor;"
imageX="0" imageY="0" imageWidth="52" imageHeight="15"
destX="42" destY="19" hpX="55" hpY="18"
nameY="8" nameBreakWidth="200" nameDestX="0" nameDestY="10" />
<ArmorSection name="starboard"
imageID="&rsWolfenArmor;"
imageX="75" imageY="0" imageWidth="23" imageHeight="69"
destX="94" destY="34" hpX="97" hpY="60"
nameY="30" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
<ArmorSection name="port"
imageID="&rsWolfenArmor;"
imageX="52" imageY="0" imageWidth="23" imageHeight="69"
destX="19" destY="34" hpX="13" hpY="60"
nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="8" />
<ArmorSection name="aft"
imageID="&rsWolfenArmor;"
imageX="0" imageY="75" imageWidth="52" imageHeight="16"
destX="42" destY="103" hpX="55" hpY="107"
nameY="74" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
</ArmorDisplay>
<ShieldDisplay>
<Image imageID="&rsWolfenShields;" 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>
</TranscendenceExtension>
Yes.
you need WAY more fuel capacity- fuel drops like flies in a tornado...
remove the secondaryWeapon="true" from the launchers or you cannot shoot them, also only one launcher is allowed for a player ship, you have two.
you have many armor segments, but only four are shown, you don't have to, but i'd recommend you either reduce the number of armor segments and or increase the number shown on the HUD
you need WAY more fuel capacity- fuel drops like flies in a tornado...
remove the secondaryWeapon="true" from the launchers or you cannot shoot them, also only one launcher is allowed for a player ship, you have two.
you have many armor segments, but only four are shown, you don't have to, but i'd recommend you either reduce the number of armor segments and or increase the number shown on the HUD
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
really ? you still have two identical UNID:
Code: Select all
<!ENTITY scCorporateCruiserplayer "0xD0C47604">
]>
<TranscendenceExtension UNID="0xD0C47604" version="0.98d">
- Arisaya
- Fleet Admiral
- Posts: 5535
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
how do you show more? don't you need a bitmap or image? or can it be code-specified?Bobby wrote:Yes.
you need WAY more fuel capacity- fuel drops like flies in a tornado...
remove the secondaryWeapon="true" from the launchers or you cannot shoot them, also only one launcher is allowed for a player ship, you have two.
you have many armor segments, but only four are shown, you don't have to, but i'd recommend you either reduce the number of armor segments and or increase the number shown on the HUD
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Should I put a download for it now?Bobby wrote:Yes.
you need WAY more fuel capacity- fuel drops like flies in a tornado...
Done
remove the secondaryWeapon="true" from the launchers or you cannot shoot them, also only one launcher is allowed for a player ship, you have two.
Done
you have many armor segments, but only four are shown, you don't have to, but i'd recommend you either reduce the number of armor segments and or increase the number shown on the HUD
I reduced armor to 4.
I have played with it a bit and it has no noticeable errors.
it can be specified in code inside the <playersettings>? tag on your ship.Wolfy wrote: how do you show more? don't you need a bitmap or image? or can it be code-specified?
Code: Select all
<ArmorDisplay>
<ArmorSection name="forward"
imageID="&rsWolfenArmor;"
imageX="0" imageY="0" imageWidth="52" imageHeight="15"
destX="42" destY="19" hpX="55" hpY="18"
nameY="8" nameBreakWidth="200" nameDestX="0" nameDestY="10" />
<ArmorSection name="starboard"
imageID="&rsWolfenArmor;"
imageX="75" imageY="0" imageWidth="23" imageHeight="69"
destX="94" destY="34" hpX="97" hpY="60"
nameY="30" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
<ArmorSection name="port"
imageID="&rsWolfenArmor;"
imageX="52" imageY="0" imageWidth="23" imageHeight="69"
destX="19" destY="34" hpX="13" hpY="60"
nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="8" />
<ArmorSection name="aft"
imageID="&rsWolfenArmor;"
imageX="0" imageY="75" imageWidth="52" imageHeight="16"
destX="42" destY="103" hpX="55" hpY="107"
nameY="74" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
</ArmorDisplay>
using 0 for imagewidth and imageheight will effectively free up some room.
the things starting with name control the text of the name of the segments
image id, x, and y control the image the game uses for the little segment on the hud, dest x and y say where it will be
hp x and y i say where the text for each segment's hit points will go.
i haven't fiddled with armor displays in a while so that's just my best guess.