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 Dec 27, 2024 6:00 am
All times are UTC + 0
Coding Questions Again...
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
Atomic_Noodles
Defense Minister


Joined: 05 Oct 2011

PostPosted: Fri Sep 07, 2012 5:40 am    Post subject:  Coding Questions Again... Reply with quote  Mark this post and the followings unread

I'm using Ares, just to clarify if this can be tweaked with Ares? So currently I'm trying to make the Forceshield also add a forcefield effect on infantry but they die when given the ability to target infantry.

Right now my Forceshield looks like this? No tweaks aside from the additional tags provided by Are.

Code:

[ForceShieldSpecial]
UIName=NOSTR:Psi Barrier ;Name:ForceShield
Name=Force Shield
IsPowered=true
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=5
Type=ForceShield
Action=ForceShield
SidebarImage=FORCICON
ShowTimer=no
DisableableFromShell=no ;yes
SpecialSound=ForceShieldFading;gs wildcard sound hook.  In this case, play at ForceShieldDuration - ForceShieldPlayFadeSoundTime after firing
StartSound=ForceShieldStarting;gs no anim to hook this on to, so hook it here.
FlashSidebarTabFrames=120; default is always, put 0 for never, or a number for x
SW.AffectsHouse=owner,allies,team
SW.AffectsTarget=land,water,empty,infantry,units,buildings
SW.RequiresTarget=land,water,empty,infantry,units,buildings
SW.FireIntoShroud=no
SW.RequiresHouse=none,owner,allies,team,enemies,all
SW.AITargeting=none
Range=3.4
LineMultiplier=3

_________________
~ Excelsior ~

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


Joined: 19 Nov 2003

PostPosted: Fri Sep 07, 2012 6:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Out of luck no doubt, Force Shield is basicly same as Iron Curtain and have the default behaviour of always killing infantry unless ARES dev write an exception to the logic.

Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Fri Sep 07, 2012 8:54 am    Post subject: Reply with quote  Mark this post and the followings unread

It also kills vehicles with Organic=yes, so keep that in mind when playing against the ants. Wink

BTW, IC on warheads also insta-kills infantry and Organic=yes stuff, so as for now, there is no way to make IC/FS work on those.

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


Joined: 05 Oct 2011

PostPosted: Fri Sep 07, 2012 10:25 am    Post subject: Reply with quote  Mark this post and the followings unread

So basically WW just cloned the Iron Curtain Logic then just added some additional functions to it like:

-New Report In/Out of SW Activation
-Additional Power Outage Logic
-Additional "Iron Curtain" Color

Hmm... i don't suppose the Hit Animation isn't shared? Since I'm hoping I could turn the Forceshield into one that damages non-FS'd enemies near it.

_________________
~ Excelsior ~

Back to top
View user's profile Send private message Visit poster's website
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Fri Sep 07, 2012 11:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Atomic_Noodles, yes, I think that Force Shield is based on Iron Curtain.

_________________

PPM Halloween Season 2021

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


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Sep 07, 2012 12:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Iron Curtain is exactly the same as Force Shield. For FS, one additional value is set, which decides which color to use (only used on buildings).

Power outage and sound effects are done by the SW, as well as the distinction of whether only buildings will be affected.

_________________

Back to top
View user's profile Send private message
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: 3.5654s ][ Queries: 11 (3.3619s) ][ Debug on ]