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 10:48 am
All times are UTC + 0
Tsunami Tank Barrier (Iron Curtain)
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
geof101
Rocket Infantry


Joined: 30 May 2012

PostPosted: Sat Jun 02, 2012 11:37 pm    Post subject:  Tsunami Tank Barrier (Iron Curtain) Reply with quote  Mark this post and the followings unread

I don't know if there is a tut about this already, but i want to share codes for this, and it may be improve more Smile The tsunami tank can't attack while it's on barrier, like the tsunami tank in RA3. Just tell me if anything goes wrong

[Warheads]
xx=BarrierWH
xx=IronBWH

[Particles]
xx=Spark2

[ParticleSystems]
xx=Spark2Sys


[TSUN]
UIName=Name:TSUN
Name=Tsunami Tank
Prerequisite=GAWEAP,GATECH
Primary=120mm
ElitePrimary=120mmE
Secondary=Barrier
Strength=500
Category=AFV
Armor=heavy
Crusher=yes
TooBigToFitUnderBridge=true
TechLevel=5
Sight=8
Speed=6
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
Cost=1400
Soylent=700
Points=25
ROT=4
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=GrizzlyTankMoveStart
CrushSound=TankCrush
Maxdebris=2
; origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
;MovementZone=Destroyer ;gs FLAW needs to be changed to this when The Flaw is fixed
MovementZone=AmphibiousDestroyer
SpeedType=Amphibious
ThreatPosed=15 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ImmuneToVeins=yes
Size=3
BuildTimeMultiplier=1.5;Individual control of build time
AllowedToStartInMultiplayer=no
CanPassiveAquire=yes
IsTilter=yes
Turret=yes
Deployer=yes
DeployFire=yes
UndeployDelay=700


[Barrier]
Damage=1
ROF=1500
Range=1
Projectile=InvisibleLow
Speed=100
AreaFire=yes ; just shoot straight at ground under feet
FireOnce=yes ; Only fire once; don't stay in attack mission
Warhead=BarrierWH
Report=ForceShieldStarting
Burst=1
Bright=yes
Anim=IRONBEAM ;it depends on you if you want other anim


[BarrierWH]
CellSpread=.5
Wall=yes
Wood=yes
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,60%,100%
Particle=Spark2Sys


[IronBWH]
CellSpread=1.2
Wall=yes
Wood=yes
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,60%,100%
IronCurtain=yes ; this turn on new feature


[IronBWH]
CellSpread=1.2
Wall=yes
Wood=yes
Verses=0%,0%,0%,100%,100%,100%,0%,0%,0%,60%,100%
IronCurtain=yes ; this turn on new feature


;For Particle
[Spark2]
Image=IRONBLST
MaxDC=60
MaxEC=50
Damage=10
StartFrame=0
EndStateAI=20;12
;Translucency=50
WindEffect=0
BehavesLike=Gas
StateAIAdvance=4
DeleteOnStateLimit=yes
Damage=1500
Warhead=IronBWH


[Spark2Sys]
HoldsWhat=Spark2
BehavesLike=Spark
ParticleCap=6;gs12
SparkSpawnFrames=2
LightSize=25 ; SJM 07-12-2000: Made lighting more effective so that smaller radii may be used
SpawnSparkPercentage=100



1.jpg
 Description:
 Filesize:  531.68 KB
 Viewed:  3547 Time(s)

1.jpg



2.jpg
 Description:
 Filesize:  536.08 KB
 Viewed:  3547 Time(s)

2.jpg



3.jpg
 Description:
 Filesize:  533.2 KB
 Viewed:  3547 Time(s)

3.jpg



Back to top
View user's profile Send private message Twitter Channel URL
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Jun 03, 2012 10:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

There is not tutorial because this is basic knowledge.

_________________
"I'll be staying strapped cuse my mac-eleven make my nuts bigger"

Back to top
View user's profile Send private message
Anderwin
General


Joined: 16 May 2005

PostPosted: Sun Jun 03, 2012 11:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

ArvinCool wrote:
There is not tutorial because this is basic knowledge.


So you mean all should know this stuff? Don't be a ass and lets newbie and noobs learn.

Nice tut dude!

_________________
Can you hide from me Wink?

Back to top
View user's profile Send private message Visit poster's website Skype Account
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Jun 03, 2012 11:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Okey. But I think he over-complicated this a lot. Why use particles?
Here is a simpler one:

Code wrote:
[TSUNAMI]
UIName=Name:TSUNAMI
Name=Tsunami Tank
Prerequisite=NAWEAP
Strength=1800
Category=AFV
Armor=heavy
Turret=no
IsTilter=yes
Primary=120mm ;Default weapon, attacking anyone
ElitePrimary=120mmE
Secondary=IronProtect ;Self-invincible maker
Deployer=yes
DeployFire=yes

TargetLaser=no
TooBigToFitUnderBridge=false
TechLevel=3
Sight=8
Speed=6
CrateGoodie=yes
Crusher=no
Crushable=yes
Owner=Russians
Cost=1200
Soylent=900
Points=10
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
CreateSound=
CrushSound=TankCrush
Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
Accelerates=false
SpeedType=Foot
MovementZone=Normal
ThreatPosed=30
Weight=7
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF,CLOAK
Size=5
OpportunityFire=no
AllowedToStartInMultiplayer=no
DamageSelf=yes

[IronProtect]
Damage=1
ROF=500
Range=3
Areafire=yes
Projectile=Invisible
Speed=100
Warhead=IronProtectWH
Report=StunnerCu
OmniFire=yes
AreaFire=yes
Anim=;Optional

