Debug station?

Freeform discussion about anything related to modding Transcendence.
Post Reply
regroch
Anarchist
Anarchist
Posts: 17
Joined: Sun Dec 30, 2007 5:13 am
Location: Behind you breathing heavily

Looking through the code in Transcendence.tdb, I found a large section of code for a station called "debug station" it has pretty much all the items to buy, and something called a "magic wand" that makes your fleet level 4, xp 1500, gives insurance, 3000 black market xp and level 5, resets the crime record, korolov rank 1, and 100000 rins. All I really want is the crime record reset, but I can live with the other stuff :D How can I make either the station appear, or make a mod to have the magic wand?

Code: Select all

</StationType>

<!-- Debug Depot -->

<StationType UNID="&stDebugDepot;"
		name=				"(debug depot)"
		sovereign=			"&svIndependent;"
		dockScreen=			"Main"
		dockingPorts=		"4"
		scale=				"ship"
		mobile=				"true"
		noMapIcon=			"true"
		mass=				"2500"
		>
	<Image shipwreckID="&scMikeno;"/>

	<Items>
		<Item count="1"	  item="&itSRSDamageROM;"/>
		<Item count="7"   item="&itAblativeArmorCoating;"/>
		<Item count="8"   item="&itCarbonWeaverNanos;"/>
		<Item count="9"   item="&itDegeneratingNanos;"/>
		<Item count="10"  item="&itReflectiveArmorCoating;"/>
		<Item count="11"  item="&itRegeneratingNanos;"/>
		<Item count="12"  item="&itReactiveArmorCoating;"/>
		<Item count="13"  item="&itLargeArmorPatch;"/>
		<Item count="4d6" item="&itSystemMapROM;"/>
		<Item count="100" item="&itPlatinumOre;"/>
		<Item count="4"   item="&itSuperconductingCoil;"/>
		<Item count="4"   item="&itDeconGel;"/>
		<Item count="4"   item="&itHeartAndLungsProsthesis;"/>
		<Item count="4"   item="&itMartianNori;"/>
		<Item count="1"   item="&itBlackMarketID;"/>
		<Item count="1"   item="&itMilitaryID;"/>
		<Item count="1"   item="&itTargetingComputerROM;"/>
		<Item count="3"   item="&itRowenaVol2;"/>
		<Item count="7"   item="&itIonUpgrade;"/>
		<Item count="13"  item="&itWeaponSpeedROM;"/>
		<Item count="8"	  item="&itMnemonicProcessor;"/>
		<Item count="30"  item="&itSlaveCoffin;"/>
		<Item count="1"	  item="&itGemOfContrition;"/>
		<Item count="1"	  item="&itAmmoBoxAkan30;"/>
		<Item count="3"	  item="&itAmmoBoxParalysis;"/>
		<Item count="108" item="&itAmmoBoxContraband;"/>
		<Item count="1"	  item="&itPromethiumCrystal;"/>
		<Item count="100" item="&itHeliotropeFuel;"/>
		<Item count="11"  item="&itEnhanceShieldsROM;"/>
		<Item count="16"  item="&itDiamondCrystal;"/>
		<Item count="17"  item="&itYellowEtheriumCrystal;"/>
		<Item count="18"  item="&itBlueEtheriumCrystal;"/>
		<Item count="19"  item="&itGreenEtheriumCrystal;"/>
		<Item count="20"  item="&itDecayedEtheriumCrystal;"/>
		<Item count="21"  item="&itMolbidiumCrystal;"/>
		<Item count="3"   item="&itShieldOptimizer;"/>
		<Item count="20"  item="&itDefectiveShieldOptimizer;"/>
		<Item count="6"   item="&itShieldPowerSaver;"/>
		<Item count="15"  item="&itParticleResistCoating;"/>
		<Item count="16"  item="&itRadiationImmuneCoating;"/>
		<Item count="17"  item="&itEMPImmuneCoating;"/>
		<Item count="18"  item="&itIonResistCoating;"/>
		<Item count="19"  item="&itShieldInterfereCoating;"/>
		<Item count="20"  item="&itIonEffectImmuneCoating;"/>
		<Item count="21"  item="&itThermoResistCoating;"/>
		<Item count="1"   item="&itPortableAutodoc;"/>
		<Item count="4"   item="&itHypermycin;"/>
		<Item count="22"  item="&itCarbonWeaver2Coating;"/>
		<Item count="37"  item="&itRadioactiveWaste;"/>
		<Item count="4"   item="&itLongzhuSphere;"/>
		<Item count="7"   item="&itMilitaryMapROM;"/>
		<Item count="4"   item="&itP120HexphaseArmor;"/>
		<Item count="4"   item="&itP210HexphaseArmor;"/>
		<Item count="4"   item="&itP1000HexphaseArmor;"/>
		
		<Item count="10"  item="&itHeliumAssembly;"/>
		
		<Item count="4"   item="&itSolarArmor;"/>
		<Item count="4"   item="&itHardenedPlasteelPlate;"/>
		<Item count="4"	  item="&itCarbideCarapace;"/>
		<Item count="4"	  item="&itReinforcedTitanium1;"/>
		<Item count="4"	  item="&itV10PoweredArmor;"/>
		<Item count="4"	  item="&itDwargHolochroalArmor;"/>
		
		<Item count="1"   item="&itGaianDemolitionCannon;"/>
		<Item count="1"   item="&itStarCannon;"/>
		<Item count="1"   item="&itAresArchcannon;"/>
		<Item count="1"   item="&itNAMIMissileLauncher;"/>
		<Item count="1"   item="&itRasiermesserLauncher;"/>
		<Item count="3"	  item="&itSmartCannon;" damaged="100"/>
		<Item count="1"	  item="&itSlamCannon;"/>
		<Item count="1"	  item="&itAdvancedTritiumCannon;"/>
		<Item count="1"	  item="&itIonFlameCannon;"/>
		<Item count="1"	  item="&itOmniTeV9Blaster;"/>
		<Item count="1"	  item="&itFusionfireHowitzer;"/>
		<Item count="1"	  item="&itNAMIMineLauncher;"/>
		<Item count="1"	  item="&itDisposableLauncher;"/>
		<Item count="1"	  item="&itTM7Cannon;"/>
		<Item count="1"	  item="&itIM90Blaster;"/>
		<Item count="1"	  item="&itMicronukeCannon;"/>
		<Item count="1"	  item="&itKilotonCannon;"/>
		<Item count="1"	  item="&itAkan30Cannon;"/>
		<Item count="1"	  item="&itMarkIHowitzer;"/>
		<Item count="1"	  item="&itMarkIIIHowitzer;"/>
		<Item count="1"	  item="&itMarkVHowitzer;"/>
		
		<Item count="3d6" item="&itKM100Missile;"/>
		<Item count="3d6" item="&itKM500Missile;"/>
		<Item count="3d6" item="&itXM900Missile;"/>
		<Item count="100" item="&itFragmentationMissile;"/>
		<Item count="100" item="&itStrelkaBlack;"/>
		<Item count="12d12" item="&itSmartCannonShell;"/>
		<Item count="12d12" item="&itStaticMine;"/>
		<Item count="12d12" item="&itTrackingMine;"/>
		<Item count="12d12" item="&itTM7Warhead;"/>
		<Item count="12d12" item="&itMicronuke;"/>
		<Item count="12d12" item="&itKilotonCannonShell;"/>
		<Item count="12d12" item="&itAkan30CannonShell;"/>
		
		<Item count="1"   item="&itSuperconductingShields;"/>
		<Item count="1"   item="&itClass2Deflector;"/>
		<Item count="1"	  item="&itYoroiS500;"/>
		<Item count="1"	  item="&itInvincibleDeflector;"/>
		<Item count="1"	  item="&itIonReflector;"/>
		<Item count="1"	  item="&itJotunDeflector;"/>
		<Item count="1"	  item="&itNephrenX1;"/>
		<Item count="1"	  item="&itLazarusShieldGenerator;"/>
		
		<Item count="1"   item="&itTritiumPropulsionUpgrade;"/>
		<Item count="1"   item="&itSmugglersCargoHold;"/>
		<Item count="1"	  item="&itLaserEnhancer;"/>
		<Item count="2"	  item="&it100MWReactor;"/>
		<Item count="1"	  item="&it250MWReactor;"/>
		
		<Item count="10"  item="&itGemOfDespair;"/>
		<Item count="10"  item="&itAutoSentinel;"/>
	</Items>
		
	<DockScreens>
		<Main
			name=			"=(objGetName gSource)"
			>
			
			<Panes>
				<Default
						desc=		"You are docked at the lifeless ruins of a destroyed station. Wrecked machinery and smoldering bodies litter the silent, cavernous bay.">

					<Actions>
						<Action name="Loot" imageID="&rsItemListScreen;" imageIndex="1" key="L" default="1" >
							(block Nil
								(setq gPrevScreen "Main")
								(scrShowScreen gScreen "&dsLoot;")
								)
						</Action>

						<Action name="Jettison" imageID="&rsItemListScreen;" imageIndex="1" key="J">
							(block Nil
								(setq gPrevScreen "Main")
								(scrShowScreen gScreen "&dsJettison;")
								)
						</Action>
							
						<Action name="Magic Wand" key="M">
							(block Nil
								; Set fleet level
								(objSetData gPlayerShip "fleetXP" 1500)
								(objSetData gPlayerShip "fleetLevel" 4)
								(objSetData gPlayerShip "fleetTFSuccess" 1)
								(objSetData gPlayerShip "fleetTFFailure" 0)
								
								; Give the player insurance
								(plyInsure gPlayer)
								
								; Black market level
								(objSetData gPlayerShip "blackMarketXP" 3000)
								(objSetData gPlayerShip "blackMarketLevel" 5)
								
								; Clear the player's record
								(objSetData gPlayerShip "commonCrime" Nil)
								(objSetData gPlayerShip "commonCrimeSeverity" Nil)
								
								; Korolov
								(objSetData gPlayerShip "korolovRank" 1)
								
								; Rins
								(objSetData gPlayerShip "rins" 100000)
								
								(scrShowPane gScreen "MagicWandDone")
								)
						</Action>

						<Action name="Undock" imageID="&rsItemListScreen;" imageIndex="0" cancel="1" key="U">
							<Exit/>
						</Action>

					</Actions>
				</Default>

				<MagicWandDone desc="Magic wand has done its work.">
					<Actions>
						<Action name="Continue" default="1" cancel="1" key="C">
							<ShowPane pane="Default"/>
						</Action>
					</Actions>
				</MagicWandDone>
			</Panes>

		</Main>
	</DockScreens>

