mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Progress, a lot is working already.
This commit is contained in:
@@ -18,10 +18,24 @@ local CommandCenter = COMMANDCENTER:New( HQ, "Lima" )
|
||||
|
||||
local Scoring = SCORING:New( "Detect Demo" )
|
||||
|
||||
Scoring:SetMultiplierKillScore( 10 )
|
||||
Scoring:SetMultiplierDestroyScore( 10 )
|
||||
|
||||
Scoring:SetMultiplierKillPenalty( 40 )
|
||||
Scoring:SetMultiplierDestroyPenalty( 40 )
|
||||
|
||||
Scoring:SetScoreUnit( UNIT:FindByName( "Unit #001" ), 200 )
|
||||
Scoring:AddUnitScore( UNIT:FindByName( "Unit #001" ), 200 )
|
||||
|
||||
-- Test for zone scores.
|
||||
-- First declare the zone objects.
|
||||
|
||||
-- This one is to test scoring on normal units.
|
||||
local ShootingRangeZone = ZONE:New( "ScoringZone1" )
|
||||
|
||||
-- This one is to test scoring on scenery.
|
||||
-- Note that you can only destroy scenery with heavy weapons.
|
||||
local SceneryZone = ZONE:New( "ScoringZone2" )
|
||||
|
||||
-- We add the zones to the scoring object, to add points when one of the objects are hit within the zone.
|
||||
Scoring:AddZoneScore( ShootingRangeZone, 200 )
|
||||
Scoring:AddZoneScore( SceneryZone, 200 )
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user