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 Mon Nov 23, 2026 1:50 pm
All times are UTC + 0
Animated projectiles [Support request]
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Thu May 14, 2015 5:05 pm    Post subject:  Animated projectiles [Support request] Reply with quote  Mark this post and the followings unread

This is a very beginner-ish question but... how do I make a projectile animate? I have a projectile which works fine as an animation, but unlike the PULSBALL, which is also coded as both projectile and animation and does animate when used as projectile, my projectile only animates when used as animation - when used as projectile, it's frozen in Frame #1.

I suppose this hinges on AnimRate, AnimLow and AnimHigh, but I can't find information on what those flags do.

If anyone would explain it, I would also add this information to ModEnc right away, so there will be no need to ask again.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Last edited by Millennium on Thu May 14, 2015 6:43 pm; edited 1 time in total

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu May 14, 2015 6:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Use a voxel with animated .hva ?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu May 14, 2015 6:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

AnimRate works iirc exactly as an animation's Rate, AnimLow is equal to Start and AnimHigh equals to End.

Really really complicated.

_________________
"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
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Thu May 14, 2015 6:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

I will try it that way.
If it doesn't work, I'll have to wait till LKO maybe drops by and shares some insight.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu May 14, 2015 8:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

er, you knew the answer and you got it confirmed with explanation by GD.

Graion Dilach wrote:
AnimRate works iirc exactly as an animation's Rate

not exactly. more like WalkRate or TrailerSeperation, since AnimRate=1 is fastest.

G-E wrote:
Use a voxel with animated .hva ?

does not work. (at least not in TS. no clue if RA2 or Ares supports this)

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Thu May 14, 2015 9:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Okay, the AnimRate part was the missing link. I've been trying higher and higher numbers because I thought obviously that it works the same way as Rate... but if lower means faster, I've been slowing down (hence "freezing") my projectile all the time. Well, issue solved. Thanks everyone.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Fri May 15, 2015 3:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
G-E wrote:
Use a voxel with animated .hva ?

does not work. (at least not in TS. no clue if RA2 or Ares supports this)

The missile shot from my Typhoon onto land spins, it's a plain arcing voxel projectile.

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


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Fri May 15, 2015 8:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, there we have it. It's possible to animate projectiles via .hva. I've never even thought of that possibility before and it's the first time I even hear of anyone trying it out, but good to know!

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

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


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat May 16, 2015 12:01 am    Post subject: Reply with quote  Mark this post and the followings unread

In extension of projectile-related questions (I don't think this warrants a new thread of its own), is it possible to make remapable shp projectiles? Voxel projectiles of course work by using Color= on the projectile entry, but does it work for SHPs also?

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat May 16, 2015 2:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Maybe FirersPalette? I don't recall having much success trying to do that eons ago, but who knows, maybe I did it wrong.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat May 16, 2015 8:54 am    Post subject: Reply with quote  Mark this post and the followings unread

FirersPalette works (that allows dogs not losing remap while jumping). And that's the only way, because overriding it with Ares CustomPalette kills remap.

_________________
"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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 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.2623s ][ Queries: 9 (0.0099s) ][ Debug on ]