Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DarthWang on August 17, 2008, 09:08:57 pm

Title: Beam reflectors
Post by: DarthWang on August 17, 2008, 09:08:57 pm
Would it be possible to make it so when a beam hits a target, it would be deflected at an angle?

Title: Re: Beam reflectors
Post by: Bobboau on August 17, 2008, 10:56:03 pm
yeah, if you wanted to code it you could make that happen, wouldn't be easy but harder things have been done.
Title: Re: Beam reflectors
Post by: NGTM-1R on August 17, 2008, 11:48:22 pm
You could always fake it with another turret too, which would be loads simpler probably.
Title: Re: Beam reflectors
Post by: Akalabeth Angel on August 18, 2008, 02:19:56 am
You could always fake it with another turret too, which would be loads simpler probably.

       I get the impression he wants it a regular staple of battle rather than a one-off occurance.
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 18, 2008, 03:06:19 am
Oooo just think of the possibilities.... a ship designed to deflect beams or even reflect the offending ships beams back at it
Title: Re: Beam reflectors
Post by: DarthWang on August 18, 2008, 09:43:56 am
The idea was a kind of multi-part cannon composed of multiple ships/stations, that fire beams the reflect off each other in a pattern before they energize the main cannon to fire the huge uberbeam
Title: Re: Beam reflectors
Post by: Stormkeeper on August 18, 2008, 09:54:34 am
The idea was a kind of multi-part cannon composed of multiple ships/stations, that fire beams the reflect off each other in a pattern before they energize the main cannon to fire the huge uberbeam
You mean like the Requiem in Gundam Seed Destiny?

The Requiem was a giant beam weapon based on the dark side of the Moon. The Earth Alliance used massive magnetic fields in mobile tube colonies to bend the beam around, enabling the Requiem to basically hit any target in the system.
Title: Re: Beam reflectors
Post by: Admiral_Stones on August 18, 2008, 02:02:12 pm
Yes Stormies, probably that.

Note I only wrote this here to call him Stormies... aww, so cuuutte.
Title: Re: Beam reflectors
Post by: Stormkeeper on August 18, 2008, 02:13:32 pm
Its Stormy not Stormies there is only one of me, singular, not plural, but singular, one, and only one!
Title: Re: Beam reflectors
Post by: Ace on August 19, 2008, 01:12:22 pm
It'd actually be something interesting to add to the armor code: deflection values and weapon types deflected. (laser, ballistic, beam)
Title: Re: Beam reflectors
Post by: Droid803 on August 19, 2008, 01:15:10 pm
And perhaps a % chance of deflection...
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 19, 2008, 01:17:42 pm
hmmm % chance of deflection AND % chance of reflection... that would be interesting
Title: Re: Beam reflectors
Post by: Stormkeeper on August 19, 2008, 09:52:59 pm
hmmm % chance of deflection AND % chance of reflection... that would be interesting
So you would have a chance of killing yourself with your own Subach blasts?
Title: Re: Beam reflectors
Post by: Flipside on August 19, 2008, 10:10:08 pm
Y'See, this is what we call feature creep in action ;)
Title: Re: Beam reflectors
Post by: Retsof on August 19, 2008, 10:20:54 pm
Feature creep?
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 19, 2008, 10:29:42 pm
hmmm % chance of deflection AND % chance of reflection... that would be interesting
So you would have a chance of killing yourself with your own Subach blasts?

lol well... i was thinking about a new way to counter the shivan threat... send their beams right back at em =D

I had been kickin around the thought of some kind of absorbant armor that would build a charge from beam fire to a certain point then release it in a massive blast at the nearest enemy cap ship... but that'd be harder to do imo than reflective armor =p
Title: Re: Beam reflectors
Post by: Droid803 on August 19, 2008, 10:41:54 pm
Reflective armor, best against energy-base weapons.
So I'd assume Maxims and Avengers would not get reflected, nor with missiles.

It'd add tactical depth (as in, you may want to load up on something that can crack reflective armor).
Armor.tbl already adds a bit of that (as in, you can tone down beam damage to 0), but this adds in the visual effect of shunting the projectile/beam elsewhere, rather than just absorbing it.
Title: Re: Beam reflectors
Post by: Akalabeth Angel on August 20, 2008, 12:17:20 am
Making weapons deflectable would also be cool against larger ships. If it could be setup that a large ship only takes damage from bombs and the like, one could have other lesser weapons just deflect off (because the armour is too thick). Would be a cool effect.
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 20, 2008, 12:30:32 am
the more and more i think about it, the more i like it! can we make it happen?
Title: Re: Beam reflectors
Post by: Flipside on August 20, 2008, 12:42:28 am
You'd need to work out the cosine of the angle of intersection between the beam and the polygon it is hitting and then take it from there.

As Bobboau put it, not impossible, but you'd need to find a coder willing to do it.

Edit: I suppose you could use the normal of the contact polygon, but that would look weird at sharp angles.
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 20, 2008, 12:43:38 am
it is directly proportional to the angle at which it dangles.
Title: Re: Beam reflectors
Post by: Flipside on August 20, 2008, 12:47:06 am
Dangling at any angle at -170'C is not possible :p
Title: Re: Beam reflectors
Post by: Snail on August 20, 2008, 12:49:04 am
Uhh, didn't someone already to this with scripting?
Title: Re: Beam reflectors
Post by: Vertigo 7 on August 20, 2008, 12:49:40 am
yeah i would imagine that would be rather difficult