Shield Buster only; No Damage

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
DigaRW
Militia Captain
Militia Captain
Posts: 517
Joined: Thu Jul 30, 2015 3:10 pm
Location: The place where I belong
Contact:

How to make a weapon that can damage shield and have ability "Shield Buster", but it can't damage armor?
And also, I need "Blinder cannon" sample. But I can't find it in stdWeapon (XML Source).
(In order to create Electric Ram Cannon)
Download Transcendence mods from Reinvented Workbench Project!
Click this link!
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Add the event OnDamageArmor and have it return 0.

Blinder cannon, a Heliotrope weapon, is in EncountersVol01.xml. Here is a modified version.

Code: Select all

	<ItemType UNID="&itBlinderCannon;"
			name=				"modified blinder cannon"
			level=				"3"
			value=				"1350"
			mass=				"2000"
			frequency=			"rare"
			numberAppearing=	"1"
			attributes=			"EnergyWeapon; Heliotropes; MajorItem; NotForSale; NotStandard;"

			description=		"A blinder cannon shoots out a thin stream of ionized particles that disrupts a ship's sensors."
			>

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

		<Weapon
				type=				"beam"
				damage=				"ion:2d8+2; blinding3"
				fireRate=			"15"
				lifetime=			"30"
				powerUse=			"50"
				sound=				"&snLaserCannon;"
				>
			<Effect>
				<Beam
						beamType=			"lightning"
						primaryColor=		"0xa0, 0xf0, 0xff"
						secondaryColor=		"0x00, 0xa9, 0xff"
						intensity=			"1"
						/>
			</Effect>
		</Weapon>

; PM:  Added event as an example, even though blinding weapons do not need it.
		<Events>
			<OnDamageArmor>
				0
			</OnDamageArmor>
		</Events>
	</ItemType>
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
User avatar
DigaRW
Militia Captain
Militia Captain
Posts: 517
Joined: Thu Jul 30, 2015 3:10 pm
Location: The place where I belong
Contact:

Thanks PM.
Download Transcendence mods from Reinvented Workbench Project!
Click this link!
Post Reply