Author Topic: 3D Shockwaves request...  (Read 1872 times)

0 Members and 1 Guest are viewing this topic.

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
3D Shockwaves request...
All bomb detonation 3D shockwaves are currently oriented to the mission's absolute XY plane. This looks stupid.

Can we have them orient to the bomb's vector instead? That would look cool.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Kolgena

  • 211
Re: 3D Shockwaves request...
This would indeed. Could also be a useful visual indicator to figure out where the bombs are coming from if you're a ways away.

 

Offline Nighteyes

  • 211
Re: 3D Shockwaves request...
that is why I don't use 3D shockwaves... it just looks really bad...

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: 3D Shockwaves request...
that is why I don't use 3D shockwaves... it just looks really bad...

This.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Fury

  • The Curmudgeon
  • 213
Re: 3D Shockwaves request...
All bomb detonation 3D shockwaves are currently oriented to the mission's absolute XY plane. This looks stupid.
I don't know about FSPort, but all mediavps bomb shockwaves are using 2D shockwaves.
$Shockwave name: shockwave01

Or this would be the case if there wasn't a bug in FSO. In 3.6.10 SCP added dinky explosion and dinky shockwave options, but it wasn't noticed until late in .12 development cycle that the added features causes FSO to consider all bombs to be unarmed until they impact. Which means, all bombs use 3D shockwave unless they impact their target, at which point they use 2D shockwave.

Nobody has yet fixed this bug in FSO, but both Zacam and Wanderer have looked into it. But I haven't heard anything about it since .12 was released.

Original intent was to use 3D shockwaves for ships, 2D shockwaves for weapons. Of course, if modders want to intentionally use 3D shockwaves in bombs or other weapons, then what Galemp asks for would be useful. But consider that 3D shockwaves cause larger fps hit than 2D shockwaves, it might not be worth it.

This bug could have been easily fixed in mediavps by using $Arm time, but it was realized that this would have caused unwanted behavior in mods that have made use of weapon arming features. All is fine if a mod uses $Arm time, but if a mod would have used $Arm distance or $Arm radius, then whichever came true first would arm the weapon. And since mediavps would have used $Arm time with really low value, it would have become valid first and caused unwanted behavior. This is the reason why this shockwave bug persists in the latest mediavps pending proper fix in FSO code.
« Last Edit: August 16, 2010, 04:18:40 am by Fury »

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 3D Shockwaves request...
Is there a case where a mod that defines $Arm (A) would want to inherit $Arm (B) from a parent table?  We could make it so that modular tables would override all arm settings if any exist, unless that would break something else.
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 Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: 3D Shockwaves request...
Easiest fix would be to mark weapons as always armed unless arm distance, arm radius or arm time is set.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: 3D Shockwaves request...
And what about the actual issue this thread was supposed to be about, making the 3D shockwaves not always have the same stupid orientation?