Progress, a lot is working already.

This commit is contained in:
FlightControl
2017-02-28 14:01:38 +01:00
parent e0254308d3
commit 8edbb5ca23
65 changed files with 1672 additions and 65421 deletions

View File

@@ -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 )