Posted April 11, 2020 by `Alex` in `Development`, `Media`
翻译:`Eistin`
I've been working on a lot of content recently – some hand-crafted missions, new weapons (and ships), some endgame material, and so on. While that's all terribly exciting, it unfortunately doesn't leave me with a whole lot I can talk about without spoiling things. There is another feature I'm working up to – somewhere at the intersection of “mechanics” and “content”, a bit more the latter – that I'll be able to talk about (at least, if it pans out), but that's still a little ways off.
In the meantime, I thought I'd revisit some of the gifs I posted on twitter while working on a new set of weapons. (There are also ships that go with these weapons, but those are not to be talked about, I'm afraid. Hegemony COMSEC was quite clear on the subject.) I'll also talk a bit more about the effects, so even if you've seen these already, there'll be something new – and there may be one or two you might have missed, even if you've been following along!
First, a picture of the glorious mess these can produce when employed against a hapless Paragon. This is a bit over the top; I wouldn't imagine things would look quite this extreme very often.
(Lest you think I hate Paragons, since they seem to be commonly used for target practice: it's only because they're the only thing sturdy enough, I swear.)
(以免让你们误以为我讨厌典范级,我用典范级当靶子只是因为它够硬,真的。)
Without spoiling things too much, these weapons are not something the player would have easy or unlimited access to – as reflected in their visual effects, they're extremely powerful, and often do things that are “special” in some way.
On the other hand, it wouldn't do to add cool stuff to the game and then never let the player use it. So: the player will be able to get access to limited quantities of these. That way, deciding what ships to use them on is an actual choice, even if they're somewhat overpowered – otherwise, you'd just put them on everything. That said, they shouldn't be *too* out of line compared to normal weapons, especially since they cost more ordnance points to mount.
With this out of the way, here are the visual effects for some of these weapons, along with a few notes!
说完了以上这些,让我们来看看某一些武器的视觉效果,读一读批注。
> Going for more of a "cold" feel. Though I suppose in that case the targeted areas shouldn't glow, but … let's look past that. Rather pleased with how this turned out!
This is kind of a cold “flamethrower”. The “hose” is actually made up out of individual projectiles. A problem with this was that turning the weapon while firing made it really obvious – you'd see the individual shots going in different directions, like so:
So, there's code that makes projectiles kind of stick together – each projectile is dragged along a bit by the one right behind it. That way, as the weapon turns, the entire hose ends up being pulled along, just enough to – in most cases – make it retain cohesion.
What's most interesting to me, though, is that I was this close to giving up on the entire approach before it finally clicked! I don't have any screenshots handy, but – after a several days of work – the flamethrower effect was… well, it wasn't good. Not “kind of ok, just not quite there”, but rather “this isn't at all usable”. To make matters worse, it didn't seem likely to get better; a number of adjustments I'd tried were not promising and it wasn't going anywhere.
Then, literally in about 15 minutes, it went from that to pretty much what you see in the gif! The only thing that kept me going, if we're being honest, was a liberal application of the sunken cost fallacy.
(… in fact – this was a while ago, but it's starting to come back – what actually made it work was a bug – accidentally trying something I didn't mean to try. Wish I remembered what exactly it was, but, alas, that detail is lost in time.)
> An extremely [REDACTED] weapon system. Really happy with the visual effects, feels like it all came together here.
> 一个极其[数据删除]的武器系统,对武器的特效很满意,就好像水到渠成。
What I'm particularly happy with here is the trail effect – this was one of the very few times when a visual effect turned out exactly as I was imagining it, didn't take long, and actually looked good. Too often, something will turn out as I was imagining it, and then it turns out that doesn't actually work so well… visual effects work seriously eats time like nothing else! I think it's a combination of having a huge possibility space to explore, and it being some sort of time warp where 15 minutes later, 3 hours have passed.
This is an effect that strips away armor over time. The interesting thing here is taking care to be minimally disruptive to ship AI. If this effect did actual damage over time, the AI would need to be acutely aware of it – to back off when the damage is enough to eventually ensure a kill, for example, or to charge in recklessly when it's on borrowed time. Trying to handle this intelligently gets complicated very quickly.
To avoid these complications, the effect only affects armor – it's not doing any damage to the hull, so it's not capable of destroying a ship. It might still make sense to have the AI be aware of it in some situations, but the mistakes it might make as a result of not being aware would be very minor and, in the grand scheme of things, not noticeable.
> A somewhat more restrained use of the new visual effects.
> 新视觉效果的运用在某些程度上而言更受限。
Another cold-feeling weapon. I wanted to have an effect where the shot came out of and outpaced a cloud of particles (very vaguely inspired by [this scene](https://youtu.be/xUjrqFVBgc8?t=61), actually), so: there it is!
This took a while to nail down, mainly due to wanting it to not be too similar to the torpedo trail in one of the previous gifs.
(The glowy stuff flying around is not part of the weapon, it's Something Else.)
这个效果花了些时间才最后敲定,主要是因为我不想让它看起来太像先前某一张GIF动态图里的鱼雷尾迹。
(发光的飞行物并不是这武器的一部分,那是别的东西的。)
> A finalized version of the weapon effect I've posted before -the explosions hug the contour of the ship more, and get smaller towards the end of the chain.
> Not a drastic change from the previous version! But it takes a lot of little details to nail it down.
This one could almost be a blog post in itself. The original concept was to have explosions with a dark center, in contrast to “normal” explosions that have a bright center. Here's what a very early attempt at this effect looked like:
It's just promising enough to keep going, really. David suggested these leaving some kind of “burns” (inspired by Brigador's [Black Hand](https://youtu.be/JLxOsgFL14g?t=876) weapon), as well as looking at subtractive blending. I didn't realize that was a possibility (!), but after a bit of checking, it turned out that was pretty easy to set up.
After much iteration, the end result is what you saw in the above gif. The new techniques were also useful for other effects – for example, the torpedo trail, the “less restrained” gif, and a number of other uses that are not shown here.
I'm not sure if my experience with visual effects is representative of what other people go through – but it sure seems to be consistent, whenever I end up spending time on this sort of thing.
It takes a long time, and it's not clear exactly where it'll go. Rarely, an idea does work out as expected! More often than not, though, the initial idea is just something to get started with, and what actually ends up working is surprising – and, sometimes, a happy accident.