Author Topic: Feature Request: Damage Lightning  (Read 3736 times)

0 Members and 1 Guest are viewing this topic.

Offline Kusanagi

  • A man, a van, a plan, Vanama!
  • 27
  • Enemy vessel captured
Feature Request: Damage Lightning
I was wondering if it would be possible to implement a SEXP that makes a ship show its damage lightning no matter what its health is.  :)
Cum historia
mutat valde Razgriz
revelat ipsum
primum daemon scelestus est.

 

Offline Kolgena

  • 211
Re: Feature Request: Damage Lightning
Maybe... I mean, the EMP triggers damage lightning (or at least being in the Red EMP nebula does)

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Feature Request: Damage Lightning
Sounds like adding $Damage Lightning Type: Always and a sexp to allow changing the type would be the way to go here.  

Were you wanting this for individual ships or the entire ship class? 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Kusanagi

  • A man, a van, a plan, Vanama!
  • 27
  • Enemy vessel captured
Re: Feature Request: Damage Lightning
It sounds like it could work for ship classes, especially if you have one ship as a template.

The reason I was asking is because it would be an incredible effect to add to Beast ships. In Homeworld, those ships always had lightning playing around their hulls.

Which do you think would work better in that scenario since they would just be retextured versions of normal ships?
Cum historia
mutat valde Razgriz
revelat ipsum
primum daemon scelestus est.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Feature Request: Damage Lightning
Well in that case it might be better to just create a mesh around the main hull with no collision and a lightning effect as the texture. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Solatar

  • 211
Re: Feature Request: Damage Lightning
You'd certainly have a lot more control over what the lightning effect looked like if you did it that way. 

 

Offline Dark RevenantX

  • 29
  • anonymity —> animosity
Re: Feature Request: Damage Lightning
This would still be an useful SEXP for other uses as well.  I could name a number of situations where this would be useful, such as making the impact of a particularly powerful beam seem that much more powerful (the beam won't necessarily knock the hull to 10%, but if it takes off half of the hit points, the ship's going to be in a hell of a shock) by having the ship spark up for a bit and maybe lose the glowmaps/points for a few seconds.  Having some sort of control over the lightning's intensity would be nice as well, but that's entirely optional.

On an unrelated note, is it possible to make it so that the thruster glows don't show if the ship's speed is 0?

 

Offline Kusanagi

  • A man, a van, a plan, Vanama!
  • 27
  • Enemy vessel captured
Re: Feature Request: Damage Lightning
Having the glowmaps flicker from a weapon impact? Oooo, I like that idea.
Cum historia
mutat valde Razgriz
revelat ipsum
primum daemon scelestus est.

 

Offline Bob-san

  • Wishes he was cool
  • 210
  • It's 5 minutes to midnight.
Re: Feature Request: Damage Lightning
Well in that case it might be better to just create a mesh around the main hull with no collision and a lightning effect as the texture. 
Wouldn't that be quite memory-intensive?
NGTM-1R: Currently considering spending the rest of the day in bed cuddling.
GTSVA: With who...?
Nuke: chewbacca?
Bob-san: The Rancor.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Feature Request: Damage Lightning
No more memory intensive then any other animated hull texture. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Delta_V

  • 26
Re: Feature Request: Damage Lightning
Quote
the ship spark up for a bit and maybe lose the glowmaps/points for a few seconds

This could be very cool, and would add to the perceived power of weapons like beam cannons, similar to the beam-pierce effect.  In fact, it might be cool to have the beam pierce happen anytime a beam does more than a certain percent damage to the target, and also have the glowmaps flicker and the damage lightning occur for a few seconds.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Feature Request: Damage Lightning
Quote
the ship spark up for a bit and maybe lose the glowmaps/points for a few seconds

This could be very cool, and would add to the perceived power of weapons like beam cannons, similar to the beam-pierce effect.  In fact, it might be cool to have the beam pierce happen anytime a beam does more than a certain percent damage to the target, and also have the glowmaps flicker and the damage lightning occur for a few seconds.

yes it would be cool, but that needs to be up to each MOD.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Feature Request: Damage Lightning
Well in that case it might be better to just create a mesh around the main hull with no collision and a lightning effect as the texture. 
Wouldn't that be quite memory-intensive?

I'd be more worried about BMPMAN than memory.

 

Offline swashmebuckle

  • 210
  • Das Lied von der Turd
    • The Perfect Band
Re: Feature Request: Damage Lightning
On an unrelated note, is it possible to make it so that the thruster glows don't show if the ship's speed is 0?
This would be awesome, though it'd be even better if you could specify an alternate image for when the speed is set to zero.  That way you could either make it have no glow at all or have a smaller "stand by" type of glow.  It'd also be great for FotG if were possible to disable the constant jittery flicker that all engine glows do.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Feature Request: Damage Lightning
I'm not sure the flicker is the worst of our thruster problems.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Feature Request: Damage Lightning
I'm not sure the flicker is the worst of our thruster problems.

It's not.. but this thread is about Damage Lightning.. not thrusters... /getbackontopic   :doubt:
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Kusanagi

  • A man, a van, a plan, Vanama!
  • 27
  • Enemy vessel captured
Re: Feature Request: Damage Lightning
How about an option in a table entry for damage lightning that works like this:

$Damage Lightning Threshold:

Make it an integer from 0-100 that relates to the percentage of the target's health the lighting will begin to show at. Values of 100 will have the lightning always on no matter what the health of the ship, 0 means its never on no matter what the health, and have it default to 10 which is the "normal" threshold.
Cum historia
mutat valde Razgriz
revelat ipsum
primum daemon scelestus est.