mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-11 23:50:51 +02:00
Added soviet mission 1 script, expanded _global with more vehicle types and CreateVehicle/CreateInfrantry now support coordinate input.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
require("_Global")
|
||||
|
||||
function map_briefing()
|
||||
SetBriefingText("Welcome Comrade General! Here in Alaska we will be begin our glorous conquest!")
|
||||
end
|
||||
|
||||
function map_start()
|
||||
|
||||
end
|
||||
|
||||
function map_frame()
|
||||
local numTeslaTanks = 0
|
||||
local numRadarDomes = 0
|
||||
|
||||
numRadarDomes = CountBuildings(BuildingTypes.DOME)
|
||||
if numRadarDomes == 0 then
|
||||
Lose(Houses.USSR)
|
||||
end
|
||||
|
||||
if numRadarDomes == 2 then
|
||||
Win(Houses.USSR)
|
||||
end
|
||||
|
||||
numTaslaTanks = CountUnits(VehicleTypes.TESLATANK)
|
||||
if numTaslaTanks == 0 then
|
||||
PlaySpeech(11) -- Reinforcements have arrived
|
||||
CreateVehicle(VehicleTypes.TESLATANK,Houses.USSR,5833)
|
||||
CreateVehicle(VehicleTypes.TESLATANK,Houses.USSR,5577)
|
||||
CreateVehicle(VehicleTypes.TESLATANK,Houses.USSR,5706)
|
||||
end
|
||||
end
|
||||
@@ -144,7 +144,13 @@
|
||||
-- Counterstrike only:
|
||||
ANT1=14, -- First ant type
|
||||
ANT2=15, -- Second ant type
|
||||
ANT3=16 -- Third ant type
|
||||
ANT3=16, -- Third ant type
|
||||
|
||||
-- Aftermath
|
||||
CHRONOTANK=17, -- Chrono shifting tank
|
||||
TESLATANK=18, -- Tesla Tank
|
||||
MAD=19,
|
||||
DEMOTRUNK
|
||||
}
|
||||
|
||||
-- *********************************************************
|
||||
|
||||
Reference in New Issue
Block a user