Modding Error

Freeform discussion about anything related to modding Transcendence.
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

I have indeed benn working on a carrier mod. And I also used Burzamali's code. But it still doesn't work. Something...like a "]" is needed, so something is missing a closing tag. Anyhow...here's my mod:

Code: Select all

 <?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
		[

	<!ENTITY itCarrierPlate			"0xE6660136">
	<!ENTITY itCarrierW1			"0xE6660137">
	<!ENTITY itCarrierW2			"0xE6660138">
	<!ENTITY itCarrierW3			"0xE6660139">
	<!ENTITY itCarrierW4			"0xE6660140">
	<!ENTITY itCarrierH			"0xE6660141">
	<!ENTITY itCarrierI			"0xE6660142">
	<!ENTITY itInterceptorArmour		"0xE6660143">
	<!ENTITY scPlayerCarrier		"0xE6660144">
	<!ENTITY scInterceptor			"0xE6660145">
	<!ENTITY scInterceptor1			"0xE6660146">
	<!ENTITY scDefendingCarrier		"0xE6660147">
	<!ENTITY scCarrierFleet			"0xE6660148">
	<!ENTITY rsSuperfreightership		"0xE6660149">
	<!ENTITY rsSuperfreighterShields	"0xE6660150">
	<!ENTITY rsWolfenArmor			"0x0000F00B">

]>

<TranscendenceExtension UNID="0xE6660136" version="0.97a">

<Image UNID="&rsSuperfreighterShip;" bitmap="superfreighter.jpg" bitmask="superfreightermask.bmp" backColor="0x00000000"/>
<Image UNID="&rsSuperfreighterShields;" bitmap="superfreightershield.bmp" backColor="0x00000000"/>


<!-- Hangar -->

	<ItemType UNID="&itCarrierI;"
			name=				"GnS Intercepter (L) Bay"
			level=				"10"
			value=				"0"
			mass=				"501000"
			frequency=			"notrandom"
			modifiers=			"MajorItem"

			description=		"A bay which deploys fighters to defend the main carrier ship."
			>

		<MiscellaneousDevice
				powerRating=		"50"
				capacitorPowerUse=	"50"
				powerToActivate=	"10"
				/>

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

		<Invoke installedOnly="true">

				(block (ship)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor1; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)
					)
				)
			)
					)
				)
			)
		</Invoke>

	</ItemType>
