Override default shield hit effect

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 828
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

Sat Jan 09, 2016 2:48 am

Can the default hit effect be substituted or removed on shields?

I can implement a new one using tlisp but I can't remove the default one.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
"Cowards die many times before their deaths; The valiant never taste of death but once. " -Julius Caesar as written by William Shakespeare, a notorious permadeath player.

User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2734
Joined: Mon Aug 17, 2009 4:27 am

Sat Jan 09, 2016 7:25 pm

Currently no, but it's on the cards for....1.7, I think.
Mischievous local moderator. She/Her pronouns.

User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 828
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

Sat Jan 09, 2016 9:53 pm

This ticket on Ministry seems to imply that it's possible, but I can't find anywhere that it's documented or used :?
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
"Cowards die many times before their deaths; The valiant never taste of death but once. " -Julius Caesar as written by William Shakespeare, a notorious permadeath player.

User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2734
Joined: Mon Aug 17, 2009 4:27 am

Sat Jan 09, 2016 10:04 pm

Xephyr wrote:This ticket on Ministry seems to imply that it's possible, but I can't find anywhere that it's documented or used :?
That's marked as mixed in 1.7 ALpha 1.....which isn't out yet.

EDIT: Whoops, misread that. Maybe poke PM?
Mischievous local moderator. She/Her pronouns.

User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1040
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

Sat Jan 09, 2016 11:07 pm

 I did a bit of SCIENCE! on it and PM’d the code that worked for me.

EDIT: For the curious:

Code: Select all

		<Shields
			hitPoints=		"25"
			regen=			"0"
			depletionDelay=	"0"
			powerUse=		"120"
			>
			<HitEffect
				sound=				"&snShieldHit1;"
				>
				<Shockwave
					style=			"glowRing"
					speed=			"10"
					lifetime=		"5"
					fadeStart=		"0"
					width=			"3"
					glowWidth=		"11"
					primaryColor=	"#ffff88"
					secondaryColor=	"#888844"
				/>
			</HitEffect>
		</Shields>
Image

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)

User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2614
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Wed Jan 13, 2016 11:17 am

yes, it's possible.
You can override a hiteffect on a single shield and you can also, of course, replace the default hiteffect with a custom one. I did that long ago for RPC, but my graphical skills for a different hiteffect were a bit lacking.

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

Tue Jan 19, 2016 2:37 pm

Shields support "hitEffect" just like weapons.
Download and Play in 1.8 Beta...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
Download and Play in 1.7...
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Playership Drones v8: Under construction!

Post Reply