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.
Override default shield hit effect
- Xephyr
- Militia Captain
- Posts: 857
- Joined: Fri Dec 14, 2007 1:52 am
- Location: Orion Arm, Milky Way
- Contact:
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
Real programmers count from 0. And sometimes I do, too.
Real programmers count from 0. And sometimes I do, too.
- Xephyr
- Militia Captain
- Posts: 857
- Joined: Fri Dec 14, 2007 1:52 am
- Location: Orion Arm, Milky Way
- Contact:
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!"
Real programmers count from 0. And sometimes I do, too.
Real programmers count from 0. And sometimes I do, too.
That's marked as mixed in 1.7 ALpha 1.....which isn't out yet.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
EDIT: Whoops, misread that. Maybe poke PM?
Mischievous local moderator. She/Her pronouns.
- AssumedPseudonym
- Fleet Officer
- Posts: 1190
- Joined: Thu Aug 29, 2013 5:18 am
- Location: On the other side of the screen.
I did a bit of SCIENCE! on it and PM’d the code that worked for me.
EDIT: For the curious:
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>
Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)
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!)
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
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.
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.
Shields support "hitEffect" just like weapons.
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.
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.