mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-26 18:57:52 +00:00
Clean
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
---
|
||||
-- Name: SCO-200 - Telemetry
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 24 Sep 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- A shooting range has been setup. Fly the Ka-50 or the Su-25T to the statics and objects located near the airport, and shoot them.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe the scoring granted to your flight when you hit and kill targets.
|
||||
-- 2. Check the scoring telemetry communicated to the website.
|
||||
|
||||
|
||||
HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
|
||||
|
||||
CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
|
||||
|
||||
Scoring = SCORING:New( "Shooting Range 1" )
|
||||
|
||||
Scoring:SetTelemetryServer( "96.49.78.227", 5010 )
|
||||
|
||||
Scoring:SetScaleDestroyScore( 10 )
|
||||
|
||||
Scoring:SetScaleDestroyPenalty( 40 )
|
||||
|
||||
Scoring:AddUnitScore( UNIT:FindByName( "Unit #001" ), 200 )
|
||||
|
||||
-- Test for zone scores.
|
||||
|
||||
-- This one is to test scoring on normal units.
|
||||
ShootingRangeZone = ZONE:New( "ScoringZone1" )
|
||||
Scoring:AddZoneScore( ShootingRangeZone, 200 )
|
||||
|
||||
-- This one is to test scoring on scenery.
|
||||
-- Note that you can only destroy scenery with heavy weapons.
|
||||
SceneryZone = ZONE:New( "ScoringZone2" )
|
||||
Scoring:AddZoneScore( SceneryZone, 200 )
|
||||
|
||||
Scoring:AddStaticScore(STATIC:FindByName( "Shooting Range #010" ), 100 )
|
||||
Reference in New Issue
Block a user