RHS Feedback

View Revisions: Issue #3977 All Revisions ] Back to Issue ]
Summary 0003977: Mi-24 9S475 script is unreliable
Revision 2018-02-11 13:54 by Sa-Matra
Additional Information I reviewed the script and decided to rewrite it to make it work in unscheduled environment to avoid being affected by script lag, as well as got rid of constant weapon deletion and re-addition. Instead of deleting weapons, it simply doesn't let you switch to guided weapons when you're not looking through scope and automatically switches when you change optics mode, script should be universal for any weapons in any cases as it checks for canLock config value.

https://pastebin.com/raw/ASnKkddu [^] (stabilization included)

Tested script in closed environment and it seems to work fine. Didn't test with AI or when saving\loading the game, though it should work fine.

Please feel free to use my script in the mod.
Revision 2018-02-11 10:33 by Sa-Matra
Additional Information I reviewed the script and decided to rewrite it to make it work in unscheduled environment to avoid being affected by script lag, as well as got rid of constant weapon deletion and re-addition. Instead of deleting weapons, it simply doesn't let you switch to guided weapons when you're not looking through scope and automatically switches when you change optics mode, script should be universal for any weapons in any cases as it checks for canLock config value.

https://pastebin.com/raw/Q6CJ3Ppi [^]

Tested script in closed environment and it seems to work fine. Didn't test with AI or when saving\loading the game, though it should work fine.

Please feel free to use my script in the mod.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker