Namenai il y a 7 ans
Parent
commit
cae95bfe6e

+ 1 - 1
Scripts/initPlayerLocal.sqf

@@ -13,7 +13,7 @@
 		[namUnit] execVM "scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\jumpHandler.sqf";
 		namUnit setVariable ["namJumpPackConfig", true, true];
 
-		hint parseText  format["<t color='#40e0d0'>Namenai's Horseborne JumpScript Protocal has been initiated.(HJS Protocal)</t> <img image='scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\horseborneImage.jpg' <img size='30' />"];
+		hint parseText  format["<t color='#40e0d0'>Namenai's Horseborne JumpScript Protocal has been initiated.(HJS Protocal)</t> <img image='scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\horseborneImage.jpg' <img size='10' />"];
 	};
 	
 }];

+ 2 - 2
Scripts/scripts/zeus3denScripts/playerBased/airborne/HJS Protocal/jumpAssinger.sqf

@@ -30,12 +30,12 @@ _namLongJumpVeloX=1;//meters/second
 
 
 //Short calculations
-_namShortJumpVeloY=sqrt(_2*-9.8*_namShortJumpDistY);
+_namShortJumpVeloY=sqrt(-2*-9.8*_namShortJumpDistY);
 _tShort=(-_namShortJumpDistY)/(-9.8);
 _namShortJumpVeloX=_namShortJumpDistX/(2*_tShort);
 
 //Long calculations
-_namLongJumpVeloY=sqrt(_2*-9.8*_namLongJumpDistY);
+_namLongJumpVeloY=sqrt(-2*-9.8*_namLongJumpDistY);
 _tLong=(-_namLongJumpDistY)/(-9.8);
 _namLongJumpVeloX=_namLongJumpDistX/(2*_tLong);