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 Apr 24, 2024 8:34 am
All times are UTC + 0
Recreating RA3 Natasha's abilities in YR.
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
mac402
Civilian


Joined: 13 Jan 2010

PostPosted: Thu Jan 14, 2010 1:03 pm    Post subject:  Recreating RA3 Natasha's abilities in YR.
Subject description: Multiple warhead effects on 1 weapon & airstrikes on vehicles.
Reply with quote  Mark this post and the followings unread

First of all hello, this is my first post on this forum. I've been tampering with YR editing for a while now and found many useful information here. Recently I was looking for a way to create a sniper commando from RA3  based on soviet female sniper shp by SSTG. Here are some interesting things I discovered that might be useful to some people.

OK! So first, I wanted a long range weapon good against infantry, that could also shoot through many targets at once. That can be done using railgun logic and making it invisible. However I also wanted it to disable vehicles (I settled for it, in RA3 she could kill vehicle crew) - that requires EMEffect= warhead. The problem is when you add the tag, the weapon stops dealing damage, and EMEffect will also "shoot through targets". This is how through trial and error I discovered that using railgun particle system you can have both a non-damaging warhead AND damaging warhead. Here is how:

Code:

[SVD] ;Natasha's sniper rifle
Damage=1600  ;EM effect duration
AmbientDamage=150 ;the damage
ROF=60
Range=16
Projectile=InvisibleLow
Speed=100
IsRailgun=true
AttachedParticleSystem=NewInvisibleSniper
Report=NatashaAttack
Warhead=NatashaWH
RevealOnFire=no ; Doesn't clear shroud when fired
FireOnce=yes

[NatashaWH] ;add to [WarheadTypes]
EMEffect=yes
Verses=200%,100%,100%,1%,1%,1%,0%,0%,0%,100%,0%
PenetratesBunker=yes
ImmunityType=EMP ;works with NPatch, add xx=EMP to [ImmunityTypes]
InfDeath=1
AnimList=PIFF
ProneDamage=100%
Bullets=yes

[NewInvisibleSniper] ;add to [ParticleSystems]
BehavesLike=Railgun
HoldsWhat=NewInvisibleSPart
Spawns=yes
SpawnFrames=1
SpawnRadius=1
Slowdown=.02
ParticleCap=1
SpawnCutoff=10
SpawnTranslucencyCutoff=11
SpiralDeltaPerCoord=0
ParticlesPerCoord=.05
SpiralRadius=0
MovementPerturbationCoefficient=0
PositionPerturbationCoefficient=0
VelocityPerturbationCoefficient=0

[NewInvisibleSPart] ;add to [Particles]
BehavesLike=Railgun
BehavesLike=Smoke
MaxDC=1
MaxEC=1
Warhead=HollowPoint4
Image=
Translucency=100
Velocity=5.0
Deacc=.05
WindEffect=0
DeleteOnStateLimit=yes
EndStateAI=50
StateAIAdvance=3


The important tags are adding Warhead= to the particle. You also need to add damage counter (MaxDC=) or you will get IE. I use HollowPoint4 but it doesn't seem to be important at all, as the weapon will deal damage specified by AmbientDamage= but all the warhead tags for this damage like InfDeath= and even Verses= are derrived from the warhead attached to your weapon, not the particle. I hope it sounds clear. Smile

The other thing is pretty simple compared to the above. It is how to target vehicles with airstrike weapon. So first we will need to change the way our secondary (airstrike) weapon is treated - we need it to be used the way primary weapon can be used (it's the only way I know to target units with it). I used infantry deploy logic:

Code:

[NATASHA]
...
Deployer=yes
DeployFire=yes


You will also need to modify the part of the artmd.ini file for the deploy animation (I used prone) like in the [GISequence].
Now change the airstrike warhead to target vehicles:

Code:

; Flare that calls in an airstrike
[AirstrikeFlare]
Verses=0%,0%,0%,1%,1%,1%,1%,1%,1%,0%,0%
Rocker=no
Sparky=no
Airstrike=yes


We are done. Now you can use your primary weapon to kill infantry, disable vehicles for a long time, and when you wish to call in an airstrike you deploy her and now can target buildings and vehicles with bombers! It is nigh impossible to hit a moving vehicle with the airstrike so first you must disable it, but than - instant kill. The whole code for her along with all the needed stuff is in the attachment. Overall I think it is a nice soviet alternative for Tanya - while Tanya is close range and rapid attack, Natasha is long range and delayed.

The issues present are:
- you won't get airstrike cursor or targeting laser for vehicles, even though the airstrike works
- you can deploy a unit in water (in my example I made her able to swim)

The resources used in the attachment belong to:

Soviet Female Sniper by SSTG (improved by Feillyne)
Natasha Volkova cameo by partyzanPaulZy
Badger Bomber by MPL
Sounds from RA3



natasha.zip
 Description:
Example file with rules, graphics and sounds.

Download
 Filename:  natasha.zip
 Filesize:  2.56 MB
 Downloaded:  1053 Time(s)



Key Words: #Tutorials #Modding #RedAlert2 #YurisRevenge #Rules.INI 

Back to top
View user's profile Send private message
Crap Guy
Soldier


Joined: 07 Dec 2009
Location: ???

PostPosted: Fri Jan 15, 2010 9:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Basic, commonsense. But I guess this tutorial is useful for the noobs like you.

_________________
ARSE (Ares) SUCKS!!! NP, HELL YESH!!!

Back to top
View user's profile Send private message
Blade
Cyborg Commando


Joined: 23 Dec 2003

PostPosted: Fri Jan 15, 2010 10:15 am    Post subject: Reply with quote  Mark this post and the followings unread

It may be fairly straight forward logic, but you've got some nerve calling anyone else n00b from what I've seen of your posts so far. Then again you are probably just trolling in this niche corner of the internet for some unfathomable reason.

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


Joined: 22 May 2008

PostPosted: Fri Jan 15, 2010 10:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Ignore that crap guy. After all, he is just a crap guy.

Back to top
View user's profile Send private message Send e-mail
wardeathfun
Commander


Joined: 01 Feb 2007
Location: Las Vegas, Nevada, USA

PostPosted: Fri Jan 15, 2010 10:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not everyone knows railgun and what it does.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Sat Jan 16, 2010 3:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Very nice tut for a civillian, thanks for contributing =D

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: 0.1731s ][ Queries: 13 (0.0116s) ][ Debug on ]