Shield Buster only; No Damage

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Fri Feb 05, 2016 3:04 pm

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!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

PM
Fleet Admiral
Fleet Admiral
Posts: 2415
Joined: Wed Sep 01, 2010 12:54 am

Fri Feb 05, 2016 5:51 pm

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 alpha...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!

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.
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Playership Drones (WIP): Acquire more wingmen from Ship Broker. Unfinished, but updated to 1.8 beta.
Drake Technologies (Alpha) for 1.8: If you do not have 1.9 alpha 1...

User avatar
DigaRW
Militia Commander
Militia Commander
Posts: 363
Joined: Thu Jul 30, 2015 3:10 pm
Location: Deep dark space/Indonesia

Sat Feb 06, 2016 12:33 am

Thanks PM.
Download Transcendence mods from Reinvented Workbench Project!
Semesta I.G.C v1.37
Great corporate that feature a new items and challenges!
YourCORP v1.16
Build your very own corporation!
Trade Item Extension v1.15
New misc items, foods and resources!
StrongBox v1.4
Open it up to get a random equipments!
Flare Weapons v1.6
New weapons that have very unique abilities!
Click this link!

Post Reply