I have developed a proximity mine calculation indicator, and incorporated it into my HUD. It helps me to make the calculation for prox distancing faster and in real time, so here is how I have done it. In Dialog.mdl, I have added a variable to the default HUD after the TargetSpeed variable, in this way:
Under this variable:
Code: Select all
TargetSpeed =
StringImage(
JustifyRight,
150,
smVerdana,
targetHudColor,
ConcatinatedString("SPEED: ", NumberString(GetSpeed(Target, OnEveryFrame)))
);
I have added this:
Code: Select all
Targetspeedx5 =
StringImage(
JustifyRight,
150,
smVerdana,
targetHudColor,
ConcatinatedString("SPEED x 5 ", NumberString(Multiply(5,GetSpeed(Target, OnEveryFrame))))
);
And under:
Code: Select all
TranslateImage(TargetSpeed, Point(92, 33)),
I have added:
Code: Select all
TranslateImage(Targetspeedx5 , Point(92, 23)),
Hope that y'all enjoy. This helps me out a whole lot. It does not provide information other than what we already have available to us to begin with, it just does a little math for me, so I can concentrate on flying without flying into rocks.
EDIT BY TB: Fixing up format to let people install this on their own.