Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 3:59 pm
All times are UTC + 0
Building Animation Framerate Fix
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Sat Nov 02, 2013 7:50 pm    Post subject:  Building Animation Framerate Fix
Subject description: Allows for slow-motion MK anims and much more
Reply with quote  Mark this post and the followings unread

Rate=XXX

Does not work with MK anims for buiildings.
Probably, it is fixed on 300

Also, they have frame/size limits.

Neither do "Next=" and other parameters. This I think is like that in original RA2.

But having it be considered as a valid flag relays many options... such as closer to RA3 style of building for soviets, or slow deploy for Empire of the Rising Sun buildings, and even Earth 2140 building or closer to Generals one with bulldozer that also build on battlefield.

So, you could have a Rate=60 for a slow MK anim, and control building time with that and numbr of frames on it, instead of only "sidebar building".

Of course this has a lot of other uses, like being able to build a lot of buildings at the same time (currently you are limited to two, one from tech and one from combat sidebar)

Even Age of Empires building style would be closer.

Possible aditionals: Anims that play during building animation like "active anims", instead of fire, sparks or something to signify activity. They would be looping.
Quote:
[BUILDINGNAME] ;(in art.ini)
Building.ActiveAnim=
Building.ActiveAnimZAdjust=
;(Etc. etc.)


Please consider it !  Smile  Very Happy  Very Happy  Very Happy
PD: Most important is the first request, the second one is only of minor importance I guess.

http://www.georgetenney.com/data/photos/174_1building_construction_machines_operating_industrial_commercial_photography_george_tenney.jpg

_________________

Back to top
View user's profile Send private message Visit poster's website
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Sat Nov 02, 2013 7:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Buildup 'animations' are not actual animations in the sense as active animations, explosions etc. are. The playback rate of the buildup sequence is directly tied to the actual buildup speed determined by [General] -> BuildupTime in rules(md).ini. Related to this is also why buildup sequences with larger amount of frames might not work, a problem described in more detail here.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Twitter Channel URL
ApolloTD
Commander


Joined: 19 Nov 2003

PostPosted: Sun Nov 03, 2013 8:11 am    Post subject: Reply with quote  Mark this post and the followings unread

In short, whole request would require retooling it entirely (AlexB is probably not thrilled to do it) whole thing as buildup is indeed NOT an normal animation that considers any keys given, they are all ignored no matter how you'd stuck in Rate or whatever...

Admittedly potential exists for some use, either way buildup stage even if prolonged would not be vulnerable to an attack typically like RA3 Soviet/EORTS and thus buildup could not be stopped by enemy action and you have only created building spam potential instead.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sun Nov 03, 2013 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

It's not even an animation, but a plain read SHP.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Fri Nov 08, 2013 1:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, AAIK, it reads some things, like Theater, and also it reads Reverse=yes, as I have tested

BuildupTime could also be modified... for use in a per-building base, as much of the other parameters have been?
This way it woudn't be necessary for it to be "completely recoded", just read in a per-case basis:
Buildup.Time=X.XX (In minutes)

Furthermore consider buildup animations are not only for the "deploy" manner with a ConYard, they are also used by deploying units. So you can have a peasant/worker (infantry coded like .shp vehicle) that deploys into a building slow-motion (as in GLA or approximate age of empires way). It is built for a while, Then the building gives you a worker back via FreeUnit=worker

Many more uses are possible.

In other case, Are you sure building cannot be attacked on building stage?
They can be attacked for example while they are selling, which is a reverse buildup animation

_________________

Back to top
View user's profile Send private message Visit poster's website
ApolloTD
Commander


Joined: 19 Nov 2003

PostPosted: Fri Nov 08, 2013 12:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Apparently they can, game is luckily not as dumb to treat it as mere animation and then place the building, still it starts with full hitpoints when best would be they would rather go up from zero during buildup.

Unfortunately...Factories allow produce and exit units even while buildup is still running....as is, the feature is partial fail unless non-factory and frankly unless Alex implement some routine to disable factory abilities until buildup has finished, its bugged :/

Also it should not provide build radius until finish building, but it does and power is also provided/taken... RA2 isn't really designed for this to work properly.

Back to top
View user's profile Send private message
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Nov 08, 2013 4:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Now something as simple as initializing a timer with reworked values suddenly became a lot of work to do...

Just for reference, this has been requested already.

Just speaking for myself: I got some other issues to fix first, before I'll come back to something like this. So don't hold your breath.

_________________

Back to top
View user's profile Send private message
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Fri Nov 22, 2013 2:48 am    Post subject: Reply with quote  Mark this post and the followings unread

"Apparently they can, game is luckily not as dumb to treat it as mere animation and then place the building, still it starts with full hitpoints when best would be they would rather go up from zero during buildup. "

No, full health is better. The RA3 does it with full health. o at least customize the option.

I think the timer should be done first... the rest of the implicancies are mostly redundant and can be adressed, via workarounds, IMO.

The radius for example as with deploy buildings is useless/irreevant, and so are many other stuff.

For other example, the "factory" can be done via an upgrade that is prerrequisite to build the units. Etc.

They would be nice "features" but with the Buildtime I will be happy enough, the rest can be handled via code.

_________________

Back to top
View user's profile Send private message Visit poster's website
ApolloTD
Commander


Joined: 19 Nov 2003

PostPosted: Sat Nov 23, 2013 7:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Full health during buildup makes no sense if you think about it and majority of RTS games actually have hitpoints go up along construction (supreme commander and so on)

Just because RA3 did it dumb, doesn't mean the same mistake has to be repeated here but to be fair, Alexb may not be too thrilled to go all the way making it actually increase in hitpoints style since more work...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2112s ][ Queries: 11 (0.0083s) ][ Debug on ]