<!-- Hangar -->

	<ItemType UNID="&itCarrierH;"
			name=				"GnS Intercepter Bay"
			level=				"10"
			value=				"0"
			mass=				"501000"
			frequency=			"notrandom"
			modifiers=			"MajorItem"

			description=		"An enhanced version of the normal hangar, which requires less energy than the old hangar. When used, it launches 1 intercepter to help the main carrier."
			>

		<MiscellaneousDevice
				powerRating=		"50"
				capacitorPowerUse=	"50"
				powerToActivate=	"10"
				/>

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

		<Invoke installedOnly="true">

				(block (ship)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)

					(setq ship (sysCreateShip &scInterceptor; gPlayerShip &svCommonwealth; ))
					(shpOrderEscort ship gPlayerShip 15)
					)
				)
			)
					)
				)
			)
		</Invoke>

	</ItemType>
	<!-- Carrier Laser Cannon -->

	<ItemType UNID="&itCarrierW1;"
			name=				"Carrier ATA cannon"
			level=				"1"
			value=				"250"
			mass=				"1500"
			frequency=			"unique"
			modifiers=			"EnergyWeapon; MajorItem;GnSInd;"
			showReference=		"true"

			description=		"A weapon for the gigantic command ship. Due to most of the reactor power being used on fighters in the immense cargo bay, not a lot of energy is left for an efficent weapon."
			>

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

		<Weapon
				type=				"beam"

				damage=				"laser:2d3"
				fireRate=			"25"
				lifetime=			"45"
				powerUse=			"10"

				beamType=			"laser"
				primaryColor=		"0xff, 0x00, 0x00"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>
		</Weapon>

	</ItemType>
	<!-- Interceptor Plasma Cannon -->

	<ItemType UNID="&itCarrierW3;"
			name=				"Interceptor Plasma Cannon"
			level=				"2"
			value=				"250"
			mass=				"1500"
			frequency=			"unique"
			modifiers=			"EnergyWeapon; MajorItem;GnSInd;"
			showReference=		"true"

			description=		"A stronger weapon than the laser interceptor cannon."
			>

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

		<Weapon
				type=				"beam"

				damage=				"plasma:1d1"
				fireRate=			"1"
				lifetime=			"30"
				powerUse=			"0"
				configuration=			"dual"

				sound=				"&snShieldHit1;"
				>

			<Effect>
				<Image imageID="&rsMissiles4;" imageX="0" imageY="48" imageWidth="16" imageHeight="16" imageFrameCount="8" imageTicksPerFrame="1"/>
			</Effect>

		</Weapon>

	</ItemType>
	<!-- Interceptor Laser Cannon -->

	<ItemType UNID="&itCarrierW4;"
			name=				"Interceptor Laser Cannon"
			level=				"2"
			value=				"250"
			mass=				"1500"
			frequency=			"unique"
			modifiers=			"EnergyWeapon; MajorItem;GnSInd;"
			showReference=		"true"

			description=		"A stronger weapon than the laser interceptor cannon."
			>

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

		<Weapon
				type=				"beam"

				damage=				"laser:1d1"
				fireRate=			"1"
				lifetime=			"30"
				powerUse=			"0"
				configuration=			"dual"

				primaryColor=		"0xf1, 0x5f, 0x2a"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>


		</Weapon>

	</ItemType>
	<!-- Carrier Rocket -->

	<ItemType UNID="&itCarrierW2;"
			name=				"Carrier Rockets"
			level=				"4"
			value=				"500"
			mass=				"800"
			frequency=			"rare"
			modifiers=			"MajorItem;GnSInd;"


			description=		"A patheticly weak weapon for the GnS carrier as the energy is usually required for hangars and drives."
			>

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

		<Weapon
				type=				"missile"
				launcher=			"true"

				damage=				"blast:6d1; momentum3; WMD2"
				fireRate=			"30"
				lifetime=			"120"
				powerUse=			"2"

				directional=		"true"
				missileSpeed=		"100"
				sound=				"&snMissileLauncher;"
				>

			<Effect>
				<Image imageID="&rsMissiles2;" imageX="0" imageY="0" imageWidth="32" imageHeight="32" imageFrameCount="0" imageTicksPerFrame="0"/>
			</Effect>

		</Weapon>

		<Invoke>
			(intAutoInstall gSource gItem)
		</Invoke>
	</ItemType>

	<!-- Segment of Carrier Armor -->
	
	<ItemType UNID="&itCarrierPlate;"
			name=				"Segment of Carrier plate"
			level=				"10"
			value=				"18000"
			frequency=			"unique"
			numberAppearing=	"1d4"
			mass=				"2000"
			modifiers=			"MinorItem"

			description=		"A plate manufactured by GnS Industries for GnS carriers. It is very strong."

			firstPlural=		"true"
			sortName=			"carrier plate, segment of"
			>

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

		<Armor
				hitPoints=	"250"
				damageAdj=	" 25, 25,25, 150, 200,0,0,10, 25,25,250,100, 100,100,100,100"
				repairTech=	"5"
				repairCost=	"100"
				installCost="500"

				composition="metallic"
				/>

	</ItemType>
	<!-- Segment of Interceptor armour -->
	
	<ItemType UNID="&itInterceptorArmour;"
			name=				"Segment of Fighter armour"
			level=				"1"
			value=				"1800"
			frequency=			"unique"
			numberAppearing=	"1d4"
			mass=				"2000"
			modifiers=			"MinorItem"

			description=		"A plate manufactured by GnS Industries for GnS interceptors. It is very durable."

			firstPlural=		"true"
			sortName=			"GnS plate, segment of"
			>

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

		<Armor
				hitPoints=	"150"
				damageAdj=	" 25, 25,25, 25, 25,25,25,25, 25,25,25,25, 25,25,25,25"
				repairTech=	"5"
				repairCost=	"100"
				installCost="500"

				composition="metallic"
				/>

	</ItemType>

	<!-- GnS Interceptor -->
	
	<ShipClass UNID="&scInterceptor;"
			manufacturer=		"GnS Industries"
			class=				""
			type=				"GnS Interceptor"
			score=				"400"
			techOrder=			"mech"
			
			mass=				"5"
			cargoSpace=			"0"
			thrust=				"50"
			maneuver=			"1"
			maxSpeed=			"35"

			leavesWreck=		"0"
			>

		<Armor>
			<ArmorSection start="0" span="360" armorID="&itInterceptorArmour;" areaSet="0,2,3,7" />
		</Armor>

		<Devices>
			<Device deviceID="&itCarrierW3;"/>
		</Devices>

		<Image imageID="&rsSmallShips1;" imageX="128" imageY="0" imageWidth="32" imageHeight="32" imageFrameCount="0" imageTicksPerFrame="0"/>

		<AISettings
			fireRateAdj=		"30"
			fireAccuracy=		"70"
			perception=			"4"
			/>

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

	</ShipClass>
	<!-- GnS Interceptor -->
	
	<ShipClass UNID="&scInterceptor1;"
			manufacturer=		"GnS Industries"
			class=				""
			type=				"GnS Interceptor L"
			score=				"400"
			techOrder=			"mech"
			
			mass=				"5"
			cargoSpace=			"0"
			thrust=				"50"
			maneuver=			"1"
			maxSpeed=			"35"

			leavesWreck=		"0"
			>

		<Armor>
			<ArmorSection start="0" span="360" armorID="&itInterceptorArmour;" areaSet="0,2,3,7" />
		</Armor>

		<Devices>
			<Device deviceID="&itCarrierW4;"/>
		</Devices>

		<Image imageID="&rsSmallShips1;" imageX="128" imageY="0" imageWidth="32" imageHeight="32" imageFrameCount="0" imageTicksPerFrame="0"/>

		<AISettings
			fireRateAdj=		"1"
			fireAccuracy=		"100"
			perception=			"4"
			/>

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

	</ShipClass>

