Fast pace cellshading flying action. Soar the skies as you take on the most vicious enemies above the ground. Experience an airborne adventure in an all new art style that will take you to something different and exciting. With the possibility to add just about anything you can imagine into the game, the sky it's not the limit. It's just the beginning.

Forum Thread
  Posts  
Please Explain Missile Behaviour (Games : Vector Thrust : Forum : Mod Support : Please Explain Missile Behaviour) Locked
Thread Options
Nergal01
Nergal01 I stopped supporting Vector Thrust. AMA.
Nov 27 2014 Anchor

Especially TS, can you please explain the details about MissileBehavior part? I mean, these lines especially the endType and endVar

MBehav_2_endType = "0"
MBehav_2_endVar = "0"
MBehav_2_OffsetDist = "0"
MBehav_2_OffsetRandRange = "0"
MBehav_2_OffsetReCalTime = "0"
MBehav_2_OffsetReCalTimeRRange = "0"
MBehav_2_LFlightType = "0"
MBehav_2_LFlightVar = "0"
MBehav_2_CantLoseLock = "false"
MBehav_2_InertialGuidance = "false"
MBehav_2_RadarRefreshVar = "0"
MBehav_2_TrackSkillVar = "1"

Also, I assume that TrackType 1 = air only, 2 = ground only, 3 = both, but why AGMs often can lock on air targets gotta admit it's still a big plus for use against Ziz though?

Dec 22 2014 Anchor

I think the End Type refers to the Tracking Type, or what targets it can lock on to; 1 = air, 2 = ground, 3 = both.
EndVar probably refers to the distance or range in which to switch behaviour.
"MBehav_1_LFlightVar" I think refers to its projectile height (refer to AGM-65A)
not sure about the other values tho.

Dec 30 2014 Anchor

Sorry for the delay.

First this code is for when you want to the missile to behave in a specific way until a certain condition is met.
In the current build is no possible to fall back to a pervious build, so this is important to keep in mind.

MBehav_2_LFlightType =
//0- Normal flight
//1- flight leveled at world Y offset
//2- home towards target with Y offset
//3- flight leveled at tgt Y offset

MBehav_2_LFlightVar=
// the variable where you define the offset

MBehav_2_endType=
//0- Never ends
//1- After some time has passed
//2- When than the distance of the projectile to the target in 3D space is closer that the specifed value
//3- When than the distance of the projectile to the target in 2D space (the altitude is ignored) is closer that the specifed value

MBehav_2_endVar=
// the variable where you define the value for the _endType

MBehav_2_OffsetDist
//aims to the target with a spherical offset

MBehav_2_OffsetRandRange
//add a range of values to the spherical offset

MBehav_2_OffsetReCalTime
//the offset will be recalculated after this time in seconds as passed (0 means it won't be recalculated)

MBehav_2_OffsetReCalTimeRRange
//add a range of values to the recalculation time

MBehav_2_CantLoseLock
//it means the projectile will ignore the FOV values and it will never lose lock while in this behavior

MBehav_2_InertialGuidance
//when on it means it will aim towards the point he thinks the target will be when this project reaches destination, when off it will aim to the point where the target is at the moment

MBehav_2_RadarRefreshVar
//obsolete

MBehav_2_TrackSkillVar
//multiplies the default turn rate of the projectile

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.