Wierd weapon angles

These are old bug reports that have been closed.
Locked
kaypy
Commonwealth Pilot
Commonwealth Pilot
Posts: 58
Joined: Wed Apr 25, 2007 6:42 am

If:

* You have several primary weapons
* You have no set target or close range autotarget
* Some of the weapons are turreted to some degree

and

* You swap quickly between the weapons while firing (hey I didnt stick 4 primary weapons on this gunship for decoration 8-)

then some of the turreted weapons can get stuck firing at wierd angles instead of resetting to forward. Additionally, these can actually be outside the angle range that the weapon could normally shoot at.
User avatar
Blitz
Militia Commander
Militia Commander
Posts: 342
Joined: Wed Mar 07, 2007 7:29 am

Yeah, I first noticed this when I made my "debug" ship. I equipped it with
1.Sung Archcannon
2.TM90 Multitarget
3.Kyrtyn Launcher
4.Oracus harass Power
5.Disintegrator
6.Repeller
5.Iocrym Plasma weapon.

Heh, I know this is a bit too much. Then I try to fire all of them at once by pressing Ctrl+Shift+W and some of the weapons go dead right. Anyway, I'll put the example here if anyone wants a quick try of this. Just start a new game with this ship and face in any direction that is not dead right and press Ctrl+W.

Code: Select all

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

[
	<!ENTITY scUltimateWolfen			"0xD06505F0">
]>

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

<!-- xx-Extension; ?-Type (0-Ship 1-Base 2-Weapon 3-Launcher 4-Ammunition 5-Armor 6-Shield 7-Device 8-Enhancer 9-ROM A-Commodity B-Special C-Unique D-Other E-Extra F-Debug/Hax); x-Entity -->

	<!-- Player Ship: Ultimate Wolfen-class Gunship -->

	<ShipClass UNID="&scUltimateWolfen;"
			manufacturer=		""
			class=				"Ultimate Wolfen"
			type=				"gunship"
			score=				"240"
			techOrder=			"biomech"
			
			mass=				"100000000"
			reactorPower=		"100000"
			fuelCapacity=		"1000000000"
			cargoSpace=			"100000000"
			thrust=				"1000000000"
			maneuver=			"1"
			maxSpeed=			"40"
			maxArmor=			"100000"
			maxDevices=			"100"
			leavesWreck=		"20"

			>

		<Armor>
			<ArmorSection start="315" span="90" armorID="&itHierosteelPlate;" areaSet="0,2" />
			<ArmorSection start="225" span="90" armorID="&itHierosteelPlate;" areaSet="3,4" />
			<ArmorSection start="45"  span="90" armorID="&itHierosteelPlate;" areaSet="7,13" />
			<ArmorSection start="135" span="90" armorID="&itHierosteelPlate;" areaSet="1,6" />
		</Armor>

		<Devices>
			<Device deviceID="&itQuantumsphereDisintegrator;"/>
			<Device deviceID="&itPlasmaThrower;"/>
			<Device deviceID="&itPlasmaCannon;"/>
			<Device deviceID="&itIocrymRepeller;"/>
			<Device deviceID="&itIM90Blaster;"/>
			<Device deviceID="&itQianlongArchcannon;"/>
			<Device deviceID="&itKytrynLauncher;"/>
			<Device deviceID="&itIocrymCocoon;"/>
			<Device deviceID="&itMnemonicProcessor;"/>
			<Device deviceID="&itSmugglersCargoHold;"/>
			<Device deviceID="&itIocrymHealer;"/>
			<Device deviceID="&itIocrymHealer;"/>
			<Device deviceID="&itIocrymHealer;"/>
			<Device deviceID="&itIocrymHealer;"/>
			<Device deviceID="&itTranspaceJumpdrive;"/>
			<Device deviceID="&itMissileDefense;"/>
			<Device deviceID="&itMissileDefense;"/>
			<Device deviceID="&itMissileDefense;"/>
			<Device deviceID="&itMissileDefense;"/>
			<Device deviceID="&itOracusHarassPower;"/>
		</Devices>

		<Items>
			<Item count="1" item="&itEnhanceSRSROM;"/>
			<Item count="1" item="&itTargetingComputerROM;"/>
			<Item count="1" item="&itRowenaVol1;"/>
			<Item count="1" item="&itRowenaVol2;"/>
			<Item count="1" item="&itRowenaVol3;"/>
			<Item count="1" item="&itRowenaVol4;"/>
			<Item count="1" item="&itRowenaVol5;"/>
			<Item count="1000" item="&itEnhanceShieldsROM;"/>
			<Item count="100" item="&itSystemMapROM;"/>
			<Item count="1000" item="&itEnhanceWeaponROM;"/>
			<Item count="100" item="&itMilitaryMapROM;"/>
			<Item count="16000" item="&itLongzhuSphere;"/>
			<Item count="1000" item="&itGemOfContrition;"/>
			<Item count="1000" item="&itGemOfDespair;"/>
			<Item count="1000" item="&itShieldOptimizer;"/>
			<Item count="1000" item="&itShieldPowerSaver;"/>
			<Item count="1000" item="&itGreenEtheriumCrystal;"/>
			<Item count="1000" item="&itBlueEtheriumCrystal;"/>
			<Item count="1000" item="&itYellowEtheriumCrystal;"/>
			<Item count="1000" item="&itMolbidiumCrystal;"/>
			<Item count="1000" item="&itDiamondCrystal;"/>
			<Item count="1000" item="&itParticleResistCoating;"/>
			<Item count="1000" item="&itRadiationImmuneCoating;"/>
			<Item count="1000" item="&itEMPImmuneCoating;"/>
			<Item count="1000" item="&itIonResistCoating;"/>
			<Item count="1000" item="&itThermoResistCoating;"/>
			<Item count="1000" item="&itCarbonWeaver2Coating;"/>
			<Item count="1000" item="&itAblativeArmorCoating;"/>
			<Item count="1000" item="&itCarbonWeaverNanos;"/>
			<Item count="1000" item="&itReactiveArmorCoating;"/>
			<Item count="1000" item="&itReflectiveArmorCoating;"/>
			<Item count="1000" item="&itRegeneratingNanos;"/>
			<Item count="1000" item="&itRepairingNanos;"/>
			<Item count="1" item="&itBlackMarketID;"/>
			<Item count="1" item="&itMilitaryID;"/>
			<Item count="16000" item="&itKytrynPlasmaSeed;"/>
			<Item count="16000" item="&itQuantumsphereShell;"/>
			<Item count="16000" item="&itHadronVacuumFuelCell;"/>
			<Item count="16000" item="&itHelium3FuelRod;"/>
			<Item count="16000" item="&it310AAegisAuton;"/>
			<Item count="16000" item="&itMuleAuton;"/>
			<Item count="16000" item="&it1MBattleAuton;"/>
			<Item count="16000" item="&it1MiBattleAuton;"/>
			<Item count="1" item="&itStargateControlRod;"/>
		</Items>

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

		<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 is a fast ship design for combat."
			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>
Note: I just realized that the fuel efficiency command doesn't work if its in the ship's description. So, I deleted that part. However, it would be nice if those and the minfueltech and maxfueltech can be defined under a ship. Perhaps it would be better if there was a new heading like "DefaultReactor"
Locked