Posted: Mon Dec 05, 2005 11:08 am Post subject:
2 weapons fire. [with Secondary=""]
To make 2 weapons fire
Set The secondary weapon have higher range than the Primary weapon
Quote:
if this is primary
[LargeLaser]
Range=15
Secondary like this
[LRM]
Range=25
and make secondary weapons projectile have "AG=yes"
If you make secondary and primary weapons range the same.
It will only fire the primary (and The secondary In Air if there is AA=yes)
But there is still bug, not actually a bug that crashes the game.
1. The Secondary Weapon will fire if the Primary weapon is out if range.
2. In command, The Unit will Move closer to fire its Primary weapon. (you get it? It will fire the secondary then walk closer to fire primary)
3. In Idle state, The unit will fire Secondary if the target is in range (Idle,not moving or moving). Then switch back to Primary when target closes in.
What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%
And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?
What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%
And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?
That won't work. The unit uses primary against everything, even if the damage would be 0 (or warhead 0%)for those it attacks . _________________
1. The Secondary Weapon will fire if the Primary weapon is out if range.
2. In command, The Unit will Move closer to fire its Primary weapon. (you get it? It will fire the secondary then walk closer to fire primary)
3. In Idle state, The unit will fire Secondary if the target is in range (Idle,not moving or moving). Then switch back to Primary when target closes in.
Remember the little bugs. If you want to shoot buildings. _________________
What if I change place of those and put to warhead that it shoots to infantry and light armored tanks (this to secondary weapon's warhead) : 100%,100%,0%,0%,0%
And warhead what shoots to buildings and heavy tanks (this to primary weapon's warhead) : 0%,0%,100%,100%,100% ?
That won't work. The unit uses primary against everything, even if the damage would be 0 (or warhead 0%)for those it attacks .
Yes, secondary to shoot the tanks and buildings and primary to infantry. That works (i've tried), (f**k, only little (maybe useful) change from Exile's tutorial) QUICK_EDIT
if you still cannot fire in RA2/YR.
Maybe the LandTargeting and NavalTargeting hacks
TS didnt have that two coz they have no Naval Vessels
So... Maybe this is not for RA2-YR.
Sorry to announce that this is not for RA2-YR
[Moddies pls split this and move to proper forum]
The Codes is this FOR TS/FS
i use this for walkers
[Mech]
Name=Mech
Prerequisite=NATECH,GAPLUG3
Primary=2ArmLaser
Secondary=2LRMRacks
Strength=1500
AllowedToStartInMultiplayer=no
Category=AFV
Nominal=yes
Armor=heavy
TechLevel=8
Sight=8
Speed=7
Owner=Nod
Cost=5000
Trainable=yes
SelfHealing=yes
Points=55
ROT=3
Explodes=yes
Crusher=yes
Explosion=TWLT100,S_BRNL58,S_CLSN58
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=6
Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
MovementZone=Destroyer
ThreatPosed=80 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=300, 300, 425
TiltsWhenCrushes=false
Weight=3.5
Accelerates=false
ZFudgeColumn=12
ZFudgeTunnel=15
ZFudgeBridge=25
[2ArmLaser]
Damage=30
ROF=50
Burst=2
Range=5.5
Speed=100
Warhead=Super
Report=BIGGGUN1
Charges=no
LaserInnerColor = 255,0,0
LaserOuterColor = 0,0,0
LaserOuterSpread= 20,40,40
LaserDuration = 15
Projectile=LLine2
IsLaser=true ; this flag tells the game to use the special laser draw effect
Its in Warhead to make it fire
for Primary= warhead verses must only in infantry,Light Tanks,Drones etc..
Secondary= medium,heavy tanks and buildings _________________
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