Page 1 of 1

maybe EMP bug ?

Posted: Mon Feb 18, 2008 8:22 pm
by digdug
I think I found a bug related to EMP weapons:
I was testing this weapon:

Code: Select all

	<ItemType UNID="&ittestweapon;"
			name=				"test weapon"
			level=				"5"
			value=				"4500"
			mass=				"2500"
			frequency=			"uncommon"
			modifiers=			"Consumable; EnergyWeapon; MajorItem"
			
			description=		"Just a weapon used for testing...weapons."

			sortName=			"turbolaser cannon, omnidirectional"
			>

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

		<Weapon
				fireRate=			"40"
				powerUse=			"100"
			
				>
		<Missiles>
					<Missile 
						type=			"missile"
						lifetime=		"120"
						damage=			"ion:1d12; momentum1; WMD3"
						missileSpeed=	"55"
	
						directional=	"true"
						
						sound=			"&snMissileLauncher;"
						vaporTrailLength="24"
						vaporTrailWidth="150"
						vaporTrailWidthInc="15"
						vaporTrailColor="0xff, 0xff, 0xd0"
						>
		
					<Effect>
						<Image imageID="&rsWeapons9DB32;" imageX="0" imageY="0" imageWidth="32" imageHeight="32" />
					</Effect>
					
					<Fragment 
							count=			"1"
							type=			"radius"

							damage=			"ion:20d10; EMP3; WMD3"
							minRadius=		"6"
							maxRadius=		"8"
							missileSpeed=	"0"
							lifetime=		"8"
							>

						<Effect>
							<Flare
									style=				"fadingBlast"
									radius=				"350"
									primaryColor=		"0x00, 0x00, 0xff"
								/>
						</Effect>
					</Fragment>
					<Fragment
							count=				"1"
							type=				"area"
							launcher=			"true"
							damage=				"ion:5d6; EMP4"
							fireRate=			"30"
							expansionSpeed=		"40"
							missileSpeed=		"0"
							lifetime=			"30"
							powerUse=			"200"
							charges=			"true"
							sound=				"&snLaserCannon;"

							>

						<Effect>
							<Shockwave>
								<Image imageID=				"&rsShockwave1;"
										imageX=				"0" 
										imageY=				"128" 
										imageWidth=			"512" 
										imageHeight=		"64"
										imageFrameCount=	"1"
										imageTicksPerFrame=	"1"/>
							</Shockwave>
						</Effect>
					</Fragment>
					

				</Missile>
     </Missiles>
	</Weapon>
</ItemType>
You can shoot and fry any station with a couple of shots, but EMPed ships seems invulnerable, I continued to shoot an EMPed friendly freighter (and a nearby sapphire) for a couple of minutes without damaging them at all. As soon as I switched to a recoilless cannon, I quickly disposed of them.

In short: it seems that an EMPed ships is invulnerable to EMP weapons using this configuration.

Posted: Wed Feb 20, 2008 2:56 am
by Ttech
I have a bit of a mod to this
I have a weapon that has a bunch of damages compbined, EMP seems to stop other effects on X weapon from doing any damage.