#3573: Properly animate muzzle-flash GFX.
-------------------------------------+-----------------------------------
Reporter: Stratadrake | Type: bug
Status: new | Priority: normal
Milestone: unspecified | Component: Engine: Graphics
Version: 3.1 beta11 | Keywords: pie animation weapons
Blocked By: | Blocking:
Operating System: All/Non-Specific |
-------------------------------------+-----------------------------------
Most muzzle-flash PIE files are actually animated (type x4000 polygons).
The game engine needs to properly reflect this.
There are a few details to this issue, let me detail them:
- Type x4000 polygons include an extra four parameters that specify
animation data. One of the parameters is a playback rate in milliseconds
per frame; however, almost every FX pie file specifies a playback rate of
"1" - causing every muzzle-flash PIE file to play out its entire animation
in a single rendering pass; the full animaton is never seen. This part
can be solved by modifying the PIE loader to substitute a default playback
rate (50 or 100) if the value in the PIE file is < some minimum, or by
modifying the (many) PIE files themselves.
- The original retail Warzone (as of v1.10) actually did animate muzzle
flashes properly if you specified a decent playback rate, even though it
only seemed to work for mobile units (tanks and cyborgs). If Warzone 3.x
is not animating these PIE files at all, it's not only a bug but a
regression too.
- Several weapons don't appear to have any muzzle-flashes when they fire -
they actually do, it's just not being rendered. The mysterious top half
of texturepage 22? Railgun firing animation.
A lot of weapons will look much better if this bug is fixed for good. The
animations ARE there and always were to begin with, they just need to be
handled correctly.
References:
* Forum topic: http://forums.wz2100.net/viewtopic.php?f=6&t=9628
* Fortress Cannon animation:
http://forums.wz2100.net/download/file.php?id=11904&mode=view
* Gauss Cannon animation:
http://forums.wz2100.net/download/file.php?id=11905
--
Ticket URL: <http://developer.wz2100.net/ticket/3573>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project