Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
thank you
Just remove this :
[
format ["Speed: %1 m/s | Elevation ASL: %2 m | Distance: %3 m | KE: %4 J | PE: %5 J | Accel: %6 m/s²",
round _speed, round _altitude, round _distanceTravelled, round _kineticEnergy, round _potentialEnergy, round _acceleration],
-1, -0.4, 5, 0, 0, 789
] spawn BIS_fnc_dynamicText;
inside the composition
Alternatively you could form the derrivative function of the speed vector,
or simply check the speed after a short time (of course considerin time whilst logging is at 10th speed):
_speed = vectorMagnitude velocity _projectile; #just fine
sleep 0.01; #wait 0.1 seconds in real time
_speed2 = vectorMagnitude velocity _projectile; #second speed
_acceleration = ((_speed - _speed2)*10) max 0; #difference in speed over 0.1s, *10 for 1s²
Accel: - %6 m/s² #add a minus since bullet is getting slower
It's a beautiful kill