Skip to content

Commit

Permalink
Inicial
Browse files Browse the repository at this point in the history
  • Loading branch information
eolandro committed May 31, 2019
1 parent cedff3b commit b4bf8b1
Show file tree
Hide file tree
Showing 1,923 changed files with 48,224 additions and 0 deletions.
Binary file added campaigns/hell/map01_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added campaigns/hell/map01_1.smp.gz
Binary file not shown.
Binary file added campaigns/hell/map01_1.sms.gz
Binary file not shown.
18 changes: 18 additions & 0 deletions campaigns/training/map02/map02.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Briefing(
"2. Building a base",
"- Follow the instructions.",
nil,
nil,
nil
)

--Load("campaigns/orc/level03/level03o_ai.lua")

Triggers = [[
AddStandardTriggers()
]]

assert(loadstring(Triggers))()

Load("campaigns/training/map02/map02.sms")

Binary file added campaigns/training/map02/map02.smp.gz
Binary file not shown.
Binary file added campaigns/training/map02/map02.sms.gz
Binary file not shown.
Binary file added campaigns/tutorial1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added campaigns/tutorial1.smp.gz
Binary file not shown.
Binary file added campaigns/tutorial1.sms.gz
Binary file not shown.
161 changes: 161 additions & 0 deletions campaigns/tutorial_setup.sms
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
local text = "30 years have passed since first demonic invasion of Mars and Earth. "..
"All this time people were suffering the consequences of destruction that demons made to them. "..
"But soon the destructed cities were rebuilt, UAC corporation, almost destroyed after first invasion, " ..
"regained its erstwhile power and began to restore data collected from ruins on Phobos and Deimos. " ..
"Very soon, UAC scientists have collected information about old demonic race, and a terrible" ..
"truth has come out: now, when the mankind had faced the demons, they will soon come back to this world again..."


FinaleReadmeScreen(text, "graphics/ui/background.png")


