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 Wed Nov 25, 2026 9:11 am
All times are UTC + 0
AttachAnim with negative armor value?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
NimoStar
Commander


Joined: 07 Nov 2012
Location: Buenos Aires

PostPosted: Tue Mar 12, 2013 11:16 am    Post subject:  AttachAnim with negative armor value? Reply with quote  Mark this post and the followings unread

Is it true that attachanims in the prototype Ares version can use negative armor values, to diminish amor?

How would this be written?

If so, then, is it possible for this to be done: ...

- A laser weapon, which, when pointed at an enemy, does not do significant damge, but, using an AttachAnim on the warhead, makes it more vulnerable to other attacks.

-- Would it be comolatuive, or just 1 appliying at the same time?

It's to make the Guardian Tank: http://images4.wikia.nocookie.net/__cb20081028192323/cnc/images/1/19/RA3_GuardianTank1sm.jpg

_________________

Back to top
View user's profile Send private message Visit poster's website
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Tue Mar 12, 2013 12:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Its AttachEffect.Armor=.5 or something I think... Values are calculated similar to the Superweapon Timers (I.E: Armor=1 means no changes, 1.5 means the unit gets 50% more Armor)

Duration is calculated in frames similar to ROF (15 = 1 In-Game Second,etc.)

_________________
~ Excelsior ~

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


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Tue Mar 12, 2013 12:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

That's very possible, since it uses multipliers.

1.0 * damage value = same as damage value
2.0 * damage value = damage value multiplied by 2
0.1 * damage value = damage value divided by 10

EDIT: fixed modifiers to multipliers.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Last edited by RP on Tue Mar 12, 2013 8:55 pm; edited 1 time in total

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Tue Mar 12, 2013 1:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

https://github.com/Ares-Developers/Ares/wiki/AttachEffect-system

NimoStar, IIRC you was already pointed to the AE doc, wasn't you?

AttachAnim got superseded, when I added in effects, AttachAnim tag got renamed to AttachEffect.Animation and they are unrelated. It's not the animation which will (de)buff your unit, but the effect itself, and you don't need anims for every (de)buff at all.

Also, you could have seen AttachEffect.Cumulative there already.

Modifiers are not increase but multiplier values.

How would it be written... you should reread that doc and comprehend what is written there.

_________________
"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: Wed Mar 13, 2013 2:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ah, I see. Now I understand. But beffore every discussion was like "Attachanim"

Anyways I have not coded this tank yet, it will need two modes as RA2 targeting is awful... (if I want to pinpoint a Tank I have no way to command the unit to laser-target instead of cannon-fire)

_________________

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


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed Mar 13, 2013 6:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Every discussion older than a year, maybe. Recent ones, not really.

_________________
"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 [6 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.2588s ][ Queries: 9 (0.0156s) ][ Debug on ]