aliens

Author Topic: [Suggestion] Continuous wave laser  (Read 4126 times)

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
[Suggestion] Continuous wave laser
« on: August 19, 2019, 05:03:26 pm »
Hello there! I have a fairly simple suggestion, which I hope is just as simple to make.

I would like to make a laser that its beam is continuous, instead of pulsed (as is the original laser projectile). This means, that the sprite of the projectile extends from the weapon to the target, in a single beam.

Of course, not only lasers, but also plasma, electric weapons or flame throwers. It would be great on flame throwers!

I wouldn't want anything very elegant to bother the devs, maybe just repeat the same sprite of the projectile again and again to give this effect.

Thanks in advance! :D

Enviado desde mi LG-M400 mediante Tapatalk


Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #1 on: August 20, 2019, 01:35:07 am »
I like this idea.

Being able to have lasers draw a solid line from the weapon to the impact point would be a cool feature.


                       *Zap*

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #2 on: February 14, 2023, 10:24:04 am »
Even the original xcom had this feature :D

https://youtu.be/zGpk-Yxo_fs?t=11430

Offline Finnik

  • Commander
  • *****
  • Posts: 508
  • Finnik#0257
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #3 on: February 15, 2023, 08:24:53 am »
I'd really like this feature. Since OXC already has a particle system for bubbles, why can't it be changed to just draw just a straight line?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #4 on: February 15, 2023, 09:28:58 am »
I'd really like this feature. Since OXC already has a particle system for bubbles, why can't it be changed to just draw just a straight line?

Because it's a COMPLETELY different thing?

You also don't use a nuclear submarine to cross a 20cm deep river.

I would really love to see you try though.. I can imagine at least 3 different ways how to implement this, but I can't imagine how I would use bubble particles to do that.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #5 on: February 15, 2023, 11:23:29 am »
Because it's a COMPLETELY different thing?

You also don't use a nuclear submarine to cross a 20cm deep river.

I would really love to see you try though.. I can imagine at least 3 different ways how to implement this, but I can't imagine how I would use bubble particles to do that.
More "particles" than "bubbles", if we change that they do not move and stay in same place, reduce randomness in position you will have near straight line that will fade out. it will not be same but could be close enough.

Offline Finnik

  • Commander
  • *****
  • Posts: 508
  • Finnik#0257
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #6 on: February 15, 2023, 03:24:28 pm »
More "particles" than "bubbles", if we change that they do not move and stay in same place, reduce randomness in position you will have near straight line that will fade out. it will not be same but could be close enough.

Yeah, to not solve problems with drawing line "in 3D" to get it above and below tile surfaces when, say, shooting through windows. I'd rather torture bubbles code than making it from scratch and solve all core render problems, because I am not a talented coder at all.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #7 on: February 15, 2023, 03:41:36 pm »
So instead of this:


We would be seeing something more like this:
« Last Edit: February 15, 2023, 04:06:57 pm by The Martian »

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #8 on: February 15, 2023, 04:53:32 pm »
I think I could in next month look on this (particle version) and see what could be possible.

Technically OXCE could support some thing like Quake II rail gun too:
http://gamingpastime.com/wp-content/uploads/2017/07/q2_3.jpg
or

Offline Finnik

  • Commander
  • *****
  • Posts: 508
  • Finnik#0257
    • View Profile
Re: [Suggestion] Continuous wave laser
« Reply #9 on: February 15, 2023, 05:16:38 pm »
I think I could in next month look on this (particle version) and see what could be possible.

Technically OXCE could support some thing like Quake II rail gun too:
http://gamingpastime.com/wp-content/uploads/2017/07/q2_3.jpg
or


Thanks! I hate everybody use bubbles to draw lines as laser weapons, it looks ugly.