[OUTDATED] Whip's Weapon Sequencer [SINGLE GROUP]
Изображение 1 из 5. Материалы автора из Steam Workshop.
О материале
«[OUTDATED] Whip's Weapon Sequencer [SINGLE GROUP]» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
ATTENTION: This code has been replaced by my Weapon Salvo code!
Whiplash's Weapon Sequencing Script
Howdy!
Summary
This script sequences a group of fixed weapons so that you can achieve a faster continuous rate of fire. This script works with vanilla weapons AND modded ones! The script also supports various arguments to allow the user to customize various settings. The best part is that you only need one program and one timer for all of this! To fire the weapons tab in the "G" menu and go to weapons and tools, select the weapon that you wish to fire, then you can fire the weapons like you normally would. Additionally, weapons sequenced buy this script can be toggled via arguments with toolbar binds; see the arguments section for more info.
NEW: The code will now fire weapons in alphabetical order :D
[Maximum Sustainable Rate of Fire] = [Standard Rate of Fire] * [Number of sequenced weapons]
-
For small grid rocket launchers, the standard rate of fire is 1 rocket per second. Thus the maximum sustainable rate of fire for 3 sequenced rocket tubes is 1*3 or 3 rockets per second.
-
For LARGE grid rocket launchers, the standard rate of fire is 4 rockets per second. Thus the maximum sustainable rate of fire for 3 sequenced rocket tubes is 4*3 or 12 rockets per second.
NOTE: The script will round the RoF, this is not a bug!
Instructions
See the first three images for a visual tutorial :)
-
Create a program and load in this code
-
Create a timer. Assign the actions to the following:
-
"trigger now" itself
-
"start" itself
-
Run this program [NO ARGUMENTS YET!]
-
-
Add the phrase "[Sequenced]" into the name of weapons u want to sequence (without quotes)
-
Start the timer
Arguments
Type in these arguments without quotes. These arguments can be input manually,
through timers, or through sensors. Letter case is unimportant. Seperate
multiple arguments with a semicolon (see examples further down)
| Argument | Function |
|---|---|
| rate | changes the rate of fire in rounds per second |
| delay | changes delay between shots to be in terms of frames (60 frames = 1 second) |
| default | Lets the script to set the fire rate automatically based on the number of |
available weapons. The script will attempt to fire all sequenced weapons in the
span of one second with this particular setting. The script will start in this
mode by default |
| on | Toggles weapons firing on | | off | Toggles weapons firing off | | toggle | Toggles weapons firing on/off |
Examples
-
"on;default" will toggle the weapons on and use default rate of fire
-
"rate 10" will set the rate of fire to 10 rounds per second
-
"delay 3" will set the delay between weapons to 3 frames
FAQ
Q: Does the timer or the program block need to be named anything specific? A: Nope :)
Q: Why pick this script over other sequencers? A: Because it would make me feel awesome! Oh and because this script allows you to fire sequenced weapons with mouse click AND toolbar binds :D
Q: Why do you say "Howdy" so much? A: Because I am the loudest and proudest member of the Fightin' Texas Aggie Class of 2018!
Q: Can I modify your code? A: Of course! As long as you credit me for the original code I am totally cool with it. Just don't be like (https://imgur.com/a/k8rKN) is all I ask :)
Authors Notes
KSH Thread
Thanks to Ronin for suggesting an alphabetical sorting method :)
If you have any questions feel free to post them in the comments!
Whiplash141 - https://steamcommunity.com/id/Whiplash141/
Please do not send me random friend requests! Leave comments on my profile if you wish to contact me directly :)
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.