</StationType>
Thats all of it. Quick question as well, why wont the black market let me buy anything one game and then not the next? is it ship class or what? I havent even killed anything yet and they wont let me in.[/code]
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

The easiest way is to start the game in debug mode, I think.

Look a little higher in the Transcendence.xml and find ssStartonEridani. I believe the debug station is in the code there:

Code: Select all

							<Orbitals debugOnly="true" distance="6" scale="light-second" angle="random">
								<Station type="&stDebugDepot;"/>
							</Orbitals>
Take out the debugOnly="true", maybe.
regroch
Anarchist
Anarchist
Posts: 17
Joined: Sun Dec 30, 2007 5:13 am
Location: Behind you breathing heavily

How do I start it in debug mode? is there a special switch?
How do I edit the .tdb file without making it so it cant boot the game?
Last edited by regroch on Thu Jan 03, 2008 5:48 am, edited 1 time in total.
OddBob
Militia Captain
Militia Captain
Posts: 505
Joined: Sun Mar 05, 2006 6:05 pm

You have to start it with "/debug" - add that to a shortcut is the easiest way - you can toggle it in game, the debug icon is by the gender select and music toggle. It used to give you an uber-ship as well but I don't know what happened top that. You can still mod it in though (debug only as well).
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

there is no longer a "debug" ship but that station has everything you would ever want.
Crying is not a proper retort!
regroch
Anarchist
Anarchist
Posts: 17
Joined: Sun Dec 30, 2007 5:13 am
Location: Behind you breathing heavily

