prop animations

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
Post Reply
User avatar
XANAX
Trained
Trained
Posts: 189
Joined: 09 Jul 2009, 22:05

prop animations

Post by XANAX »

since I've messed with .ani files maybe we can make
wheels turn?
tracks move?
helicopter blades rotate?
etc. & all that cool stuff

it would be so awesome :3
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: prop animations

Post by whippersnapper »

XANAX wrote:since I've messed with .ani files maybe we can make
wheels turn?
tracks move?
helicopter blades rotate?
etc. & all that cool stuff

it would be so awesome :3
Yo, what up ? Anims ? ;)

Can be done, no doubt but it falls back ultimately (assuming coders are into the work involved) to the overhead impact on minimum sys reqs to the game as well in an 8 player MP with at least 800 + of these type added events to everything else going on and what would be those ramifications to effective Net GP ? At the very least it would have to entail the addition of an Option in the Graphics Menu start of game to turn these off like with Shadows etc..... but still there would be the question of an 8-player MP were some had it on and some off. Really dunno, so take this for little better than an off-the-cuff puzzled ramble.

Regards, whip :ninja:
.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: prop animations

Post by Per »

Go for it!

I don't think it will make any big difference performance-wise, actually. (This may be a bit counter-intuitive at first, but you have to realize that with modern 3D graphics systems, everything is redrawn anyway for each frame, and so swapping certain elements between individual frames, as you do in animations, does not necessarily hurt performance.)
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: prop animations

Post by Zarel »

For most models, it would mainly be texture animations, though.
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: prop animations

Post by i-NoD »

Zarel wrote:For most models, it would mainly be texture animations, though.
Yeah! Unsure about using 3d animation but I thought about making some texture animations sometime ago, since it's much easier to implement... let's say for object 'default' action... like moving for vehicles, production for structures, research for lab. I had a working prototype for vehicles with my ScavJeep, the texture still contain three copy of the wheel (dirt in different places and so on...), it's just an another variation of team coloring tech. The main obstacle on this way is how to combine current team coloring with texture animation without enormous amount of frames... i was how ended up with the TCMask patch... but there is some stall lately :|
User avatar
Avestron
Trained
Trained
Posts: 314
Joined: 03 Jul 2009, 02:23

Re: prop animations

Post by Avestron »

Per wrote:Go for it!

I don't think it will make any big difference performance-wise, actually. (This may be a bit counter-intuitive at first, but you have to realize that with modern 3D graphics systems, everything is redrawn anyway for each frame, and so swapping certain elements between individual frames, as you do in animations, does not necessarily hurt performance.)
So does this mean that the same 4 pie files are constantly being called to redraw a unit the terrain?

If so then would an alternation between several propulsion pie files (3 files for hexagonical wheels/ 2 files for octagonical wheels), each in a different stage of rotation (one intermittant stage for octagonicals, two intermittant stages for hexagonicals) generate an illusion of motion, particularly if the rate at which the program interchanges these is based on land speed?

Just wondering.
Image
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: prop animations

Post by Per »

Avestron - you do not need different PIE files for that. Each PIE file may have several meshes (called "levels") inside it that you can use for animation. See for example the oil derrick PIE and corresponding ANI file.
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: prop animations

Post by Mysteryem »

XANAX, it would be very helpful if you explained how do so.
Pie slicer crashes all the time whenever I try and animate anything in it, I'm not sure but I think creating seperate submodels or Levels also crashes it. Does this happen to anyone else? I've attempted to edit the files manually, but got wierd results.
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
User avatar
XANAX
Trained
Trained
Posts: 189
Joined: 09 Jul 2009, 22:05

Re: prop animations

Post by XANAX »

pie slicer is very touchy I only use it for fixing some errors


I like blender better, it's just easier
User avatar
Avestron
Trained
Trained
Posts: 314
Joined: 03 Jul 2009, 02:23

Re: prop animations

Post by Avestron »

Per wrote:Avestron - you do not need different PIE files for that. Each PIE file may have several meshes (called "levels") inside it that you can use for animation. See for example the oil derrick PIE and corresponding ANI file.
Thanks for the explanation - I'm guessing that levels in PIE is an equivalent to layers in Blender.
Image
Post Reply