#3394: The starting frame for VTOL jets' texture animation is influenced by the
teamcolour and the animation will not loop correctly if it starts on the
wrong frame
-------------------------------------------------+-------------------------
Reporter: Mysteryem | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Engine: Graphics | unspecified
Keywords: VTOL animation texture teamcolour | Version: 3.1
chopper helicopter | beta7
Blocking: | Blocked By:
| Operating System: All
| /Non-Specific
-------------------------------------------------+-------------------------
With the old team colour system, the team colour chooses which frame is
loaded out of a texture animation. If the object in question uses the
animation instead of team colour (e.g. explosions and VTOL jets), '''the
starting frame is still set''' based on the team colour. While completely
unnoticeable usually, the attached mod makes the problem rather obvious,
since the rotor blade animation has 3 frames out of a possible 4 which
could be used on the texture page it uses.
The top left of the image is where the animation should start, as defined
in the modified effects\fxvtl01.pie and the animation has 3 frames, before
it should start on frame 1 again. (Should go: top left, top right, bottom
left, top left, top right etc.)
However, if playing as the orange team colour (team colour 1), the
animation will start on the top right, then go to the bottom left and then
continue to display the bottom left for another frame, before going back
to the top right and repeating.
Team colour 2 (grey) will then start on the bottom left, then display
bottom left for a second frame and then display top right.
Team colour 3 (black) will start on the top left, but only because the
starting frame has reached the end and started back at the beginning. This
then repeats, with all of 0,3,6 and 9 starting at the top left and looking
correct, while all other team colours look incorrect.
This may or may not be a problem only associated with the VTOL jet
animations, I don't know whether it actually effects other animations such
as explosions, since I don't know if they inherit team colours from
whatever is firing them etc.
To test this, the attached mod replaces the viper body with BP's scavenger
helicopter model and the viper body's VTOL jet animation with my custom
rotor blade animation, so all you need to do, is create a viper VTOL and
move it so that the animation is displayed. If tested with green, black,
pink and purple it'll seem to work as intended, any other team colour and
one of the frames will be displayed twice as long.
(note that the forth place on the texpage (which would be displayed if the
animation had 4 frames) is not shown and instead, the previous frame is
displayed twice as long)
--
Ticket URL: <http://developer.wz2100.net/ticket/3394>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project