What forum do I ask about modding? Ive got all the resources (I think) I tried using a mod and modding that mod, ive got all the stats in the right place, but they wont work for some reason :S Is there a switch for adding them or what? Heres the code, is there a flaw? Also, what program should i be using to save it? XML notepad keeps finding errors, so I try and edit it in notepad.

Code: Select all

<xml version="1.0" >
<DOCTYPE TranscendenceExtension

	<!ENTITY itDualFlenserCannon			"0x0000400E">
	<!ENTITY itR5Deflector    			"0x00004036">
	<!ENTITY itHelium3FuelRod			"0x0000403C">
	<!ENTITY rsZubrinShields			"0x0000F004">
	<!ENTITY rsZubrinArmor				"0x0000F005">
	<!ENTITY rsZubrinReactor			"0x0000F00C">
	<!ENTITY rsDriveExhaust				"0x0000F10C">
	<!ENTITY rsItems1			        "0x0000F11D">
	<!ENTITY unidExtension				"0xDFFF0000">
	<!ENTITY unidMerovianArmor			"0xDFFF0100">
	<!ENTITY unidFireflyClass			"0xDFFF0200">
	
<TranscendenceExtension UNID="&unidExtension;" version="0.98">
	<ShipClass UNID="&scPMNWolfen2;  
			manufacturer=		        "Slayer"
			class=				"FireFly"
			type=				"Wolfen"
			score=				"500"
			techOrder=			"biomech"
			
			mass=				"25"
			reactorPower=			"10000"
			fuelEfficiency=	                "5"
			maxFuel=		        "120000"
			minFuelTech=	                "1"
			maxFuelTech=            	"5"

			cargoSpace=			"800"
			thrust=				"350"
			maneuver=			"2"
			maxSpeed=			"40"

			maxArmor=			"20000"
			maxCargoSpace=		        "900"
			maxDevices=			"30"
			maxWeapons=			"4"
			
			leavesWreck=		"99"
			>
		<Armor>
			<ArmorSection start="315" span="90" armorID="&itV10PoweredArmor;" areaSet="0,2" />
			<ArmorSection start="225" span="90" armorID="&itV10PoweredArmor;" areaSet="3,4" />
			<ArmorSection start="135" span="90" armorID="&itV10PoweredArmor;" areaSet="1,6" />
			<ArmorSection start="45"  span="90" armorID="&itV10PoweredArmor;" areaSet="7,13" />
		</Armor>

		<Devices>
                        <Device deviceID="&itDualFlenserCannon;" omnidirectional="true"/>
			<Device deviceID="&it1GWReactor;"/>
			<Device deviceID="&itR5Deflector;"/>
			<Device deviceID="&itSmugglersCargoHold;"/>

		</Devices>

		<Items>
			<Item count="6" item="&itPMNInfo;"/>

			<Table>
				<Item chance="100" count="1" item="&itTargetingComputerROM;"/>
				<Item chance="100" count="1" item="&itWeaponSpeedROM;"/>
				<Item chance="100" count="1" item="&itEnhanceSRSROM;"/>
			</Table>

			<Table>
				<Item chance="100" count="1" item="&itPatchSpider;"/>
				<Item chance="100" count="1" item="&itLaserEnhancer;"/>
				<Item chance="100" count="3" item="&itDeconGel;"/>
			</Table>

			<Item count="5d2" item="&itSystemMapROM;"/>
		</Items>
                <AISettings
			fireRateAdj=		"120"
			fireAccuracy=		"99"
			perception=			"4"
			/>

		<Image imageID="&rsMediumShips1;" imageX="768" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>

		<DriveImages>
			<NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
			<NozzlePos x="-41" y="-8"/>
			<NozzlePos x="-41" y="0"/>
			<NozzlePos x="-41" y="8"/>
		</DriveImages>

		<PlayerSettings 
                        desc="The Wolfen 2 is a powerful ship designed by The Slayer Organization." largeImage="&rsWolfenLarge;" 
                        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>

	<ItemType UNID="&itPMNInfo;" name="Slayer Info ROM" level="1" value="750" mass="1" frequency="notrandom" unknownType="&itUnknownROM;" modifiers="Info; MinorItem" description="This ROM stores information about the Slayer Wolfen 2 Gun Ship.">

		<Image imageID="&rsItems1;" imageX="192" imageY="96" imageWidth="96" imageHeight="96"/>

		<Invoke>
			(block Nil
				(plyMessage gPlayer "Reactor: 1GW Reactor, Weapon: Dual Flesner Cannon, Shield: R5 Deflector, Armor: V10 Powered Armor")
				(plyMessage gPlayer "Max Cargo Space: 900 Tons, Max Armor Weight: 15 Tons, Max Devices: 15, Max Non-Weapons: 12")
				(plyMessage gPlayer "Thrust: 350, Speed: 35, Maneuverability: 2")
				(plyMessage gPlayer "Slayer Wolfen 2 specs:")
				(itmSetKnown gItem)
			)
		</Invoke>
	</ItemType>
