mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#Docu changes
This commit is contained in:
parent
8279ac79c8
commit
60a1ceb7a0
@ -827,6 +827,8 @@ do
|
|||||||
--
|
--
|
||||||
-- To award player with points, using the SCORING Class (SCORING: my_Scoring, CTLD: CTLD_Cargotransport)
|
-- To award player with points, using the SCORING Class (SCORING: my_Scoring, CTLD: CTLD_Cargotransport)
|
||||||
--
|
--
|
||||||
|
-- my_scoring = SCORING:New("Combat Transport")
|
||||||
|
--
|
||||||
-- function CTLD_Cargotransport:OnAfterCratesDropped(From, Event, To, Group, Unit, Cargotable)
|
-- function CTLD_Cargotransport:OnAfterCratesDropped(From, Event, To, Group, Unit, Cargotable)
|
||||||
-- local points = 10
|
-- local points = 10
|
||||||
-- if Unit then
|
-- if Unit then
|
||||||
@ -904,7 +906,7 @@ do
|
|||||||
--
|
--
|
||||||
-- my_ctld.useprefix = true -- this is true by default and MUST BE ON.
|
-- my_ctld.useprefix = true -- this is true by default and MUST BE ON.
|
||||||
--
|
--
|
||||||
-- ### 5.2 Integrate Hercules ground crew (F8 Menu) loadable objects (alternative method)
|
-- ### 5.2 Integrate Hercules ground crew (F8 Menu) loadable objects (alternative method, use either the above OR this method, NOT both!)
|
||||||
--
|
--
|
||||||
-- Integrate to your CTLD instance like so, where `my_ctld` is a previously created CTLD instance:
|
-- Integrate to your CTLD instance like so, where `my_ctld` is a previously created CTLD instance:
|
||||||
--
|
--
|
||||||
@ -931,6 +933,8 @@ do
|
|||||||
-- The script works on the EVENTS.Shot trigger, which is used by the mod when you **drop cargo from the Hercules while flying**. Unloading on the ground does
|
-- The script works on the EVENTS.Shot trigger, which is used by the mod when you **drop cargo from the Hercules while flying**. Unloading on the ground does
|
||||||
-- not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD (see 5.1).
|
-- not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD (see 5.1).
|
||||||
--
|
--
|
||||||
|
-- DO NOT use the "splash damage" script together with this method! Your cargo will explode on the ground!
|
||||||
|
--
|
||||||
-- There are two ways of airdropping:
|
-- There are two ways of airdropping:
|
||||||
--
|
--
|
||||||
-- 1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
-- 1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
||||||
@ -4992,13 +4996,21 @@ CTLD_HERCULES.Types = {
|
|||||||
--
|
--
|
||||||
-- Expected template names are the ones in the rounded brackets.
|
-- Expected template names are the ones in the rounded brackets.
|
||||||
--
|
--
|
||||||
-- HINTS
|
-- ### HINTS
|
||||||
--
|
--
|
||||||
-- The script works on the EVENTS.Shot trigger, which is used by the mod when you **drop cargo from the Hercules while flying**. Unloading on the ground does
|
-- The script works on the EVENTS.Shot trigger, which is used by the mod when you **drop cargo from the Hercules while flying**. Unloading on the ground does
|
||||||
-- not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD.
|
-- not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD.
|
||||||
|
-- **Do not use** the **splash damage** script together with this, your cargo will just explode when reaching the ground!
|
||||||
|
--
|
||||||
|
-- ### Airdrops
|
||||||
|
--
|
||||||
-- There are two ways of airdropping:
|
-- There are two ways of airdropping:
|
||||||
-- 1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
-- 1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
||||||
-- 2) Higher up and slow (>100m AGL) - here you can drop paratroopers and cargo which has "Air" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
-- 2) Higher up and slow (>100m AGL) - here you can drop paratroopers and cargo which has "Air" at the end of the cargo name (loaded via F8 Ground Crew menu)
|
||||||
|
--
|
||||||
|
-- ### General
|
||||||
|
--
|
||||||
|
-- Use either this method to integrate the Hercules **or** the one from the "normal" CTLD. Never both!
|
||||||
function CTLD_HERCULES:New(Coalition, Alias, CtldObject)
|
function CTLD_HERCULES:New(Coalition, Alias, CtldObject)
|
||||||
-- Inherit everything from FSM class.
|
-- Inherit everything from FSM class.
|
||||||
local self=BASE:Inherit(self, FSM:New()) -- #CTLD_HERCULES
|
local self=BASE:Inherit(self, FSM:New()) -- #CTLD_HERCULES
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
--
|
--
|
||||||
-- ### Authors:
|
-- ### Authors:
|
||||||
--
|
--
|
||||||
-- * Applevengelist (Design & Programming)
|
-- * Applevangelist (Design & Programming)
|
||||||
--
|
--
|
||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
@ -29,7 +29,7 @@
|
|||||||
-- PLAYERRECCE
|
-- PLAYERRECCE
|
||||||
-- TODO: PLAYERRECCE
|
-- TODO: PLAYERRECCE
|
||||||
-- DONE: No messages when no targets to flare or smoke
|
-- DONE: No messages when no targets to flare or smoke
|
||||||
-- DONE: Flare not all targets
|
-- DONE: Smoke not all targets
|
||||||
-- DONE: Messages to Attack Group, use client settings
|
-- DONE: Messages to Attack Group, use client settings
|
||||||
-- DONE: Lasing dist 8km
|
-- DONE: Lasing dist 8km
|
||||||
-- DONE: Reference Point RP
|
-- DONE: Reference Point RP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user