Updated Moose.lua

This commit is contained in:
funkyfranky
2024-03-03 02:21:35 +00:00
parent 369782b5fe
commit f96dcee9e0
104 changed files with 1587 additions and 1587 deletions

View File

@@ -1,36 +1,36 @@
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer with default settings.
-- Change client to another aircraft in mission editor as required.
-- Change fox parameters with F10 radio menu.
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch to external view (F2).
-- 4. When the aircraft is passing the SA-13 it will fire a rocket
-- 5. The rocket will explode prior reaching your aircraft
-- 6. You will see messages from Functional.FOX
--
-- NOTE:
-- Take a look at the triggers! This time we start the mission script with "4 MISSION START" and no CONDITION.
-- Functional.FOX can handle only objects, that are created after it is started.
--
-- If you change the trigger to "1 ONCE" with "TIME MORE 1" and join directly into Su-25T, you will not be protected!
-- Instead join as GAME MASTER blue first and wait for the "...started" message.
-- Switch to client (Su-25T) and you will be protected.
-- Create a new missile trainer object.
fox=FOX:New()
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer with default settings.
-- Change client to another aircraft in mission editor as required.
-- Change fox parameters with F10 radio menu.
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch to external view (F2).
-- 4. When the aircraft is passing the SA-13 it will fire a rocket
-- 5. The rocket will explode prior reaching your aircraft
-- 6. You will see messages from Functional.FOX
--
-- NOTE:
-- Take a look at the triggers! This time we start the mission script with "4 MISSION START" and no CONDITION.
-- Functional.FOX can handle only objects, that are created after it is started.
--
-- If you change the trigger to "1 ONCE" with "TIME MORE 1" and join directly into Su-25T, you will not be protected!
-- Instead join as GAME MASTER blue first and wait for the "...started" message.
-- Switch to client (Su-25T) and you will be protected.
-- Create a new missile trainer object.
fox=FOX:New()
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()

View File

@@ -1,40 +1,40 @@
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a launch zone.
-- Change client to another aircraft in mission editor as required.
-- Change fox parameters with F10 radio menu.
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch to external view (F2).
-- 4. When the aircraft is passing the SA-13 it will fire a rocket.
-- 5. The rocket will explode prior reaching your aircraft, because the SAM site is placed within FOX_Launch_Zone.
-- 6. Fly straight ahead and the second SA-13 will start a missile that will kill you.
-- 7. The second SA-13 is not within the FOX_Launch_Zone. So it's missiles will not be handled by FOX.
--
-- NOTE:
-- Take a look at the triggers! This time we start the mission script with "4 MISSION START" and no CONDITION.
-- Functional.FOX can handle only objects, that are created after it is started.
--
-- If you change the trigger to "1 ONCE" with "TIME MORE 1" and join directly into Su-25T, you will not be protected!
-- Instead join as GAME MASTER blue first and wait for the "...started" message.
-- Switch to client (Su-25T) and you will be protected.
-- Create a new missile trainer object.
fox=FOX:New()
-- Add training Launch zones. Only launches from these zones are handled, if defined
fox:AddLaunchZone( ZONE:New("FOX_Launch_Zone") )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a launch zone.
-- Change client to another aircraft in mission editor as required.
-- Change fox parameters with F10 radio menu.
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch to external view (F2).
-- 4. When the aircraft is passing the SA-13 it will fire a rocket.
-- 5. The rocket will explode prior reaching your aircraft, because the SAM site is placed within FOX_Launch_Zone.
-- 6. Fly straight ahead and the second SA-13 will start a missile that will kill you.
-- 7. The second SA-13 is not within the FOX_Launch_Zone. So it's missiles will not be handled by FOX.
--
-- NOTE:
-- Take a look at the triggers! This time we start the mission script with "4 MISSION START" and no CONDITION.
-- Functional.FOX can handle only objects, that are created after it is started.
--
-- If you change the trigger to "1 ONCE" with "TIME MORE 1" and join directly into Su-25T, you will not be protected!
-- Instead join as GAME MASTER blue first and wait for the "...started" message.
-- Switch to client (Su-25T) and you will be protected.
-- Create a new missile trainer object.
fox=FOX:New()
-- Add training Launch zones. Only launches from these zones are handled, if defined
fox:AddLaunchZone( ZONE:New("FOX_Launch_Zone") )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()

View File

@@ -1,28 +1,28 @@
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Wrapper.Group.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a protected group.
-- Note: AddProtectedGroup works only for AI!
--
-- # Guide:
-- 1. Start the mission.
-- 4. First AI aircraft is not protected and will be damaged or killed.
-- 5. Second AI aircraft is protected and will not be damaged.
-- Create a new missile trainer object.
fox=FOX:New()
-- Add protected AI group.
fox:AddProtectedGroup( GROUP:FindByName("Protected") )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Wrapper.Group.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a protected group.
-- Note: AddProtectedGroup works only for AI!
--
-- # Guide:
-- 1. Start the mission.
-- 4. First AI aircraft is not protected and will be damaged or killed.
-- 5. Second AI aircraft is protected and will not be damaged.
-- Create a new missile trainer object.
fox=FOX:New()
-- Add protected AI group.
fox:AddProtectedGroup( GROUP:FindByName("Protected") )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()

View File

@@ -1,37 +1,37 @@
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Core.Zone.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a safe zone.
-- Players are only protected if they are inside the zone.
-- Change client to another aircraft in mission editor as required.
-- Note: This works not for AI!
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch between external view (F2) and map (F10).
-- 4. When the aircraft is passing the first SA-13 it will fire a rocket.
-- 5. The rocket will explode prior reaching your aircraft, because your aircraft is still in the SafeZone.
-- 6. Fly straight ahead and after leaving the SafeZone missiles (no matter from which SA-13) will damage you.
-- Create a new missile trainer object.
fox=FOX:New()
-- Get zone object and draw the zone in F10 map.
SafeZone = ZONE:New( "FOX_Safe_Zone" )
:DrawZone( -1, {1,0,0}, 1, {1,0,0}, 0.3, true )
-- Add training Safe zones.
fox:AddSafeZone( SafeZone )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()
---
-- Author: kaltokri
-- Created: 28.02.2024
-- Contributors: -
-- Modified: 28.02.2024
--
-- # Documentation:
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Core.Zone.html
--
-- # Description:
-- In this mission we run a Functional FOX Missile trainer and add a safe zone.
-- Players are only protected if they are inside the zone.
-- Change client to another aircraft in mission editor as required.
-- Note: This works not for AI!
--
-- # Guide:
-- 1. Start the mission and join the Su-25T as player.
-- 2. Activate auto pilot with key A.
-- 3. Switch between external view (F2) and map (F10).
-- 4. When the aircraft is passing the first SA-13 it will fire a rocket.
-- 5. The rocket will explode prior reaching your aircraft, because your aircraft is still in the SafeZone.
-- 6. Fly straight ahead and after leaving the SafeZone missiles (no matter from which SA-13) will damage you.
-- Create a new missile trainer object.
fox=FOX:New()
-- Get zone object and draw the zone in F10 map.
SafeZone = ZONE:New( "FOX_Safe_Zone" )
:DrawZone( -1, {1,0,0}, 1, {1,0,0}, 0.3, true )
-- Add training Safe zones.
fox:AddSafeZone( SafeZone )
-- Start missile trainer.
fox:Start()
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog()