Vinifera-Developers / Vinifera

Vinifera is a C&C: Tiberian Sun engine extension implementing new logics and fixing bugs.
GNU General Public License v3.0
44 stars 10 forks source link

[New Feature] Helicopter rotor blades animation #15

Open Lupus-Mechanicus opened 3 years ago

Lupus-Mechanicus commented 3 years ago

Description:

Unlike in Red Alert 2 [and Yuri's Revenge of course], currently the Tiberian Sun engine doesn't allow you to introduce animations for voxels or SHPs using the usual HVA files. This results in weird rotor-less helicopters and VTOLs, and it forces modelers in the best case to either make static rotor blades which look very odd, or in the worse case, to ditch them out entirely.

While it was experimented on before, using both the TurretSpin method or the HVA one, the results were as expected. They don't really work.

Screenshots (if appropriate): Here you can see as an example, the Harpy [NOD], on a clear green background, missing the rotor blades. image

An animated example worth looking at is the OpenRA iteration, one version with short rotor blades, and one with longer rotor blades, though as you can clearly see, the shadow for the rotor blades is missing. image

CCHyper commented 3 years ago

Thanks for mentioning that OpenRA has added support for this, it might help with some of the tilt calculations.

Does OpenRA support aircraft with rotors that pitch and roll?

Lupus-Mechanicus commented 3 years ago

From what I've gathered so far, OpenRA supports aircraft/helicopters that pitch and roll [due to PR#18231], but I honestly haven't got a clue about aircraft/helicopters with rotors that pitch and roll. :man_facepalming:

pchote said this a while back on this subject [on their side]:

I explicitly accounted for this in #18231 and chose pitch/roll angles that are large enough to be noticeable, but small enough to still look fine with the sprite rotor.