TombEngine/Build/Scripts/Gameflow.lua

223 lines
5.1 KiB
Lua
Raw Normal View History

-- TR5Main Gameflow file
-- Created by MontyTRC
-- Place in this LUA script all the levels of your game
-- Title is mandatory and must be the first level
-- Title level
title = Level.new();
title.script = "andrea2.lua";
title.soundtrack = 110;
2018-09-03 21:24:03 +02:00
title.filename = "Data\\title.trc";
2018-09-04 07:57:52 +02:00
title.background = "Title.png";
Gameflow:addLevel(title);
-- Test
test = Level.new();
test.name = 115;
test.script = "test.lua";
test.soundtrack = 128;
test.filename = "Data\\test.trc";
test.horizon = true;
test.coladdhorizon = true;
test.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(test);
-- Streets of rome
streets = Level.new();
streets.name = 101;
streets.script = "andrea1.lua";
streets.soundtrack = 128;
2018-09-03 21:24:03 +02:00
streets.filename = "Data\\andrea1.trc";
streets.horizon = true;
streets.coladdhorizon = true;
streets.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-09 22:07:28 +02:00
streets.resethub = true;
Gameflow:addLevel(streets);
2018-09-02 21:13:34 +02:00
-- Trajan markets
trajan = Level.new();
trajan.name = 102;
trajan.script = "andrea2.lua";
trajan.soundtrack = 126;
2018-09-03 21:24:03 +02:00
trajan.filename = "Data\\andrea2.trc";
2018-09-02 21:13:34 +02:00
trajan.horizon = true;
trajan.coladdhorizon = true;
trajan.layer1 = SkyLayer.new(120, 80, 50, -4);
trajan.storm = true;
Gameflow:addLevel(trajan);
-- Colosseum
colosseum = Level.new();
colosseum.name = 103;
colosseum.script = "andrea3.lua";
colosseum.soundtrack = 118;
2018-09-03 21:24:03 +02:00
colosseum.filename = "Data\\andrea3.trc";
colosseum.horizon = true;
colosseum.coladdhorizon = true;
colosseum.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-02 21:13:34 +02:00
2018-09-03 21:24:03 +02:00
Gameflow:addLevel(colosseum);
-- The base
theBase = Level.new();
theBase.name = 104;
theBase.script = "joby2.lua";
theBase.soundtrack = 130;
theBase.filename = "Data\\joby2.trc";
theBase.horizon = true;
theBase.coladdhorizon = true;
theBase.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-09 22:07:28 +02:00
theBase.resethub = true;
2018-09-03 21:24:03 +02:00
Gameflow:addLevel(theBase);
-- The submarine
submarine = Level.new();
submarine.name = 105;
submarine.script = "joby3.lua";
submarine.soundtrack = 121;
submarine.filename = "Data\\joby3.trc";
submarine.horizon = true;
submarine.coladdhorizon = true;
submarine.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(submarine);
-- Deepsea dive
deepsea = Level.new();
deepsea.name = 106;
deepsea.script = "joby4.lua";
deepsea.soundtrack = 127;
deepsea.filename = "Data\\joby4.trc";
deepsea.horizon = true;
deepsea.coladdhorizon = true;
deepsea.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(deepsea);
-- Sinking submarine
sinking = Level.new();
sinking.name = 107;
sinking.script = "joby5.lua";
sinking.soundtrack = 121;
sinking.filename = "Data\\joby5.trc";
sinking.horizon = true;
sinking.coladdhorizon = true;
sinking.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(sinking);
-- Gallows tree
gallowstree = Level.new();
gallowstree.name = 108;
gallowstree.script = "andy1.lua";
gallowstree.soundtrack = 124;
gallowstree.filename = "Data\\andy1.trc";
gallowstree.horizon = true;
gallowstree.coladdhorizon = true;
gallowstree.rain = true;
gallowstree.storm = true;
2018-09-09 22:07:28 +02:00
gallowstree.laratype = LaraType.Young;
gallowstree.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-09 22:07:28 +02:00
gallowstree.resethub = true;
Gameflow:addLevel(gallowstree);
-- Labyrinth
labyrinth = Level.new();
labyrinth.name = 109;
labyrinth.script = "andy2.lua";
labyrinth.soundtrack = 117;
labyrinth.filename = "Data\\andy2.trc";
labyrinth.horizon = true;
labyrinth.coladdhorizon = true;
labyrinth.rain = true;
labyrinth.storm = true;
2018-09-09 22:07:28 +02:00
labyrinth.laratype = LaraType.Young;
labyrinth.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(labyrinth);
-- Old mill
oldMill = Level.new();
oldMill.name = 110;
oldMill.script = "andy3.lua";
oldMill.soundtrack = 124;
oldMill.filename = "Data\\andy3.trc";
oldMill.horizon = true;
oldMill.coladdhorizon = true;
oldMill.rain = true;
oldMill.storm = true;
2018-09-09 22:07:28 +02:00
oldMill.laratype = LaraType.Young;
oldMill.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-07 18:34:18 +02:00
Gameflow:addLevel(oldMill);
-- 13th floor
rich1 = Level.new();
rich1.name = 111;
rich1.script = "rich1.lua";
rich1.soundtrack = 124;
rich1.filename = "Data\\rich1.trc";
rich1.horizon = true;
rich1.coladdhorizon = true;
rich1.layer1 = SkyLayer.new(120, 80, 50, -4);
2018-09-09 22:07:28 +02:00
rich1.resethub = true;
2018-09-07 18:34:18 +02:00
Gameflow:addLevel(rich1);
-- Escape with the Iris
iris = Level.new();
iris.name = 112;
iris.script = "rich2.lua";
iris.soundtrack = 129;
iris.filename = "Data\\rich2.trc";
iris.horizon = true;
iris.coladdhorizon = true;
iris.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(iris);
-- Security breach
sec = Level.new();
sec.name = 113;
sec.script = "rich3.lua";
sec.soundtrack = 129;
sec.filename = "Data\\rich3.trc";
sec.horizon = true;
sec.coladdhorizon = true;
sec.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(sec);
-- Red alert!
redAlert = Level.new();
redAlert.name = 114;
redAlert.script = "rich4.lua";
redAlert.soundtrack = 129;
redAlert.filename = "Data\\rich4.trc";
redAlert.horizon = true;
redAlert.coladdhorizon = true;
redAlert.layer1 = SkyLayer.new(120, 80, 50, -4);
Gameflow:addLevel(redAlert);