nuxil 2 Posted August 23, 2008 Beta out!! http://www.flashpoint1985.com/cgi-bin....t=75182 Share this post Link to post Share on other sites
HeinBloed 0 Posted August 25, 2008 Hi nuxil, maybe you are interested in this: Spike - Anti-Armour Missile System Share this post Link to post Share on other sites
nuxil 2 Posted August 25, 2008 Quote[/b] ]maybe you are interested in this: Spike - Anti-Armour Missile System Thats some really nice findings.. i like that.. it needs to be scripted the helicopter is kinda works like this if you have a gunner with you.. same on planes. on the aircraft i can add a action menu to activate the "spike" if your a single pilot. which can reactivate it later."turns on camera control". if the missile isnt dead by that time.. im gonna try make a infantery | vehicle "car" with spike Share this post Link to post Share on other sites
.kju 3245 Posted September 1, 2008 hey nuxil sorry for the late feedback. Very nice one mate. Rocket flies nicely and excellent interface and options! I was wondering if you really need that high frequency in the main tracking loop? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">while {(alive _missile) && dialog} do { //code sleep 0.001; }; Do you need through the vector.sqf three times if the mouse cursor is too far off? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> if (_mx < 0.490) then if (_mx < 0.450) then if (_mx < 0.375) then if (_mx > 0.510) then if (_mx > 0.550) then if (_mx > 0.625) then if (_my < 0.485) then if (_my < 0.375) then if (_my > 0.515) then if (_my > 0.625) then if (_my > 0.720) then Do you see other ways to optimize it to less then FPS hit? Again very nice work indeed. Share this post Link to post Share on other sites
nuxil 2 Posted September 2, 2008 hi Q. sleep 0.001; if i use a lower sleep value. the missile pitch up|down looks horrible. the movement is not smooth at all then i'll see if i can lower it too 0.01 instead <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> if (_mx < 0.490) then if (_mx < 0.450) then if (_mx < 0.375) then this is how sencetive the missile|bomb is in turning, if there was only one level of control to each side "right|left" it would be uncontroleble. using <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> if ((_mx < 0.490) && (_mx > 0.449))then so on seams to reduce fps even more if you used the script version.. you can adjust the arrays to a lower number to get less stearing. thats all in the readme! i know this reduced fps.. when im in center i get about 65-70 fps but more to the sides i go the less fps i get.. all the way down to 30. i tried many diffrent solutions.. but this if blocks seams to be the fastest way. without getting to much fps drop.. but im trying to find a better way to do this.. Share this post Link to post Share on other sites
.kju 3245 Posted September 2, 2008 thanks the the response nuxil! One more idea - would it possible to split the calc in two or more threads? Like the camera interference aspect probably does not need that high frequency? Share this post Link to post Share on other sites
nuxil 2 Posted September 2, 2008 Quote[/b] ]One more idea - would it possible to split the calc in two or more threads? Man do you read my mind i was thinking of doing that Share this post Link to post Share on other sites
nuxil 2 Posted September 3, 2008 i updated the script a bit you can get the file from http://rapidshare.de/files/40388307/tvs_v1.2.rar.html -reduced some fps drop: vector.sqf is only called once as it should be. -added higher fallspeed of ammo: forceing the ammo down a bit. -made the mousecontrol area gray instead of green the addon will be updated later Share this post Link to post Share on other sites