<!-- GnS Carrier -->

	<ShipClass UNID="&scPlayerCarrier;"
			manufacturer=		"GnS Industries"
			class=				"GnS"
			type=				"Carrier"
			score=				"1000"
			techOrder=			"biomech"
			
			mass=				"5000"
			reactorPower=		"5000"
			fuelCapacity=		"500000"
			cargoSpace=			"1000"
			thrust=				"100"
			maneuver=			"20"
			maxSpeed=			"10"

			maxArmor=			"1000000"
			maxCargoSpace=		"10000"
			maxDevices=			"300"
			
			CyberDefenseLevel=	"12"
			leavesWreck=		"100"
			>

		<Armor>
			<ArmorSection start="345" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="330" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="315" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="300" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="285" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="270" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="255" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="240" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="225" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="210" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="195" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="180" span="15" armorID="&itCarrierPlate;" />

			<ArmorSection start="165" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="150" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="135" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="120" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="105" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="90"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="75"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="60"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="45"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="30"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="15"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="0"   span="15" armorID="&itCarrierPlate;" />
		</Armor>

		<Devices>
			<Device deviceID="&itCarrierW1;"/>
			<Device deviceID="&itCarrierW2;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
		</Devices>

		<Items>
			<Item count="20d20" item="&itPteracniumFuelRod;"/>
		</Items>

		<AISettings
			fireRateAdj=		"30"
			fireAccuracy=		"90"
			perception=			"4"
			/>

		<Image imageID="&rsSuperfreighterShip;" imageX="0" imageY="0" imageWidth="220" imageHeight="220" imageFrameCount="0" imageTicksPerFrame="0"/>
		<DriveImages>
			<NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
			<NozzlePos x="-28" y="-4"/>
			<NozzlePos x="-28" y="5"/>
		</DriveImages>

		<PlayerSettings
			desc=				"A carrier ship made by GnS Industries as a multi-purpose ship, with it's humoungous amount of fighters stored in it's cargo."
			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="&rsSuperfreighterShields;" 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>

	<ShipClass UNID="&scDefendingCarrier;"
			manufacturer=		"GnS Industries"
			class=				"GnS"
			type=				"Carrier"
			score=				"1000"
			techOrder=			"biomech"
			
			mass=				"5000"
			reactorPower=		"5000"
			fuelCapacity=		"500000"
			cargoSpace=			"1000"
			thrust=				"100"
			maneuver=			"20"
			maxSpeed=			"10"

			maxArmor=			"1000000"
			maxCargoSpace=		"10000"
			maxDevices=			"300"
			
			CyberDefenseLevel=	"12"
			leavesWreck=		"100"
			>

		<Armor>
			<ArmorSection start="345" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="330" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="315" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="300" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="285" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="270" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="255" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="240" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="225" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="210" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="195" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="180" span="15" armorID="&itCarrierPlate;" />

			<ArmorSection start="165" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="150" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="135" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="120" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="105" span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="90"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="75"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="60"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="45"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="30"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="15"  span="15" armorID="&itCarrierPlate;" />
			<ArmorSection start="0"   span="15" armorID="&itCarrierPlate;" />
		</Armor>

		<Devices>
			<Device deviceID="&itCarrierW1;"/>
			<Device deviceID="&itCarrierW2;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierH;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
			<Device deviceID="&itCarrierI;"/>
		</Devices>

		<Items>
			<Item count="10d20" item="&itPteracniumFuelRod;"/>
		</Items>

		<AISettings
			fireRateAdj=		"30"
			fireAccuracy=		"90"
			perception=		"4"
			/>		
	<Events>
