g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
16 years ago
i want to make a realistic scud launcher,
here is what i've done:

Weapon SCUDLauncherGunExplosive
PrimaryDamage = 750.0
PrimaryDamageRadius = 100.0
SecondaryDamage = 500.0
SecondaryDamageRadius = 120.0
ScatterRadiusVsInfantry = 30.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 500.0
MinimumAttackRange = 350.0
PreAttackDelay = 500
PreAttackType = PER_SHOT ; Do the delay every single shot
DamageType = EXPLOSION
DeathType = EXPLODED
FireFX = FX_ScudLauncherIgnition
ProjectileObject = SCUDMissile
ProjectileExhaust = ScudMissileExhaust
VeterancyProjectileExhaust = HEROIC HeroicScudMissileExhaust
ProjectileDetonationFX = WeaponFX_SCUDMissileDetonationExplosive
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
FireSound = ScudLauncherWeapon
DelayBetweenShots = 0
ClipSize = 1 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 1500 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE
ShowsAmmoPips = Yes

ProjectileCollidesWith = STRUCTURES

WeaponBonus = PLAYER_UPGRADE DAMAGE 125% ; AP rockets upgrade for SCUD launcher
End

but what i want is that the scudlauncher reload by the armsdealer
but it doesn´t work,
i think it has something to do with:
AutoReloadsClip = RETURN_TO_BASE

if somebody knowns how to do this, i'm thankfull!
Sponsor
Annihilationzh
16 years ago
Impossible unless you give it a slot at an airfield. Which would look very odd and probably wouldn't work anyway.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
bel3ve
16 years ago
Might work is he added a slot but where would it be at the arms dealer?
UserPostedImage
g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
16 years ago
mmmhh... but if i change something by the arms dealer, that he reload just like you repair your vehicle?
beng
  • beng
  • 66.5% (Friendly)
  • Captain
16 years ago
I think you will have to give your arms dealer parkingplacebehavior and give the scud launcher JetAI instead of AIupdateInterface.

And i don't know if JetAI will work with the scud launcher locomotor so if not you may have to make a new locomotor that makes it hover on the ground.