Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: soldat-game on February 19, 2016, 06:08:35 am

Title: Trajectory
Post by: soldat-game on February 19, 2016, 06:08:35 am
Script Name: Trajectory
Script Description: Use /trajectory <Player_ID> for see bullet trajectory.
Version: 1.0.0
Author: dominikk26
Compile Test: Passed
Core Version: 2.8.0+
Script Core: III
Script Language: None
Download: Attachment! Click here (http://polish-oneshoot.esy.es/index.php?action=dlattach;topic=10.0;attach=10) to download the latest version.
Code script: Click to view (http://pastebin.com/chtfuuaR)
Full Description:
Commands: /trajectory <Player_ID> - ON|OFF see player bullet trajectory.
Open ProjectLine.pas and set Range = 255; To you number expample Range = 100; Increase to see the long trajectories. Decrease to reduce the range to indicate the trajectory. The higher the need for greater power cpu.
Click here (https://www.youtube.com/watch?v=suUN4aClA4o) to see how instal and how use and previev :)
[youtube]https://www.youtube.com/watch?v=suUN4aClA4o[/youtube]
Thanks tk the formulas.
Title: Re: Trajectory
Post by: tk on February 19, 2016, 11:09:58 am
If it's the ballistic .dll, you also have atan2 there
Code: [Select]
function arctan2(X, Y: single): single; external 'arctan2@aim.dll';

and there you got a Linux version of the .dll
Title: Re: Trajectory
Post by: skrX on February 21, 2016, 07:54:41 am
interesting
Title: Re: Trajectory
Post by: Control on February 25, 2016, 09:24:51 am
very interesting