<onCreate>
  (block Nil
    (sysAddReoccurringTimerEvent 120 "onLaunch")
    (sysAddReoccurringTimerEvent 1800 "onReinforcement")
    (objSetData gSource "ships" 36)
    )
<\onCreate>

<onLaunch>
  (block Nil
    (if (and (objIsUnderAttack gSource) (geq (objGetData gSource "ships") 6)
      (block (i)
        (for i 0 5
          ('Create Ship)
          )
        (objIncData gSource "ships" -6)
      )
    )
	)
<\onLaunch>

<onReinforcement>
  (if (leq (objGetData gSource "ships") 34)
    (objIncData gSource "ships" 2)
  )
<\onReinforcement>
	</Events>

		<Image imageID="&rsSuperfreighterShip;" imageX="0" imageY="0" imageWidth="220" imageHeight="220" imageFrameCount="0" imageTicksPerFrame="0"/>
		<DriveImages>
			<NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
			<NozzlePos x="-28" y="-4"/>
			<NozzlePos x="-28" y="5"/>
		</DriveImages>


	</ShipClass>

	<!-- Carrier Fleet -->

	<StationType UNID="&stCarrierFleet;"
			name=				"(Xenophobe fleet)"
			scale=				"world"
			sovereign=			"&svIndependent;"
			controllingSovereign="&svDestructiveChaos;"
			imageVariants=		"8"

			ejectaType=			"&vtStoneAsteroidEjecta;"
			
			attributes=			"enemy,envFire,envAvoidsWater"
			levelFrequency=		"----v cuvv vvvvvv vvvvv vvvvv"
			locationCriteria=	"*"
			>

		<Image imageID="&rsWorlds1;" imageX="128" imageY="0" imageWidth="64" imageHeight="64" imageFrameCount="0" imageTicksPerFrame="0"/>

		<Ships>
			<Ship	count="1"	class="&scDefendingCarrier;" orders="wander" sovereign="&svDestructiveChaos;" >
				<Escorts>
					<Ship		count="1d2+1"	class="&scDefendingCarrier;"	orders="escort"/>
				</Escorts>
			</Ship>
		</Ships>

	</StationType>
</TranscendenceExtension>
I seriously don't see the problem. And yes, I do have my images.
>.<
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

why do you have so many ) at the end of your Invoke in itCarrierI?
Crying is not a proper retort!
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

Dunno. I just copied and pasted. Gee...i have very little understanding of that part. Maybe I should delete em?
>.<
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

goat not sheep wrote:Dunno. I just copied and pasted
From where? :?
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

Some fighter bay mod... involving ranx. I think it's your mod, yugi.
EDIT: So do I erase them or what?
>.<
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

match ( and ) in the invoke
they need to be equal numbers (I would guess del them but can't promise that would work)
Last edited by Betelgeuse on Wed Feb 28, 2007 9:42 pm, edited 1 time in total.
Crying is not a proper retort!
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

A yes, I loved that mod :) I made loads of versions of it. I onced used it at the Iocrym to summon 300 reinforcements for myself (I still died :?)

EDIT: I don't know.
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

Betelgeuse wrote:match ( and ) in the invoke
they need to be equal numbers (I would guess del them but can't promise that would work)
Hmm...ther's 5 extra brackets...I'll delete em i guess. Then I'll see what happens.
EDIT: same error message.
>.<
Burzmali
Militia Commander
Militia Commander
Posts: 395
Joined: Tue Aug 15, 2006 12:14 am

There is the shipclass with the ship creation part corrected, I think.

Code: Select all

  <ShipClass UNID="&scDefendingCarrier;"
         manufacturer=      "GnS Industries"
         class=            "GnS"
         type=            "Carrier"
         score=            "1000"
         techOrder=         "biomech"
         
         mass=            "5000"
         reactorPower=      "5000"
         fuelCapacity=      "500000"
         cargoSpace=         "1000"
         thrust=            "100"
         maneuver=         "20"
         maxSpeed=         "10"

         maxArmor=         "1000000"
         maxCargoSpace=      "10000"
         maxDevices=         "300"
         
         CyberDefenseLevel=   "12"
         leavesWreck=      "100"
         >

      <Armor>
         <ArmorSection start="345" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="330" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="315" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="300" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="285" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="270" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="255" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="240" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="225" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="210" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="195" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="180" span="15" armorID="&itCarrierPlate;" />

         <ArmorSection start="165" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="150" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="135" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="120" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="105" span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="90"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="75"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="60"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="45"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="30"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="15"  span="15" armorID="&itCarrierPlate;" />
         <ArmorSection start="0"   span="15" armorID="&itCarrierPlate;" />
      </Armor>

      <Devices>
         <Device deviceID="&itCarrierW1;"/>
         <Device deviceID="&itCarrierW2;"/>
         <Device deviceID="&itCarrierH;"/>
         <Device deviceID="&itCarrierH;"/>
         <Device deviceID="&itCarrierH;"/>
         <Device deviceID="&itCarrierH;"/>
         <Device deviceID="&itCarrierH;"/>
         <Device deviceID="&itCarrierI;"/>
         <Device deviceID="&itCarrierI;"/>
         <Device deviceID="&itCarrierI;"/>
         <Device deviceID="&itCarrierI;"/>
         <Device deviceID="&itCarrierI;"/>
      </Devices>

      <Items>
         <Item count="10d20" item="&itPteracniumFuelRod;"/>
      </Items>

      <AISettings
         fireRateAdj=      "30"
         fireAccuracy=      "90"
         perception=      "4"
         />      
   <Events>
<onCreate>
  (block Nil
    (sysAddReoccurringTimerEvent 120 "onLaunch")
    (sysAddReoccurringTimerEvent 1800 "onReinforcement")
    (objSetData gSource "ships" 36)
    )
<\onCreate>

<onLaunch>
  (block Nil
    (if (and (objIsUnderAttack gSource) (geq (objGetData gSource "ships") 6)
      (block (i)
        (for i 0 5
          (block (ship)
               (setq ship (sysCreateShip &scInterceptor1; gSource &svCommonwealth;))
               (shpOrderEscort ship gPlayerShip 15)
          )
        (objIncData gSource "ships" -6)
      )
    )
   )
<\onLaunch>

<onReinforcement>
  (if (leq (objGetData gSource "ships") 34)
    (objIncData gSource "ships" 2)
  )
<\onReinforcement>
   </Events>

      <Image imageID="&rsSuperfreighterShip;" imageX="0" imageY="0" imageWidth="220" imageHeight="220" imageFrameCount="0" imageTicksPerFrame="0"/>
      <DriveImages>
         <NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
         <NozzlePos x="-28" y="-4"/>
         <NozzlePos x="-28" y="5"/>
      </DriveImages>


   </ShipClass>
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

There was a problem with that part? The ship AI?
EDIT: still the same error message. Needs a "]" at line 640 or something.
>.<
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

So...nobody found out any new error?
>.<
Burzmali
Militia Commander
Militia Commander
Posts: 395
Joined: Tue Aug 15, 2006 12:14 am

Try breaking them into individual extensions where possible. That should isolate the problem.
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Code: Select all

 <\onCreate> 

<onLaunch> 
  (block Nil 
    (if (and (objIsUnderAttack gSource) (geq (objGetData gSource "ships") 6) 
      (block (i) 
        (for i 0 5 
          (block (ship) 
               (setq ship (sysCreateShip &scInterceptor1; gSource &svCommonwealth;)) 
               (shpOrderEscort ship gPlayerShip 15) 
          ) 
        (objIncData gSource "ships" -6) 
      ) 
    ) 
   ) 
<\onLaunch> 

<onReinforcement> 
  (if (leq (objGetData gSource "ships") 34) 
    (objIncData gSource "ships" 2) 
  ) 
<\onReinforcement> 
There's your problem. Some slashes are wrong. Close tags should use "/" instead of "\".

In other words, <\onCreate> should be </onCreate> etc...
User avatar
goat not sheep
Militia Captain
Militia Captain
Posts: 669
Joined: Fri May 19, 2006 8:36 pm
Location: ...
Contact:

Hmm...now something's wrong with the weapon discriptor of the Interceptor plasma weapon... did I spell plasma wrong...?
>.<
User avatar
Karl
Militia Lieutenant
Militia Lieutenant
Posts: 219
Joined: Fri Jul 14, 2006 11:47 pm

Hmm? You don't own a dictionary?

Ok, no problem... this site will serve you well:
http://www.onelook.com/
~
[Grabs a box of batteries.] The power is mine! MINE! Ah hahaha! AHHHH HAHAHA!
Post Reply