Posted by: g-ster - Sunday, August 9, 2009 11:12:57 AM
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!

Posted by: Annihilationzh - Sunday, August 9, 2009 12:01:35 PM
Impossible unless you give it a slot at an airfield. Which would look very odd and probably wouldn't work anyway.

Posted by: bel3ve - Sunday, August 9, 2009 12:12:33 PM
Might work is he added a slot but where would it be at the arms dealer?

Posted by: g-ster - Sunday, August 9, 2009 12:19:48 PM
mmmhh... but if i change something by the arms dealer, that he reload just like you repair your vehicle?

Posted by: beng - Monday, August 24, 2009 9:35:21 AM
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.