Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multi missile problem
#1
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?
Reply
#2
you mean the V3/Dreadnaught missile system?
Reply
#3
Bobingabout Wrote:you mean the V3/Dreadnaught missile system?

yea using the V3, cruise, dread system
Reply
#4
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
Reply
#5
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.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#6
Was that for my probelm or his problem?
Reply
#7
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.
Reply
#8
thanks I'll give it ago
Reply
#9
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
Reply
#10
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.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#11
why is a bunch of that code listed twice?

it should be simple, clone the V3rocket, then add those tags from the tutorial.
Reply
#12
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
Reply
#13
it could be the launcher code?
Reply
#14
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
Reply




Users browsing this thread: 1 Guest(s)