</TranscendenceExtension>

User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

This:

Code: Select all

<DOCTYPE TranscendenceExtension

   <!ENTITY itDualFlenserCannon         "0x0000400E">
   <!ENTITY itR5Deflector             "0x00004036">
   <!ENTITY itHelium3FuelRod         "0x0000403C">
   <!ENTITY rsZubrinShields         "0x0000F004">
   <!ENTITY rsZubrinArmor            "0x0000F005">
   <!ENTITY rsZubrinReactor         "0x0000F00C">
   <!ENTITY rsDriveExhaust            "0x0000F10C">
   <!ENTITY rsItems1                 "0x0000F11D">
   <!ENTITY unidExtension            "0xDFFF0000">
   <!ENTITY unidMerovianArmor         "0xDFFF0100">
   <!ENTITY unidFireflyClass         "0xDFFF0200">
    
is missing [ and ]> to close the <DOCTYPE tag:

Code: Select all

<DOCTYPE TranscendenceExtension
    [
   <!ENTITY itDualFlenserCannon         "0x0000400E">
   <!ENTITY itR5Deflector             "0x00004036">
   <!ENTITY itHelium3FuelRod         "0x0000403C">
   <!ENTITY rsZubrinShields         "0x0000F004">
   <!ENTITY rsZubrinArmor            "0x0000F005">
   <!ENTITY rsZubrinReactor         "0x0000F00C">
   <!ENTITY rsDriveExhaust            "0x0000F10C">
   <!ENTITY rsItems1                 "0x0000F11D">
   <!ENTITY unidExtension            "0xDFFF0000">
   <!ENTITY unidMerovianArmor         "0xDFFF0100">
   <!ENTITY unidFireflyClass         "0xDFFF0200">
   ]>
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
   [	
   <!ENTITY unidExtension            "0xD3330001">
   <!ENTITY scPMNWolfen2         "0xD3330100">
   <!ENTITY itPMNInfo		"0xD3333100">
   ]>
