Airstrike
Call an airstrike either by throwing a supply signal or using a chat command (for players with permission and/or admin.)
umod.org
- Permissions
- Chat Commands
- Console Commands
- Cooldowns
- Strike Purchases
- Developer API
- Configuration
- Squadron Strike
Permissions
airstrike.signal.strike-- Allows players to use a supply signal to call an airstrikeairstrike.signal.squad-- Allows players to use a supply signal to call a squad strikeairstrike.purchase.strike-- Allows players to purchase an airstrikeairstrike.purchase.squad-- Allows players to purchase a squad strikeairstrike.chat.strike-- Allows players to call an airstrike via chat commandsairstrike.chat.squad-- Allows players to call a squad strike via chat commandsairstrike.ignorecooldown-- Players with this permission will not be affected by cooldowns
Chat Commands
/airstrike-- Show available airstrike commands/airstrike signal <strike/squad>-- Turn a supply signal into an airstrike make to call either a squad strike or airstrike (requires: airstrike.signal.strike or airstrike.signal.squad)/airstrike buy <strike/squad>-- Purchase an airstrike/squadstrike to current position (costs are set in the config, requires: airstrike.purchase.strike or airstrike.purchase.squad)/airstrike call <strike/squad>-- Call an airstrike/squadstrike on current position/airstrike call <strike/squad> <x> <z>-- Call an airstrike/squadstrike to the specified co-ordinates/airstrike call <strike/squad> <playername>-- Call an airstrike/squadstrike on another player (requires: airstrike.chat.strike or airstrike.chat.squad)
Console Commands
airstrike <strike/squad> random-- Call a strike to a random locationairstrike <strike/squad>-- Call a strike on a playerairstrike <strike/squad> <x> <z>-- Call a strike to co-ordinates X Y Z
Strike Purchases
Code:
"Cost to purchase a standard strike (shortname, amount)": {
"RP": 50,
"Economics": 100
},
Developer API
Code:
bool isStrikePlane(CargoPlane plane) // returns true if plane is a strike plane
Configuration
Code:
{
"Cooldown Options": {
"Squad cooldown time (seconds)": 3600,
"Strike cooldown time (seconds)": 3600,
"Use cooldown timers": true
},
"Other Options": {
"Broadcast strikes to chat": true,
"Can call squad strikes using a supply signal": true,
"Can call standard strikes using a supply signal": true,
"Random timer (minimum, maximum. In seconds)": [
1800,
3600
],
"Use random airstrikes": true,
"Use random squad strikes": true
},
"Plane Options": {
"Distance from target to engage": 900.0,
"Flight speed (meters per second)": 105.0
},
"Purchase Options": {
"Can purchase squad strike": true,
"Can purchase standard strike": true,
"Cost to purchase a squad strike (shortname, amount)": {
"metal.refined": 100,
"targeting.computer": 1,
"techparts": 50
},
"Cost to purchase a standard strike (shortname, amount)": {
"metal.refined": 50,
"targeting.computer": 1
},
"Require permission to purchase squad strike": true,
"Require permission to purchase strike": true
},
"Rocket Options": {
"Accuracy of rocket (a lower number is more accurate)": 1.5,
"Amount of rockets to fire": 15,
"Chance of a fire rocket (when using both types)": 4,
"Damage modifier": 1.0,
"Interval between rockets (seconds)": 0.6,
"Speed of the rocket": 110.0,
"Type of rocket (Normal, Napalm)": "Normal",
"Use both rocket types": true
}
}
