Renegade Projects Network Forums
multi missile problem - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Modding (https://forums.renegadeprojects.com/forumdisplay.php?fid=3)
+--- Forum: Red Alert 2 & Yuri's Revenge Editing (https://forums.renegadeprojects.com/forumdisplay.php?fid=8)
+--- Thread: multi missile problem (/showthread.php?tid=695)



multi missile problem - SSTG - 19.03.2007

Hey all I'm just had a scud launcher unit made for my mod but after I learned I had to use RP to clone a new system but I still get errors when its about to launch anyone know how its correctly done?


RE: multi missile problem - Bobingabout - 19.03.2007

you mean the V3/Dreadnaught missile system?


RE: multi missile problem - SSTG - 19.03.2007

Bobingabout Wrote:you mean the V3/Dreadnaught missile system?

yea using the V3, cruise, dread system


RE: multi missile problem - Guest - 19.03.2007

Hmm, I also have a problem when I try to clone the "FireAtSpecial" (to be used with V3Airburst), I added the new action but when I try to fire the weapon, only the countdown starts from the beginning. I even get the cursor and all...Any ideas? Arf


RE: multi missile problem - Nighthawk - 19.03.2007

Does the building have your weapon set as the Primary weapon? Also, if it's firing a V3-like rocket, it should probably have all the necessary Spawn tags (see the V3 code itself for that). Lastly, your structure should have EMPulseCannon=yes, and the weapon should have Report=Dummy if it's not meant to play a sound upon firing.


RE: multi missile problem - SSTG - 20.03.2007

Was that for my probelm or his problem?


RE: multi missile problem - Bobingabout - 20.03.2007

his -.-

to your problem, look at RockPatch_Docs:Creating_new_Missile_Types
to his problem: maybe its not working because the weapon itself is a dummy weapon that does nothing, and since it wasn't there originally, buildings might not be reading the spawner tags.


RE: multi missile problem - SSTG - 20.03.2007

thanks I'll give it ago


RE: multi missile problem - SSTG - 20.03.2007

I added the addition info to the rocket but everytime I order it to attack I get a IE

heres the code

Quote:[SCUDROCKET]
UIName=Name:SCUDROCKET
Name=SCUD missile
Image=SCUDROCKET
FireAngle=1
Strength=100 ;50
Category=AirPower
Armor=special_2
Spawned=yes
MissileSpawn=yes
TechLevel=-1
Sight=1
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Ammo=1 ;Aircraft are hard wired to require ammo
Speed=14
Owner=Russians,Confederation,Africans,Arabs,China,Nkorea
Cost=50
Points=25
ROT=3
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;Explodes=no
;MaxDebris=2

Explodes=yes
MaxDebris=20 ;150
MinDebris=16 ;100
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS7LG,DBRIS8SM

Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
MovementZone=Fly
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SmallGreySSys ; Sparks don't work well here. SJM
AuxSound1=V3Attack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes

Explodes=yes
MaxDebris=20 ;150
MinDebris=16 ;100
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS7LG,DBRIS8SM

Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
MovementZone=Fly
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SmallGreySSys ; Sparks don't work well here. SJM
AuxSound1=V3Attack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes
IsCustomMissile=yes ;this tells the game that this AircraftType is a custom missile type
MissileWarhead=V3WH
MissileEliteWarhead=V3EWH
MissilePauseFrames=20 ;How many frames the rocket pauses on the launcher before tilting
MissileAcceleration=0.8 ;This much is added to the missile's velocity each frame during launch
MissileAltitude=900 ;Cruising altitude in leptons: at this height missile BEGINS leveling off



RE: multi missile problem - Nighthawk - 20.03.2007

Hold on, are you building the rocket directly? Don't do that. The V3, Dreadnought and Cruise missiles are all unbuildable for a reason. If you are using a spawning building or unit, we'd need to see the building's code, not the rocket's.

Edit: Just realised that you have TechLevel=-1, so ignore what I said about building the rocket directly.


RE: multi missile problem - Bobingabout - 20.03.2007

why is a bunch of that code listed twice?

it should be simple, clone the V3rocket, then add those tags from the tutorial.


RE: multi missile problem - SSTG - 21.03.2007

I'll try deleteling this code and clone another v3 code then

edit
Still crashes when it tries to launch would I need to copy all the v3 codes or just the rocket one


RE: multi missile problem - Bobingabout - 21.03.2007

it could be the launcher code?


RE: multi missile problem - SSTG - 21.03.2007

I think I'm officially stumped I may have to change the cruise missile system to the one I want till I can get this sorted outBang head against wall

EDIT
Ok I feel very stupid right now the VXL and HVAfor the scudrocket was named SCUDM originally they were still named that
It works now just that it goes right through buildings and does'nt explode so I may have to tweak the projectile abit

Thanks for the help though

Could I suggest adding the other rocket controls as well just added those and they work fine with the others