Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Whip's Multi-Group Weapon Salvo Script v30 - Revision: 10/9/17
- ////PUBLIC RELEASE////
- HOWDY!
- ______________________________________________________________________________________
- Setup Instructions:
- 1.) Create a timer. Assign the actions to the following:
- * "trigger now" itself
- * "start" iteself
- * Run this program with default argument
- 2.) Start the timer
- 3.) Make a group of your weapons with the name "Salvo Group <unique tag>" where <unique tag> is a unique word or phrase
- 4.) You can make as many salvo groups as you want!
- ______________________________________________________________________________________
- Arguments:
- Type in these arguments without quotes. Arguments are case INSENSITIVE.
- These arguments can be input manually to the program argument field,
- this program's Custom Data, through timers, or through sensors.
- In the Custom Data, command lines can be seperated with semi-colons, or they can each have
- their own lines.
- ///Basic Argument Syntax///
- <Group name tag>:<command 1>
- /// Advanced Argument Syntax ///
- You can also execute several commands to the same group.
- <Group name tag>:<command 1>:<command 2>
- /// Multi-Group Command Syntax ///
- You can also execute several commands to several different groups in one line
- <Group 1 name>:<command 1>:<command 2>;<Group 2 name>:<command 1>:<command 2>
- /// Available commands ///
- RPS <number>
- Changes the rate of fire in rounds per second.
- * [Maximum RPS] = [Standard RPS] * [Number of sequenced weapons]
- NOTE: The script will round this number, this is not a bug!
- RPM <number>
- Changes the rate of fire in rounds per minute.
- * [Maximum RPM] = 60 * [Standard RPM] * [Number of sequenced weapons]
- NOTE: The script will round this number, this is not a bug!
- delay <integer>
- Sets number of ticks between shots (60 ticks = 1 sec)
- default
- Lets the script to set the fire rate automatically based on the number of
- available weapons (using the default fixed rocket rate of fire). The script
- will attempt to fire ALL sequenced weapons in the span of ONE second with
- this particular setting.
- fire_on
- Toggles fire on only
- fire_off
- Toggles fire off only
- fire_toggle
- Toggles fire on/off
- ______________________________________________________________________________________
- Examples:
- "Salvo Group 1 : fire_on"
- Toggles the weapons' firing on and use default rate of fire in any group with
- "Salvo Group 1" in its name
- "Salvo Group 2 : default"
- Resets the default rate of fire in any group with "Salvo Group 2" in its name
- "Salvo Group 3 : rpm 10 : fire_toggle"
- Sets the rate of fire to 10 rounds per minute and toggles firing in any group
- with "Salvo Group 3" in its name
- "Salvo Group 1 : rps 10 ; Salvo Group 2 : rps 5"
- Sets the rate of fire to 10 rounds per second on any any group named "Salvo Group 1"
- and also sets the rate of fire to 3 rounds per second on any any group named "Salvo Group 2"
- "potato : delay 3"
- Sets the delay between shots to 3 ticks in any group with "Potato" in its name
- ______________________________________________________________________________________
- Author's Notes:
- If you have any questions feel free to post them on the workshop page!
- - Whiplash141
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement