Jump to content

Disable heatseek


Xwad

Recommended Posts

Posted

no im mean the Heatseek-missle. I mean when i target a vehicle with heatseeking rocket (id 36) then there will be a green point and after a few second it will switch to red color and if i shoot the vehicle then the projectile,rocket will folow the vehicle. And i want to disable that

Posted
no im mean the Heatseek-missle. I mean when i target a vehicle with heatseeking rocket (id 36) then there will be a green point and after a few second it will switch to red color and if i shoot the vehicle then the projectile,rocket will folow the vehicle. And i want to disable that

that can not fire the weapon until the target is pointed right ?

Posted

no. I mean disable the heatseek. i mean disable that the rocket cant follow the weapon. Making the heatseeking rocket like an rpg. Disable the heatseek that the rocket only can shoot.

Posted

No as fair i know, but you can create a style rocket launcher as you say: use

bindKey -- fire weapon 
createProjectile -- the missile 
getPlayerWeapon -- get if player is holding heatseek(id 36) in his hand. 
getElementPosition -- initial position where projectile is created 
  

Posted

But I just want to disable the crateprjectile following. I mean that I want to disable that if I shoot a car then the projectile will not follow the vehicle.

Posted
-- this would stop projectile from being created if it wants to target someone 
function disableHeatSeek() 
   if getProjectileTarget(source) then 
      cancelEvent() 
   end 
end 
addEventHandler("onClientProjectileCreation",root,disableHeatSeek) 

Posted

becaouse there are 2 teams and the 2 rocket have 2 different skins and team 1 uses weapon 35 and team 2 weapon 16

Posted

I don't think that's possible by one pre-made function, though you can make a function manually, then disable heatseek rpg fire inside it and create a manual explosion via createProjectile right on the aimed target.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...