<TranscendenceExtension UNID="&unidExtension;" version="0.98">
   <ShipClass UNID="&scPMNWolfen2;" 
         manufacturer=              "Slayer"
         class=            "FireFly"
         type=            "Wolfen"
         score=            "500"
         techOrder=         "biomech"
         
         mass=            "25"
         reactorPower=         "10000"
         fuelEfficiency=                   "5"
         maxFuel=              "120000"
         minFuelTech=                   "1"
         maxFuelTech=               "5"

         cargoSpace=         "800"
         thrust=            "350"
         maneuver=         "2"
         maxSpeed=         "40"

         maxArmor=         "20000"
         maxCargoSpace=              "900"
         maxDevices=         "30"
         maxWeapons=         "4"
         
         leavesWreck=      "99"
         >
      <Armor>
         <ArmorSection start="315" span="90" armorID="&itV10PoweredArmor;" areaSet="0,2" />
         <ArmorSection start="225" span="90" armorID="&itV10PoweredArmor;" areaSet="3,4" />
         <ArmorSection start="135" span="90" armorID="&itV10PoweredArmor;" areaSet="1,6" />
         <ArmorSection start="45"  span="90" armorID="&itV10PoweredArmor;" areaSet="7,13" />
      </Armor>

      <Devices>
                        <Device deviceID="&itDualFlenserCannon;" omnidirectional="true"/>
         <Device deviceID="&it1GWReactor;"/>
         <Device deviceID="&itR5Deflector;"/>
         <Device deviceID="&itSmugglersCargoHold;"/>

      </Devices>

      <Items>
         <Item count="6" item="&itPMNInfo;"/>

         
            <Item chance="100" count="1" item="&itTargetingComputerROM;"/>
            <Item chance="100" count="1" item="&itWeaponSpeedROM;"/>
            <Item chance="100" count="1" item="&itEnhanceSRSROM;"/>
         

        
            <Item chance="100" count="1" item="&itPatchSpider;"/>
            <Item chance="100" count="1" item="&itLaserEnhancer;"/>
            <Item chance="100" count="3" item="&itDeconGel;"/>
         

         <Item count="5d2" item="&itSystemMapROM;"/>
      </Items>
                <AISettings
         fireRateAdj=      "120"
         fireAccuracy=      "99"
         perception=         "4"
         />

      <Image imageID="&rsMediumShips1;" imageX="768" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>

      <DriveImages>
         <NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
         <NozzlePos x="-41" y="-8"/>
         <NozzlePos x="-41" y="0"/>
         <NozzlePos x="-41" y="8"/>
      </DriveImages>

      <PlayerSettings
                        desc="The Wolfen 2 is a powerful ship designed by The Slayer Organization." largeImage="&rsWolfenLarge;"
                        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>

   <ItemType UNID="&itPMNInfo;" name="Slayer Info ROM" level="1" value="750" mass="1" frequency="notrandom" unknownType="&itUnknownROM;" modifiers="Info; MinorItem" description="This ROM stores information about the Slayer Wolfen 2 Gun Ship.">

      <Image imageID="&rsItems1;" imageX="192" imageY="96" imageWidth="96" imageHeight="96"/>

      <Invoke>
         (block Nil
            (plyMessage gPlayer "Reactor: 1GW Reactor, Weapon: Dual Flesner Cannon, Shield: R5 Deflector, Armor: V10 Powered Armor")
            (plyMessage gPlayer "Max Cargo Space: 900 Tons, Max Armor Weight: 15 Tons, Max Devices: 15, Max Non-Weapons: 12")
            (plyMessage gPlayer "Thrust: 350, Speed: 35, Maneuverability: 2")
            (plyMessage gPlayer "Slayer Wolfen 2 specs:")
            (itmSetKnown gItem)
         )
      </Invoke>
   </ItemType>
</TranscendenceExtension> 
The only thing really wrong was the part

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
   [	
   <!ENTITY unidExtension            "0xD3330001">
   <!ENTITY scPMNWolfen2         "0xD3330100">
   <!ENTITY itPMNInfo		"0xD3333100">
   ]>
Every new thing you create needs to be in there and nothing else needed to be in there. It must be in this format. There was a missing " after
ShipClass UNID="&scPMNWolfen2; but that is a minor issue.

One thing to remember while this is like xml this has a couple of differences.

If you have any other questions feel free to ask.

edit: I see Periculi posted too but don't forget that you need <?xml version="1.0" ?> and anything new you create to be an entity.
Crying is not a proper retort!
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

How come when I'm in debug more and I uncomment and enable all that stuff. Only half of it ever shows? Even after restarting?
Image
Image
Post Reply