Originally posted by DaBrain
@WMCoolmon is is possible to disable a few vectors for the shockwave? It looks flat if you see it from the side. But only for a really small number of degrees.
(Has to be relative to the player.)
Probably, but that's getting into maths stuff, and you know me and maths stuff...
I think it'd be Player_rotation (in radian angles) - Shockwave_rotation (also in radian angles), but all orientation data is stored in matrices. I can convert those to angles and do the following op, but it'd be a lot more efficient if I could just figure out how to do it with matrices.
After that, I could add a variable to ships.tbl and/or weapons.tbl that would let you set the ranges for x,y,z. It's now randomly rotated on all 3 axis.
Although it really seems more like the domain of going in a "Shockwaves" section of weapon_expl.tbl. That'd require some slight changes to how how shockwaves are loaded.
So, maybe.
I'd like to make sure that multiple shockwaves work first. (Which involves mass-renaming some 94 files.
)