Saturday, 23 February 2013

[Script] Javelin/Stinger rocket lock

Started based on Modern Warfare 2 Javelin behavior and modified until reachs an behavior similar to real Javelin launchers, this was an interesting and, at same time, hard to do script. Requested by GoldenDarknezz, this script allows you to lock rockets on vehicles or ground and shoot with TOP attack or DIR (Direct? probably) attack mode, also have nightvision effect :)

Download: GTA 4 Mods (GTA Garage, MOD Db)

You can change to Stinger mode too (based on MW2 Stinger behavior)

The Nightvision effect its very cool and gives an real impression of nightvision if the objects are away and you are looking from a high position, this idea i used first in AC-130 script, but with an different way to make it work because in AC-130 we always look from high position and this makes it require less tricks to work properly.

The idea is:

-Draw an green rectangle in the entire screen with reduced alpha value
-List peds/vehicles (targets)
-Put Green lights between each target and the camera, for vehicels we need more lights to fill the vehicle surface, for example, an Bus needs four lights, an taxi car needs two
-Move the lights with the objects considering camera position too, the light will be always one or more steps in front of object

Seems to be simple? Yep, but its not hehe.








Related Posts:

  • [Update] Heli Combat v1.2Download: GTA 4 Mods (GTA Garage, MOD Db)News for Heli Combat script:Added customizable hotkeys, now you can set the keys for:Shoot - hkShoot=LButtonSwitch actual gun - hkSwitchGun=QSwitch camera - hkSwitchCam=XShoo… Read More
  • [TUT] Adding vehicles(without replace game vehicles)Today i wanna show how you can add vehicles to GTA IV without replace any game vehicle.This tutorial is based on this video.Easy wayDownload this file (press ctrl + s to save), extract the files to this folder:Open the&n… Read More
  • [Script] Heli CombatWhat about heavy armored choppers on Liberty City? This is what this mod brings to you, Heli Combat (Beta)Download GTA 4 Mods (GTA Garage, MOD Db)V1.1 - Train Derail + flares + fixesFeatures Spawn menu: Se… Read More
  • [TUT] Heli Combat - Creating custom helicopter configIn this video i try to explain with my bad english :( how to create an custom config for an helicopter in Heli Combat script.Resuming:Download the helicopter, install it, you can try to follow this tutorial to add the he… Read More
  • [TUT] Playing native sounds and external soundsOne interesting feature in scripts its the sounds, some effects become incomplete without the proper sound effect.*** Check new method to play external sounds simultaneously here :) ***Playing game soundsBasic requirements:-O… Read More

0 comments:

Post a Comment