Changes for 1.5

Changes for 1.5 - Radio Beacons currently broken
This commit is contained in:
Ciaran Fisher
2015-10-02 15:54:09 +01:00
parent 675f1f0d91
commit 7fbf385323
5 changed files with 6038 additions and 8 deletions
+12 -7
View File
@@ -13,7 +13,8 @@
Contributors: Contributors:
- Steggles - https://github.com/Bob7heBuilder - Steggles - https://github.com/Bob7heBuilder
Version: 1.29 - 09/09/2015 - Ability to Repair damaged HAWK systems in the field, even if parts have been destroyed Version: 1.30 - 02/10/2015 - 1.5 Compatible
- Ability to Repair damaged HAWK systems in the field, even if parts have been destroyed
- Ability to enable/disable pickup zones as well as limit them to a side - Thanks Steggles! - https://github.com/Bob7heBuilder - Ability to enable/disable pickup zones as well as limit them to a side - Thanks Steggles! - https://github.com/Bob7heBuilder
- Drop Off zones now configured per coalition - Drop Off zones now configured per coalition
- Fixed smoke for Drop off zones - Fixed smoke for Drop off zones
@@ -1557,10 +1558,10 @@ function ctld.checkHoverStatus()
end end
if _time > 0 then if _time > 0 then
ctld.displayMessageToGroup(_transUnit, "Hovering above " .. _crate.details.desc .. " crate. \n\nHold hover for " .. _time .. " seconds! \n\nIf the countdown stops you're too far away!", 10) ctld.displayMessageToGroup(_transUnit, "Hovering above " .. _crate.details.desc .. " crate. \n\nHold hover for " .. _time .. " seconds! \n\nIf the countdown stops you're too far away!", 10,true)
else else
ctld.hoverStatus[_transUnit:getName()] = nil ctld.hoverStatus[_transUnit:getName()] = nil
ctld.displayMessageToGroup(_transUnit, "Loaded " .. _crate.details.desc .. " crate!", 10) ctld.displayMessageToGroup(_transUnit, "Loaded " .. _crate.details.desc .. " crate!", 10,true)
if _transUnit:getCoalition() == 1 then if _transUnit:getCoalition() == 1 then
ctld.spawnedCratesRED[_crate.crateUnit:getName()] = nil ctld.spawnedCratesRED[_crate.crateUnit:getName()] = nil
@@ -1577,10 +1578,10 @@ function ctld.checkHoverStatus()
break break
elseif _height <= 7.5 then elseif _height <= 7.5 then
ctld.displayMessageToGroup(_transUnit, "Too low to hook " .. _crate.details.desc .. " crate.\n\nHold hover for 10 seconds", 5) ctld.displayMessageToGroup(_transUnit, "Too low to hook " .. _crate.details.desc .. " crate.\n\nHold hover for 10 seconds", 5,true)
break break
else else
ctld.displayMessageToGroup(_transUnit, "Too high to hook " .. _crate.details.desc .. " crate.\n\nHold hover for 10 seconds", 5) ctld.displayMessageToGroup(_transUnit, "Too high to hook " .. _crate.details.desc .. " crate.\n\nHold hover for 10 seconds", 5, true)
break break
end end
end end
@@ -1794,9 +1795,13 @@ function ctld.getFOBPositionString(_fob)
end end
function ctld.displayMessageToGroup(_unit, _text, _time) function ctld.displayMessageToGroup(_unit, _text, _time,_clear)
trigger.action.outTextForGroup(_unit:getGroup():getID(), _text, _time) if _clear == true then
trigger.action.outTextForGroup(_unit:getGroup():getID(), _text, _time,_clear)
else
trigger.action.outTextForGroup(_unit:getGroup():getID(), _text, _time)
end
end end
function ctld.heightDiff(_unit) function ctld.heightDiff(_unit)
+6025
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.