Posted: Sun Jul 24, 2005 12:31 am Post subject:
Spy Plane Super Weapon (****)
Spy Plane Super Weapon
This tutorial will explain to you how to create a spy plane super weapon similar to that seen in RA1. Before we continue there are however some downsides to note.
* You will need to replace the Drop Pod Super Weapon.
* You will need to replace the animation of an infantry on fire (You may not need to do this, via a warhead edit).
* The infantry with ID's E1 and E2 will need to be used. You should clone the original E1 and E2 entries. It is advised you also edit the ai.ini with your new entries for the E1 and E2 replacement.
* You will need to replace some of the original Drop Pod animations with new ones. I have included a basic pack for download to do this.
The first step is to locate the DropPod settings in the rules.ini and edit them to the following change.
Code:
DropPodInfantryMinimum=1
DropPodInfantryMaximum=1
DropPodWeapon=none
AtmosphereEntry=SPYPAS -> this must be added to the animation list.
DropPod=INVISO6 -> this must be added to the animation list.
Also make sure to change the tag InfantryExplode.
Code:
InfantryExplode=none
After editing those sections move on to the E1 and E2 entries and change them to the following (note these were the samples used at the time).
Code:
; rifle soldier
[E1]
Name=Light Infantry
Category=Soldier
Primary=Minigun
Prerequisite=BARRACKS
CrushSound=SQUISH6
Strength=0.01
Pip=green
Armor=none
TechLevel=-1
Sight=5
Speed=5
Owner=none
Cost=100
Points=5
VoiceSelect=15-I000,15-I004,15-I012,15-I048
VoiceMove=15-I018,15-I024,15-I044
VoiceAttack=15-I044,15-I050,15-I044,15-I046
VoiceFeedback=15-I058,15-I064
VoiceDie=none
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
Elite=M1Carbine
EliteAbilities=SCATTER
ImmuneToVeins=yes
Insignificant=no
[E2]
Name=Disc Thrower
Category=Soldier
Primary=Minigun
Prerequisite=GAPILE
CrushSound=SQUISH6
Strength=0.1
Armor=none
TechLevel=-1
Pip=green
Sight=7
Speed=4
Owner=none
Cost=200
Points=5
VoiceSelect=15-I000,15-I004,15-I012,15-I048
VoiceMove=15-I018,15-I024,15-I044
VoiceAttack=15-I044,15-I050,15-I044,15-I046
VoiceFeedback=15-I058,15-I064
VoiceDie=none
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=InfantryDestroyer
ThreatPosed=15 ; This value MUST be 0 for all building addons
EliteAbilities=SCATTER
ImmuneToVeins=yes
Insignificant=yes
After editing the infantry you will need to create a new warhead. We'll call this AP6.
In the downloadable archive below are the animation files used for the Spy Plane graphics in this tutorial. They can be replaced with your own images or different names as long as you edit the rules.ini and art.ini code accordingly.
Current Bugs.
* When you fire the Spy Plane the EVA voice will say unit lost (this is because an E1 or E2 actually dies in the process). To stop this you can edit the Super Weapon code with a Charge Voice entry. I included voice entries in the archive file. Please note the voice files have to be in Speech01.mix and Speech02.mix.
Btw Ryan, can these parameters be edited in a map, not in rules? Cuz I extremely want both droppods and this stuff for special missions... _________________ in 2009 to Florence. Viva Italia! QUICK_EDIT
Most likely,but you may end up having an odd inafntry death unless you can code art.ini in maps too.(never modded maps).Anyway yes this should be very possible. _________________ QUICK_EDIT
Great! You can also give the infantry some poweful weapon like [Bomb] and give it Explodes=yes. Give the droppod image of a bomb. May act as an airstike... Although planes would be unshootable... _________________ in 2009 to Florence. Viva Italia! QUICK_EDIT
Updation.
Make sure your E1 and E2 have their primary=none and legaltarget=no,that will prevent the landed tropps firing before they die or the ai shooting the place where you choose to launch your spyplane.
Also;
Although I have not tested it should be easily possible to make the zone you wish to reveal bigger by.
DropPodInfantryMinimum=1 ----changing this
DropPodInfantryMaximum=1 ---- also this.
Example would be this
DropPodInfantryMinimum=5
DropPodInfantryMaximum=5
however this could make the unit lost voice have more chance of happening.
If you want a random ammount of revealed area,
simply make both the values different
Hmm,that is possible,I used the atmosphere entry tag,but im sure only one played when I did testing but there again I could be very wrong. _________________ QUICK_EDIT
I have said before,maybe on tumsun,that that does not work for me.I just cover the sound up anyway.
Also make sure your infantry are not worth anything,E1 and E2 that is. _________________ QUICK_EDIT
[xxPROJECILE_Axx]
**all necessary tags**
Splits=yes
AirburstWeapon=SpyPlaneFlyBy
Airburst=yes ;This tag makes sure that the plane appears in the sky, not on the ground.
3.
[SpyPlaneFlyBy]
Damage=1 ;does no damage
Range=50 ; should fly far away
Speed=50 ; you can make it slower if you want
Projectile=xxPROJECILE_Bxx
4.
[xxPROJECILE_Bxx]
**all necessary tags**
Airburst=yes ; makes sure it won't crash-land when disappear.
This could fit Nod with their stealth technology. The Spy plane needs to uncloak when taking pictures, then it cloaks back... _________________ in 2009 to Florence. Viva Italia! QUICK_EDIT
Thats the animation which kills the infantry that comes out of the drop pod.But the infantry dies so fast you dont see the infantry at all.I suppose you could just say thats a remmapable signal flare.
btw that is a custom animation sort of thing that I used to replace something during the test. _________________ QUICK_EDIT
Morpher's way is better. Its amazing what you can do with drop pods. I have a theory for dropping vehicles, by giving E1 and E2 as free units to 2 dummy buildings. Then you customize E1 and E2 to what you want to drop. _________________
Barely even worth mentioning but I have improved upon the grammar and layout of the original tutorial, but I haven't improved or expanded upon the method. It's simply a lot easier to read now.
I may do the same for any other tutorials or guides I have made. _________________ QUICK_EDIT
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