Triggers = [[
local switch1 = false
local switch2 = false
AddTrigger(
function() return GameCycle >= 90 end,
function()
AddMessage("~<Lt. Jackson:~> Welcome to the UAC Phobos Labs, Commander.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GameCycle >= 210 end,
function()
AddMessage("~<Lt. Jackson:~> You are invited on the demonstration of our new technology.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GameCycle >= 350 end,
function()
AddMessage("~<Lt. Jackson:~> Your mission is to inspect this Nukage Processing Complex and then to proceed to the exit.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GameCycle >= 480 end,
function()
AddMessage("~<Lt. Jackson:~> Your first goal is 14th Containment Area.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GetNumUnitsAt(0, "any", {30,17}, {32, 22}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> Just move close to the door to open it.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GetNumUnitsAt(0, "any", {36,32}, {36, 32}) > 0 and switch1 == false end,
function()
AddMessage("~<Lt. Jackson:~> To open this door, inspect 14th Containment Area first.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GetNumUnitsAt(0, "any", {38,20}, {38, 23}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> This is 14th Containment Area. Inspect everything and activate radiation lockdown switch to open door to Auxiliary Reactor.")
PlaySound(chat_message)
return false
end)

AddTrigger(
function() return GetNumUnitsAt(0, "any", {52,14}, {52, 18}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> Just move to the switch to activate it.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {61,16}, {61, 17}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> Good! The door to Auxiliary Reactor is opened now.")
PlaySound(chat_message)
switch1 = true
KillUnitAt("unit-blocker", 1, 999, {36, 32}, {36, 40})
ChangeUnitsOwner({36, 34}, {36, 35}, 1, 3)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {22,39}, {22, 41}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> You are entering Auxiliary Reactor. It uses teleportation system to move personnel through acid pool.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {14,34}, {14, 41}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> To use teleporter, just move on it. You will be teleported to destination point on the opposite edge of acid pool.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {6,55}, {8, 57}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> Good! The teleportation worked well. Now, proceed to the exit.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {25,46}, {25, 49}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> The exit door requires blue keycard to open it. Take that keycard in 15th Containment Area near the exit.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {47,39}, {47, 39}) > 0 and switch2 == false end,
function()
AddMessage("~<Lt. Jackson:~> Take blue keycard in 15th Containment Area on the opposite side of this room.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {38,62}, {38, 62}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> You've taken the blue keycard. Use it on the door near the exit.")
PlaySound(chat_message)
switch2 = true
KillUnitAt("unit-blocker", 1, 999, {47, 37}, {47, 37})
ChangeUnitsOwner({47, 37}, {47, 37}, 1, 3)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {47,35}, {48, 35}) > 0 end,
function()
AddMessage("~<Lt. Jackson:~> Congratulations! You've completed the first tutorial mission of Doom Wars.")
PlaySound(chat_message)
return false
end)
AddTrigger(
function() return GetNumUnitsAt(0, "any", {53,30}, {53, 30}) > 0 end,
function()
ActionVictory()
return false
end)
AddTrigger(
function() return true end,
function()
SetDiplomacy(0, "allied" , 1)
SetDiplomacy(1, "allied" , 0)
SetDiplomacy(0, "allied" , 3)
SetDiplomacy(3, "enemy" , 0)
SetDiplomacy(1, "allied" , 3)
SetDiplomacy(3, "allied" , 1)
return false
end)
]]

assert(loadstring(Triggers))()

Load("campaigns/tutorial1.sms")
Binary file added campaigns/uac/uac01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added campaigns/uac/uac01.smp.gz
Binary file not shown.
Binary file added campaigns/uac/uac01.sms.gz
Binary file not shown.
Binary file added doc/abilities/icon-acid-storm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-archvile-ressurect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-belial-teleport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-belial-vampirism.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-blink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-burn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-cacolich-burn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-collect-artifacts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-defibrillation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-demonic-storm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-destroy-armor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-eat-corpse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-fighter-invisibility.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-heal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-hellmaker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-inferno.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-injection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-invulnerability.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-make-zombie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-phantom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-place-bomb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-place-mine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/abilities/icon-possess.png
Binary file added doc/abilities/icon-radar-eye.png
Binary file added doc/abilities/icon-rage.png
Binary file added doc/abilities/icon-repair-armor.png
Binary file added doc/abilities/icon-technician-repair.png
Binary file added doc/abilities/icon-vehicle-repair.png
Binary file added doc/abilities/icon-well-charge.png
Binary file added doc/abilities/icon-well-heal.png
Binary file added doc/anomaly/icon-anomaly-absolute-sphere.png
Binary file added doc/anomaly/icon-anomaly-acid-sphere.png
Binary file added doc/anomaly/icon-anomaly-corruption-sphere.png
Binary file added doc/anomaly/icon-anomaly-life-sphere.png
Binary file added doc/anomaly/icon-anomaly-regen-sphere.png
Binary file added doc/anomaly/icon-anomaly-shield-sphere.png
Binary file added doc/anomaly/icon-anomaly-skull-sphere.png
Binary file added doc/anomaly/icon-anomaly-vampirism-sphere.png
Binary file added doc/buildings/adv-generator.png
Binary file added doc/buildings/barracks.png
Binary file added doc/buildings/blood-pool.png
Binary file added doc/buildings/chaingun-tower.png
Binary file added doc/buildings/command-center-advanced.png
Binary file added doc/buildings/command-center.png
Binary file added doc/buildings/factory.png
Binary file added doc/buildings/fire-tower.png
Binary file added doc/buildings/generator.png
Binary file added doc/buildings/heel-keep.png
Binary file added doc/buildings/hell-gate.png
Binary file added doc/buildings/hell-wall.png
Binary file added doc/buildings/horror-tower.png
Binary file added doc/buildings/missile-tower.png
Binary file added doc/buildings/monster-spawner.png
Binary file added doc/buildings/nuclear-plant.png
Binary file added doc/buildings/orbital-control.png
Binary file added doc/buildings/pentagram.png
Binary file added doc/buildings/power-plant.png
Binary file added doc/buildings/radar.png
Binary file added doc/buildings/supply-depot.png
Binary file added doc/buildings/tech-center.png
Binary file added doc/buildings/temple-of-fire.png
Binary file added doc/buildings/wall.png
Binary file added doc/buildings/weapon-factory.png
Binary file added doc/buildings/well-of-souls.png
Loading

0 comments on commit b4bf8b1

Please sign in to comment.