Download: GTA 4 Mods
This 1 im genuinely proud of, truly complex script, began with an request of CORE.MAX2010 to produce engine fire and jet sound for jets, when i finished this task i tested the thought of utilizing AI drivers in jets and worked very well, then the true complicated script started.
Controls:
To manage the jet:
W (accel.)
S (desaccel.)
A (or numpad four)
D (or numpad 6)
Shift (or numpad eight)
Manage (or numpad five)
numpad 7 - turn left
numpad 9 - turn appropriate
X - Switch cam
Correct click - Comply with missile/bomb with camera
Space shoot missiles
Numpad0 - Shoot cannon
Q - Drop bomb
E - Release flare to steer clear of missiles (hold to release 1 by one)
F - Enter Jet / Exit Jet / Eject (if flying)
Left/Correct support "drive" the jet whilst in the ground
- Spawn menu
Enter - Spawn pick Jet in spawn menu, hold shift to spawn and start flying
two - Spawn enemy
3 - Spawn fugitive
When on ground:
Left/Proper (or numpads 7/9) - turn left or right
S - Break
XBox 360 controller controls:
Hold left and correct Shoulders to see/hide jet spawn menu, use A to spawn on air or use X to spawn on ground
A - Shoot rockets
X - Shoot cannon
Y - Release flares
DPad Down - Drop bombs
B - Eject/Exit/Enter jet
Left Thumb stick - Pitch and Roll
Left/Correct Shoulder - Turn left or proper
Left Trigger - slow down
Right Trigger - Accelerate
You can have one particular list of jets to spawn, every a single with custom configuration for weapons, engines, flaps, etc
To generate the rocket lock function i should list the possible targets in a list of vehicles, then use this calc to see if the object is close to center of aiming position:
Dim tmpDist As Double = v.Position.DistanceTo(Game.CurrentCamera.Position)
Dim tmpPos As Vector3 = Game.CurrentCamera.Position + Game.CurrentCamera.Direction * tmpDist
If v.Position.DistanceTo(tmpPos) < (tmpDist / three) Then
' mark the car as an locked target...
end if
obs.: "v" is one particular vehicle in the possible targets list
The use of classes made effortless to make the enemy jets do the same rocket lock on the player and control they flight
[Script] Air Combat IV (AC-IV)
9out of 10 based on 10 ratings. 9 user reviews.
9out of 10 based on 10 ratings. 9 user reviews.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.