Ok this thread is about the trunk models for now, Buginator asked for new models and Im sure you artists are well on the way to making some wonderfull textures and pie's so here is what little I know about Tcmask and texture animations
It has been discussed in a few threads about tcmask and animation in the same or different threads, and how they conflict on the same pie. As of a few minutes ago SafetyOff gave me a patch for trunk to test.
The patch was to enable both tcmask and animations AND worked as expect so now we can have both on the same models.
I am not a good narrator so any info you need is best to ask here.
In the wiki the pie format is explained although a lot is missing from it there is a good deal of info to learn http://developer.wz2100.net/wiki/PIE_format .
For those who understand how to patch here it is:-
Code: Select all
Index: lib/ivis_opengl/piedraw.c
===================================================================
--- lib/ivis_opengl/piedraw.c (revision 10793)
+++ lib/ivis_opengl/piedraw.c (working copy)
@@ -289,7 +289,7 @@
polyCount++;
// Run TextureAnimation (exluding the new teamcoloured models)
- if (frame && pPolys->flags & iV_IMD_TEXANIM && !(shape->flags & iV_IMD_TCMASK))
+ if (frame && pPolys->flags & iV_IMD_TEXANIM && !(shape->flags & iV_IMD_TCMASK && shape->numFrames == 8))
{
frame %= shape->numFrames;
As i said Im not good at this narrating so please excuse the randomness if any in this post
Tcmask is rather interesting effect I found by mixing the saturation to some degree I could achieve very subtle shades of what ever team colour you found yourself in but with the grey and black team this effect looked rather out of place so I refrained from painting walls of structures with team mask rather I just used it on small areas on the bas structures. sidings etc. or the F1 on factories.
There is already a guide for how to make tcmask on this thread viewtopic.php?f=33&t=4951
I do note that just de-saturating and coping those sections to a tcmask image works very well.
When I was doing the tcmask on the old models for trunk I had to lighten the old team colour sections a bit to get colour to show at least close to what used to be team colours. These still need work, fine tuning there is a patch I made here http://developer.wz2100.net/ticket/1757 If anyone wants to redo the texture or finds errors in patch please help.
Ok that about it for mask any question or ideas just add them to this thread.
Now the animation and above mentioned patch
By default all team colours and animations in pie format are the same flag (see pie format) the patch now makes it possible to use the same flag as before for animations excluding 8 frame animations. From what I understand any other frame amount will be treated as animation 8 frames will be ignored.
Hope this info is useful for you.
Best regards
Berg