[IronProtectWH]
CellSpread=.5
IronCurtain.Duration=500
Verses=0%,0%,0%,100%,100%,100%,100%,100%,100%,100%,100%
AnimList=IRONCUDUST;Optional

_________________
"I'll be staying strapped cuse my mac-eleven make my nuts bigger"

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


Joined: 05 Oct 2011

PostPosted: Sun Jun 03, 2012 11:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Though I think you can also increase the animation longer to make it last long enough as the effect you'd probably need to create a new Animation SHP.

And Ares supports Custom Palette and allows you to make a custom Iron Curtain too. Specifically this:

Code:
[b]Iron Curtain Effect[/b]

The Iron Curtain effect can now be given to or removed from units and buildings using new Ares warhead settings.

[b][Warhead]►IronCurtain.Duration= (integer)[/b]
    If positive, endows the target unit with the Iron Curtain effect for the specified number of frames. If negative, the Iron Curtain effect duration will be reduced by this number of frames. Use IronCurtain.Cap= below to have the effect duration be cumulative rather than absolute. IronCurtain.Duration defaults to 0 (no Iron Curtain effect).

[b][Warhead]►IronCurtain.Cap= (integer)[/b]
    If this value is negative the IronCurtain.Duration is absolute and will not stack up if a target is fired upon multiple times. If this value is 0 the effect duration can stack up indefinitely. Otherwise the Iron Curtain effect can not stack up to durations longer than this value – except for when a unit's duration already is higher and IronCurtain.Duration isn't negative (the duration will not be decreased, then). IronCurtain.Cap defaults to -1 (non-stacking, absolute duration).

To change the effect the Iron Curtain has on specific units:

[b][TechnoType]►IronCurtain.Modifier= (multiplier)[/b]
    If the Iron Curtain effect duration is positive it will be multiplied by this factor. Use 0% to create a unit that can not be affected by the Iron Curtain. IronCurtain.Modifier defaults to 100%.

Quickstart: To have a unit protect a target for ten seconds, set [Warhead]►IronCurtain.Duration=150. To allow the Iron Curtain duration to stack up to one minute, set [Warhead]►IronCurtain.Cap=900. To remove the Iron Curtain effect altogether, set [Warhead]►IronCurtain.Duration=-1 and [Warhead]►IronCurtain.Cap=0 (remove one frame but have the resulting number of frames not exceed 0).

If a weapon deals conventional damage and applies the Iron Curtain at the same time, the damage will be dealt first. InfantryTypes and Organic=yes units will always get killed instantaneously.

This feature works with CellSpread to affect multiple targets. AffectsAllies and AffectsEnemies are respected. A unit does not get the Iron Curtain effect if Verses is equal to 0%, otherwise the target is endowed with the full effect.


I'd then give the new Iron Curtain Effect a more suitable color (Teal or Bluegreen) then make repeat the animation about three times on the SHP.

Then adjust accordingly until you the same duration of the animation as the cooldown.

_________________
~ Excelsior ~

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: Mon Jun 04, 2012 7:01 am    Post subject: Reply with quote  Mark this post and the followings unread

ArvinCool wrote:
Why use particles?


Why? Because if you use country/difficultyROFmultipliers or ROF VeteranAbility (which you did, FAIL) the Iron Curtain will go out of sync.

Either Ammo or Particles, only those two are real constants, iow can't be changed in a game via any way.

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jun 04, 2012 9:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Why?Iron curtain?Use attach effect to increase armor.
@Graion Dilach
and firing animation with iron curtain damage

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jun 04, 2012 9:32 am    Post subject: Reply with quote  Mark this post and the followings unread

AttachEffect in NPatch? I thought it was me who inventrd it first. #Tongue

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


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jun 04, 2012 9:45 am    Post subject: Reply with quote  Mark this post and the followings unread

I mean Ares,certainly

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Mon Jun 04, 2012 9:57 am    Post subject: Reply with quote  Mark this post and the followings unread

But original poster uses NPatch from the code and 'til 0.2 isn't out, I won't give out AE to the public, neither.

_________________
"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
geof101
Rocket Infantry


Joined: 30 May 2012

PostPosted: Mon Jun 04, 2012 11:32 am    Post subject: Reply with quote  Mark this post and the followings unread

ArvinCool wrote:
There is not tutorial because this is basic knowledge.



it is because, i'm using NPSE, and i just shared codes to those who still don't this. and, it is a bit confusing for others (i guess) for Npatch users, when you directly put the IronCurtain=yes tag to the warhead of your primary weapon, it won't affect the shooter of the weapon, it will only affect the surrounding units. just sharing^^

Back to top
View user's profile Send private message Twitter Channel URL
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jun 04, 2012 2:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you are using ext ,why not use firing animation to carry the iron curtain damage,particle is rather unstable


AttachEffect will be perfect for the nano armor

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
geof101
Rocket Infantry


Joined: 30 May 2012

PostPosted: Mon Jun 04, 2012 3:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

i'm not using npext as of now, for some reasons, i get an ie when i'm using ext, it messes up my codes Sad or the other way around, anyway, particles does it for me, as i've said, it could still be improved, and you can hace your choice what to use in order to have the nano effect Very Happy

Back to top
View user's profile Send private message Twitter Channel URL
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Mon Jun 04, 2012 4:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Won't use.Bad simulation.

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 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.2179s ][ Queries: 16 (0.0139s) ][ Debug on ]