Anonymous | Login | 2024-11-21 15:44 CET |
My View | View Issues | Change Log | Roadmap | My Account |
View Revisions: Issue #3977 | [ Back to Issue ] | ||
Summary | 0003977: Mi-24 9S475 script is unreliable | ||
Revision | 2018-02-11 10:33 by Sa-Matra | ||
Description | "\rhsafrf\addons\rhs_optics\scripts\RHS_sight_9s475.sqf" script becomes unreliable with plenty of other scripts producing script lag: 1. Weapons can randomly be deleted and not re-added, forever leaving gunner seat without minigun or atgm launcher ([[https://steamuserimages-a.akamaihd.net/ugc/930427026037180089/2B40C42303146FD33216135EE5769FFAC06A8E8C/|Example [^] of this happening on live server]]) 2. Gunner memory point doesn't animate instantly after view mode change due to script lag, making you see holo sight through scope for few seconds |
||
Revision | 2018-02-11 10:33 by Sa-Matra | ||
Description | "\rhsafrf\addons\rhs_optics\scripts\RHS_sight_9s475.sqf" script becomes unreliable with plenty of other scripts producing script lag: 1. Weapons can randomly be deleted and not re-added, forever leaving gunner seat without minigun or atgm launcher (https://steamuserimages-a.akamaihd.net/ugc/930427026037180089/2B40C42303146FD33216135EE5769FFAC06A8E8C/ [^]) 2. Gunner memory point doesn't animate instantly after view mode change due to script lag, making you see holo sight through scope for few seconds |
||
Revision | 2018-02-11 10:34 by Sa-Matra | ||
Description | "\rhsafrf\addons\rhs_optics\scripts\RHS_sight_9s475.sqf" script becomes unreliable with plenty of other scripts producing script lag: 1. Weapons can randomly be deleted and not re-added, forever leaving gunner seat without minigun or atgm launcher (https://steamuserimages-a.akamaihd.net/ugc/930427026037180089/2B40C42303146FD33216135EE5769FFAC06A8E8C/ [^] notice no weapon in top right) 2. Gunner memory point doesn't animate instantly after view mode change due to script lag, making you see holo sight through scope for few seconds |
||
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. |
||
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. |
Copyright © 2000 - 2024 MantisBT Team |