Log in to reply
 

vehicle weapon editing problems



  • Okay. So I was trying to change vehicle weapon missiles rate of fire. I have changed parametres including timebetweenshots, animreloadrate,vehiclereloadtime and reloadtimeMP, SP. But nothing changed. It seems that some vehicle weapons with more rocket pods (buzzard, savage), do not change rate of fire cause when another missile releases, location from where the missile releases will be different. Same goes for multi barrel guns (halftrack dual mg, quadcannon,etc..) as well. Also for some vehicle weapons (APC SAM) does not even change missile speed or even range. How can I solve this problem?



  • @Zentoria
    Replace the original 'VEHICLE_WEAPON_SPACE_ROCKET' (keep a backup or your original obvs) in the 'weapons.meta' here:

    ...\mods\update\update.rpf\common\data\ai\weapons.meta

    with this:

            <Item type="CWeaponInfo">
              <Name>VEHICLE_WEAPON_SPACE_ROCKET</Name>
              <Model />
              <Audio>AUDIO_ITEM_VEHICLE_SPACE_ROCKET</Audio>
              <Slot />
              <DamageType>EXPLOSIVE</DamageType>
              <Explosion>
                <Default>DONTCARE</Default>
                <HitCar>DONTCARE</HitCar>
                <HitTruck>DONTCARE</HitTruck>
                <HitBike>DONTCARE</HitBike>
                <HitBoat>DONTCARE</HitBoat>
                <HitPlane>DONTCARE</HitPlane>
              </Explosion>
              <FireType>PROJECTILE</FireType>
              <WheelSlot>WHEEL_PISTOL</WheelSlot>
              <Group />
              <AmmoInfo ref="AMMO_SPACE_ROCKET" />
              <AimingInfo ref="PLANE_TARGETING_RESTRAINTS" />
              <ClipSize value="8" />
              <AccuracySpread value="1.000000" />
              <AccurateModeAccuracyModifier value="0.500000" />
              <RunAndGunAccuracyModifier value="2.000000" />
              <RunAndGunAccuracyMinOverride value="-1.000000" />
              <RecoilAccuracyMax value="1.000000" />
              <RecoilErrorTime value="0.000000" />
              <RecoilRecoveryRate value="1.000000" />
              <RecoilAccuracyToAllowHeadShotAI value="1000.000000" />
              <MinHeadShotDistanceAI value="1000.000000" />
              <MaxHeadShotDistanceAI value="1000.000000" />
              <HeadShotDamageModifierAI value="1000.000000" />
              <RecoilAccuracyToAllowHeadShotPlayer value="0.175000" />
              <MinHeadShotDistancePlayer value="5.000000" />
              <MaxHeadShotDistancePlayer value="40.000000" />
              <HeadShotDamageModifierPlayer value="18.000000" />
              <Damage value="1000.000000" />
              <DamageTime value="1.000000" />
              <DamageTimeInVehicle value="1.000000" />
              <DamageTimeInVehicleHeadShot value="1.000000" />
              <HitLimbsDamageModifier value="0.500000" />
              <NetworkHitLimbsDamageModifier value="0.800000" />
              <LightlyArmouredDamageModifier value="0.750000" />
              <Force value="10.000000" />
              <ForceHitPed value="10.000000" />
              <ForceHitVehicle value="10.000000" />
              <ForceHitFlyingHeli value="10.000000" />
              <OverrideForces />
              <ForceMaxStrengthMult value="1.000000" />
              <ForceFalloffRangeStart value="0.000000" />
              <ForceFalloffRangeEnd value="50.000000" />
              <ForceFalloffMin value="1.000000" />
              <ProjectileForce value="2000.000000" />
              <FragImpulse value="10.000000" />
              <Penetration value="10.000000" />
              <VerticalLaunchAdjustment value="0.000000" />
              <DropForwardVelocity value="0.000000" />
              <Speed value="7000.000000" />
              <BulletsInBatch value="1" />
              <BatchSpread value="0.000000" />
              <ReloadTimeMP value="7.000000" />
              <ReloadTimeSP value="7.000000" />
              <VehicleReloadTime value="7.000000" />
              <AnimReloadRate value="1.000000" />
              <BulletsPerAnimLoop value="1" />
              <TimeBetweenShots value="0.000010" />
              <TimeLeftBetweenShotsWhereShouldFireIsCached value="-1.000000" />
              <SpinUpTime value="0.000000" />
              <SpinTime value="0.000000" />
              <SpinDownTime value="0.000000" />
              <AlternateWaitTime value="0.100000" />
              <BulletBendingNearRadius value="0.000000" />
              <BulletBendingFarRadius value="0.000000" />
              <BulletBendingZoomedRadius value="0.000000" />
              <Fx>
                <EffectGroup>WEAPON_EFFECT_GROUP_ROCKET</EffectGroup>
                <FlashFx />
                <FlashFxAlt />
                <MuzzleSmokeFx />
                <MuzzleSmokeFxMinLevel value="0.000000" />
                <MuzzleSmokeFxIncPerShot value="0.000000" />
                <MuzzleSmokeFxDecPerSec value="0.000000" />
                <ShellFx />
                <TracerFx />
                <PedDamageHash />
                <TracerFxChanceSP value="0.000000" />
                <TracerFxChanceMP value="0.000000" />
                <FlashFxChanceSP value="0.000000" />
                <FlashFxChanceMP value="0.000000" />
                <FlashFxAltChance value="0.000000" />
                <FlashFxScale value="5.000000" />
                <FlashFxLightEnabled value="false" />
                <FlashFxLightCastsShadows value="true" />
                <FlashFxLightOffsetDist value="0.000000" />
                <FlashFxLightRGBAMin x="0.000000" y="0.000000" z="0.000000" />
                <FlashFxLightRGBAMax x="0.000000" y="0.000000" z="0.000000" />
                <FlashFxLightIntensityMinMax x="0.000000" y="0.000000" />
                <FlashFxLightRangeMinMax x="0.000000" y="0.000000" />
                <FlashFxLightFalloffMinMax x="0.000000" y="0.000000" />
                <GroundDisturbFxEnabled value="false" />
                <GroundDisturbFxDist value="5.000000" />
                <GroundDisturbFxNameDefault />
                <GroundDisturbFxNameSand />
                <GroundDisturbFxNameDirt />
                <GroundDisturbFxNameWater />
                <GroundDisturbFxNameFoliage />
              </Fx>
              <InitialRumbleDuration value="500" />
              <InitialRumbleIntensity value="0.001000" />
              <InitialRumbleIntensityTrigger value="0.000000" />
              <RumbleDuration value="400" />
              <RumbleIntensity value="0.005000" />
              <RumbleIntensityTrigger value="0.000000" />
              <RumbleDamageIntensity value="1.000000" />
              <NetworkPlayerDamageModifier value="1.000000" />
              <NetworkPedDamageModifier value="1.000000" />
              <NetworkHeadShotPlayerDamageModifier value="1.000000" />
              <LockOnRange value="0.000000" />
              <WeaponRange value="2500.000000" />
              <BulletDirectionOffsetInDegrees value="0.500000" />
              <AiSoundRange value="200.000000" />
              <AiPotentialBlastEventRange value="-1.000000" />
              <DamageFallOffRangeMin value="2500.000000" />
              <DamageFallOffRangeMax value="2500.000000" />
              <DamageFallOffModifier value="0.300000" />
              <VehicleWeaponHash>VEHICLE_DATA_SPACE_ROCKET</VehicleWeaponHash>
              <DefaultCameraHash />
              <CoverCameraHash />
              <CoverReadyToFireCameraHash />
              <RunAndGunCameraHash />
              <CinematicShootingCameraHash />
              <AlternativeOrScopedCameraHash />
              <RunAndGunAlternativeOrScopedCameraHash />
              <CinematicShootingAlternativeOrScopedCameraHash />
              <CameraFov value="45.000000" />
              <ZoomFactorForAccurateMode value="1.000000" />
              <RecoilShakeHash />
              <RecoilShakeHashFirstPerson />
              <AccuracyOffsetShakeHash />
              <MinTimeBetweenRecoilShakes value="150" />
              <RecoilShakeAmplitude value="1.000000" />
              <ExplosionShakeAmplitude value="-1.000000" />
              <ReticuleHudPosition x="0.000000" y="0.000000" />
              <AimOffsetMin x="0.000000" y="0.000000" z="0.000000" />
              <AimProbeLengthMin value="0.000000" />
              <AimOffsetMax x="0.000000" y="0.000000" z="0.000000" />
              <AimProbeLengthMax value="0.000000" />
              <TorsoAimOffset x="0.000000" y="0.000000" />
              <TorsoCrouchedAimOffset x="0.000000" y="0.000000" />
              <LeftHandIkOffset x="0.000000" y="0.000000" z="0.000000" />
              <ReticuleMinSizeStanding value="1.000000" />
              <ReticuleMinSizeCrouched value="1.000000" />
              <ReticuleScale value="1.000000" />
              <ReticuleStyleHash>WEAPON_VULKAN_GUNS</ReticuleStyleHash>
              <FirstPersonReticuleStyleHash>COCKPIT_VIEW</FirstPersonReticuleStyleHash>
              <PickupHash />
              <MPPickupHash />
              <HumanNameHash>WT_V_PLANEMSL</HumanNameHash>
              <MovementModeConditionalIdle />
              <StatName>ROCKET</StatName>
              <KnockdownCount value="-1" />
              <KillshotImpulseScale value="1.000000" />
              <NmShotTuningSet>Normal</NmShotTuningSet>
              <AttachPoints />
              <GunFeedBone />
              <TargetSequenceGroup />
              <WeaponFlags>Gun Vehicle EnforceAimingRestrictions</WeaponFlags>
              <TintSpecValues ref="TINT_DEFAULT" />
              <FiringPatternAliases ref="NULL" />
              <ReloadUpperBodyFixupExpressionData ref="default" />
              <AmmoDiminishingRate value="0" />
              <AimingBreathingAdditiveWeight value="1.000000" />
              <FiringBreathingAdditiveWeight value="1.000000" />
              <StealthAimingBreathingAdditiveWeight value="0.000000" />
              <StealthFiringBreathingAdditiveWeight value="0.000000" />
              <AimingLeanAdditiveWeight value="1.000000" />
              <FiringLeanAdditiveWeight value="1.000000" />
              <StealthAimingLeanAdditiveWeight value="0.000000" />
              <StealthFiringLeanAdditiveWeight value="0.000000" />
              <ExpandPedCapsuleRadius value="0.000000" />
              <AudioCollisionHash />
              <HudDamage value="0" />
              <HudSpeed value="0" />
              <HudCapacity value="1" />
              <HudAccuracy value="10" />
              <HudRange value="100" />
            </Item>
    

    It's basically a rapid firing 16 rocket burst (if you hold down fire, or single shot if tap) with no lock-on options available.
    If it works, you should be able to compare it to your own & get yours working.

    If it doesn't work, make sure you have:

            <Item type="CVehicleWeaponHandlingData">
              <uWeaponHash>
                <Item>VEHICLE_WEAPON_SPACE_ROCKET</Item>
              </uWeaponHash>
    

    set in the vehicle's 'handling.meta'.

    You shouldn't have any issues getting weapons to fire faster, but let me know if you're still having trouble after trying that & upload your edited 'weapons.meta' to somewhere like Mediafire & share the link so I can take a look :thumbsup:



  • okay. I have to mention that i'm using Redux btw.



  • @Zentoria
    I wouldn't have thought that would make any difference to weapon fire rate. :thumbsup:



  • Found what It was doing. alternatewaittime



  • @Zentoria said in vehicle weapon editing problems:

    alternatewaittime

    As soon as I read that, I remembered :rolling_eyes: (was like 4 yrs ago I did my weapons right enough)
    Glad you got caught it anyway, cheers for reminding me :thumbsup:


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.