2018-09-03 21:08:40 +02:00
|
|
|
-- 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";
|
2018-09-22 23:54:36 +02:00
|
|
|
title.soundTrack = 110;
|
|
|
|
title.fileName = "Data\\title.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
title.loadScreen = "Screens\\rome.jpg";
|
2018-09-04 07:57:52 +02:00
|
|
|
title.background = "Title.png";
|
2018-09-03 21:08:40 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(title);
|
2018-09-03 21:08:40 +02:00
|
|
|
|
2018-09-08 18:43:59 +02:00
|
|
|
-- Test
|
|
|
|
test = Level.new();
|
|
|
|
|
|
|
|
test.name = 115;
|
|
|
|
test.script = "test.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
test.soundTrack = 128;
|
|
|
|
test.fileName = "Data\\test.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
test.loadScreen = "Screens\\rome.jpg";
|
2018-09-08 18:43:59 +02:00
|
|
|
test.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
test.colAddHorizon = true;
|
2018-09-08 18:43:59 +02:00
|
|
|
test.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(test);
|
2018-09-08 18:43:59 +02:00
|
|
|
|
2018-10-30 12:40:30 +01:00
|
|
|
-- Streets of rome --
|
2018-09-03 21:08:40 +02:00
|
|
|
streets = Level.new();
|
|
|
|
|
|
|
|
streets.name = 101;
|
2018-09-22 23:54:36 +02:00
|
|
|
streets.soundTrack = 128;
|
|
|
|
streets.fileName = "Data\\andrea1.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
streets.loadScreen = "Screens\\andea1.jpg";
|
2018-09-03 21:08:40 +02:00
|
|
|
streets.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
streets.colAddHorizon = true;
|
2018-12-28 12:12:58 +01:00
|
|
|
streets.layer1 = SkyLayer.new(16, 16, 96, 3);
|
2018-09-22 23:54:36 +02:00
|
|
|
streets.resetHub = true;
|
2018-09-03 21:08:40 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(streets);
|
2018-09-02 21:13:34 +02:00
|
|
|
|
2018-10-30 12:40:30 +01:00
|
|
|
-- Trajan markets --
|
2018-09-02 21:13:34 +02:00
|
|
|
trajan = Level.new();
|
|
|
|
|
|
|
|
trajan.name = 102;
|
|
|
|
trajan.script = "andrea2.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
trajan.soundTrack = 126;
|
|
|
|
trajan.fileName = "Data\\andrea2.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
trajan.loadScreen = "Screens\\andrea2.jpg";
|
2018-09-02 21:13:34 +02:00
|
|
|
trajan.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
trajan.colAddHorizon = true;
|
2018-12-28 12:12:58 +01:00
|
|
|
trajan.layer1 = SkyLayer.new(128, 128, 128, 3);
|
2019-01-13 21:57:16 +01:00
|
|
|
trajan.storm = false;
|
2018-09-03 21:08:40 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(trajan);
|
2018-09-03 21:08:40 +02:00
|
|
|
|
|
|
|
-- Colosseum
|
|
|
|
colosseum = Level.new();
|
|
|
|
|
|
|
|
colosseum.name = 103;
|
|
|
|
colosseum.script = "andrea3.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
colosseum.soundTrack = 118;
|
|
|
|
colosseum.fileName = "Data\\andrea3.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
colosseum.loadScreen = "Screens\\andrea3.jpg";
|
2018-09-03 21:08:40 +02:00
|
|
|
colosseum.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
colosseum.colAddHorizon = true;
|
2018-09-03 21:08:40 +02:00
|
|
|
colosseum.layer1 = SkyLayer.new(120, 80, 50, -4);
|
2018-09-02 21:13:34 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(colosseum);
|
2018-09-03 21:24:03 +02:00
|
|
|
|
|
|
|
-- The base
|
|
|
|
theBase = Level.new();
|
|
|
|
|
|
|
|
theBase.name = 104;
|
|
|
|
theBase.script = "joby2.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
theBase.soundTrack = 130;
|
|
|
|
theBase.fileName = "Data\\joby2.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
theBase.loadScreen = "Screens\\joby2.jpg";
|
2018-09-03 21:24:03 +02:00
|
|
|
theBase.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
theBase.colAddHorizon = true;
|
2018-09-03 21:24:03 +02:00
|
|
|
theBase.layer1 = SkyLayer.new(120, 80, 50, -4);
|
2018-09-22 23:54:36 +02:00
|
|
|
theBase.resetHub = true;
|
2018-09-03 21:24:03 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(theBase);
|
2018-09-03 21:24:03 +02:00
|
|
|
|
|
|
|
-- The submarine
|
|
|
|
submarine = Level.new();
|
|
|
|
|
|
|
|
submarine.name = 105;
|
|
|
|
submarine.script = "joby3.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
submarine.soundTrack = 121;
|
|
|
|
submarine.fileName = "Data\\joby3.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
submarine.loadScreen = "Screens\\joby3.jpg";
|
2018-09-03 21:24:03 +02:00
|
|
|
submarine.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
submarine.colAddHorizon = true;
|
2018-09-03 21:24:03 +02:00
|
|
|
submarine.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(submarine);
|
2018-09-03 21:24:03 +02:00
|
|
|
|
|
|
|
-- Deepsea dive
|
|
|
|
deepsea = Level.new();
|
|
|
|
|
|
|
|
deepsea.name = 106;
|
|
|
|
deepsea.script = "joby4.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
deepsea.soundTrack = 127;
|
|
|
|
deepsea.fileName = "Data\\joby4.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
deepsea.loadScreen = "Screens\\joby4.jpg";
|
2018-09-03 21:24:03 +02:00
|
|
|
deepsea.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
deepsea.colAddHorizon = true;
|
2018-09-03 21:24:03 +02:00
|
|
|
deepsea.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(deepsea);
|
2018-09-03 22:09:32 +02:00
|
|
|
|
|
|
|
-- Sinking submarine
|
|
|
|
sinking = Level.new();
|
|
|
|
|
|
|
|
sinking.name = 107;
|
|
|
|
sinking.script = "joby5.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
sinking.soundTrack = 121;
|
|
|
|
sinking.fileName = "Data\\joby5.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
sinking.loadScreen = "Screens\\joby5.jpg";
|
2018-09-03 22:09:32 +02:00
|
|
|
sinking.horizon = true;
|
2018-11-08 23:05:25 +01:00
|
|
|
sinking.rumble = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
sinking.colAddHorizon = true;
|
2018-09-03 22:09:32 +02:00
|
|
|
sinking.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(sinking);
|
2018-09-03 22:09:32 +02:00
|
|
|
|
|
|
|
-- Gallows tree
|
|
|
|
gallowstree = Level.new();
|
|
|
|
|
|
|
|
gallowstree.name = 108;
|
|
|
|
gallowstree.script = "andy1.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
gallowstree.soundTrack = 124;
|
|
|
|
gallowstree.fileName = "Data\\andy1.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
gallowstree.loadScreen = "Screens\\andy1.jpg";
|
2018-09-03 22:09:32 +02:00
|
|
|
gallowstree.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
gallowstree.colAddHorizon = true;
|
2018-09-03 22:09:32 +02:00
|
|
|
gallowstree.rain = true;
|
|
|
|
gallowstree.storm = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
gallowstree.laraType = LaraType.Young;
|
2018-12-28 12:12:58 +01:00
|
|
|
gallowstree.layer1 = SkyLayer.new(80, 96, 160, -8);
|
2018-09-22 23:54:36 +02:00
|
|
|
gallowstree.resetHub = true;
|
2018-09-03 22:09:32 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(gallowstree);
|
2018-09-05 23:56:39 +02:00
|
|
|
|
|
|
|
-- Labyrinth
|
|
|
|
labyrinth = Level.new();
|
|
|
|
|
|
|
|
labyrinth.name = 109;
|
|
|
|
labyrinth.script = "andy2.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
labyrinth.soundTrack = 117;
|
|
|
|
labyrinth.fileName = "Data\\andy2.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
labyrinth.loadScreen = "Screens\\andy2.jpg";
|
2018-09-05 23:56:39 +02:00
|
|
|
labyrinth.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
labyrinth.colAddHorizon = true;
|
2018-09-05 23:56:39 +02:00
|
|
|
labyrinth.rain = true;
|
|
|
|
labyrinth.storm = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
labyrinth.laraType = LaraType.Young;
|
2018-12-28 12:12:58 +01:00
|
|
|
labyrinth.layer1 = SkyLayer.new(80, 96, 160, -8);
|
2018-09-05 23:56:39 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(labyrinth);
|
2018-09-05 23:56:39 +02:00
|
|
|
|
|
|
|
-- Old mill
|
|
|
|
oldMill = Level.new();
|
|
|
|
|
|
|
|
oldMill.name = 110;
|
|
|
|
oldMill.script = "andy3.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
oldMill.soundTrack = 124;
|
|
|
|
oldMill.fileName = "Data\\andy3.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
oldMill.loadScreen = "Screens\\andy3.jpg";
|
2018-09-05 23:56:39 +02:00
|
|
|
oldMill.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
oldMill.colAddHorizon = true;
|
2018-09-05 23:56:39 +02:00
|
|
|
oldMill.rain = true;
|
|
|
|
oldMill.storm = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
oldMill.laraType = LaraType.Young;
|
2018-12-28 12:12:58 +01:00
|
|
|
oldMill.layer1 = SkyLayer.new(80, 96, 160, -8);
|
2018-09-05 23:56:39 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(oldMill);
|
2018-09-07 18:34:18 +02:00
|
|
|
|
|
|
|
-- 13th floor
|
|
|
|
rich1 = Level.new();
|
|
|
|
|
|
|
|
rich1.name = 111;
|
|
|
|
rich1.script = "rich1.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
rich1.soundTrack = 124;
|
|
|
|
rich1.fileName = "Data\\rich1.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
rich1.loadScreen = "Screens\\rich1.jpg";
|
2018-09-07 18:34:18 +02:00
|
|
|
rich1.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
rich1.colAddHorizon = true;
|
2018-09-07 18:34:18 +02:00
|
|
|
rich1.layer1 = SkyLayer.new(120, 80, 50, -4);
|
2018-09-22 23:54:36 +02:00
|
|
|
rich1.resetHub = true;
|
2018-09-07 18:34:18 +02:00
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(rich1);
|
2018-09-07 18:34:18 +02:00
|
|
|
|
|
|
|
-- Escape with the Iris
|
|
|
|
iris = Level.new();
|
|
|
|
|
|
|
|
iris.name = 112;
|
|
|
|
iris.script = "rich2.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
iris.soundTrack = 129;
|
|
|
|
iris.fileName = "Data\\rich2.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
iris.loadScreen = "Screens\\rich2.jpg";
|
2018-09-07 18:34:18 +02:00
|
|
|
iris.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
iris.colAddHorizon = true;
|
2018-09-07 18:34:18 +02:00
|
|
|
iris.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-09-22 23:54:36 +02:00
|
|
|
Gameflow:AddLevel(iris);
|
2018-09-07 18:34:18 +02:00
|
|
|
|
|
|
|
-- Security breach
|
|
|
|
sec = Level.new();
|
|
|
|
|
|
|
|
sec.name = 113;
|
|
|
|
sec.script = "rich3.lua";
|
2018-09-22 23:54:36 +02:00
|
|
|
sec.soundTrack = 129;
|
|
|
|
sec.fileName = "Data\\rich3.trc";
|
2018-10-28 11:45:53 +01:00
|
|
|
sec.loadScreen = "Screens\\rich2.jpg";
|
2018-09-07 18:34:18 +02:00
|
|
|
sec.horizon = true;
|
2018-09-22 23:54:36 +02:00
|
|
|
sec.colAddHorizon = true;
|
2018-09-07 18:34:18 +02:00
|
|
|
sec.layer1 = SkyLayer.new(120, 80, 50, -4);
|
|
|
|
|
2018-10-28 11:45:53 +01:00
|
|
|
Gameflow:AddLevel(sec);
|