Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DarthWang on September 21, 2008, 01:11:08 pm

Title: Subspace beams
Post by: DarthWang on September 21, 2008, 01:11:08 pm
Would it be possible to make a huge subspace opening, but then instead of a ship coming out, a beam shoots out?
Title: Re: Subspace beams
Post by: Titan on September 21, 2008, 01:16:49 pm
there was something called a subspace beam on hades...  :blah:
Title: Re: Subspace beams
Post by: Flipside on September 21, 2008, 01:34:37 pm
I suppose you could do something with scripting and a warp-model with a firing point.
Title: Re: Subspace beams
Post by: Mobius on September 21, 2008, 02:12:56 pm
Or with a blip model with a beam gunpoint and the SEXP that triggers a warp...that'd be easier.
Title: Re: Subspace beams
Post by: Droid803 on September 21, 2008, 05:00:14 pm
Interesting idea.
If I was going to do this, I'd probably make a special warp cargo in FRED, make a blip model with a beam turret, trigger the warp, then fire-beam.
Title: Re: Subspace beams
Post by: Mobius on September 22, 2008, 02:56:43 pm
Hey, I have a better idea: a gunmounted blip armed with a special beam using the subspace effect as charge boost...I have something similar in Steadfast which works admirably. :D
Title: Re: Subspace beams
Post by: DarthWang on September 22, 2008, 06:19:19 pm
What about Subspace openings that absorb beams?

My idea is to have a ship with a subspace defense, so when you fire a beam at it (this probably has to be scripted), a subspace hole opens up to intercept the beam, then another subspace hole opens up and fires the beam back at the attacker.
Title: Re: Subspace beams
Post by: JGZinv on September 22, 2008, 06:36:25 pm
Sounds a lot like the Vong in the SW books with their Dovin Basals.
Gravity well that effectively ate the incoming laser.

Maybe make it a variation of flak?
Title: Re: Subspace beams
Post by: Droid803 on September 22, 2008, 06:49:03 pm
For the beam-absorber, you'd have to make the subspace vortex a ship that will appear, take the beam, then vanish...
This will only really ever work if your battle is completely scripted with fire-beam.
Title: Re: Subspace beams
Post by: Mobius on September 23, 2008, 11:33:47 am
Not exactly. All you need is to do is:

- Set the subspace effect as impact effect of the beams;

- Make sure that the beam won't inflict any damage. In order to do this, use armor.tbl and make changes to the beams' table entry in weapons.tbl...I'd suggest using the "multiplicative: 0.0" calculation;

- Enjoy!
Title: Re: Subspace beams
Post by: Aardwolf on September 23, 2008, 11:53:03 am
But what if the beam doesn't hit the ship that has that property? (What if something gets in the way or it misses)
Title: Re: Subspace beams
Post by: Mobius on September 23, 2008, 12:10:47 pm
In that case you should adapt the armor.tbl and the weapons.tbl to any occurrence to prevent the damage...

In case a different target is hit, well, I don't know...try to design the mission to prevent that...
Title: Re: Subspace beams
Post by: Droid803 on September 23, 2008, 05:13:42 pm
If you set the beam damage to zero and such...there would be issues if the player (or another fighter) 'accidentally' flies into the beam. It'd look strange, to say the least.
Title: Re: Subspace beams
Post by: Aardwolf on September 23, 2008, 06:03:48 pm
It could probably be done using scripting, possibly using the conditional hook for weapon-ship impacts.

/me has gotten an idea just now, and will post it in the SCP board...
Title: Re: Subspace beams
Post by: Mobius on September 24, 2008, 01:58:34 pm
If you set the beam damage to zero and such...there would be issues if the player (or another fighter) 'accidentally' flies into the beam. It'd look strange, to say the least.

But the damage is 0 only when the beam hits a certain ship. That's why you need armor.tbl to make this beam work.
Title: Re: Subspace beams
Post by: Droid803 on September 24, 2008, 05:27:17 pm
Actually, wouldn't the warp effect still appear on your fighter (but you'd just be vaporized?)