387 changes: 153 additions & 234 deletions data/base/script/campaign/cam1a.js

Large diffs are not rendered by default.

1,003 changes: 1,003 additions & 0 deletions data/base/script/campaign/libcampaign.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions data/base/script/campaign/templates.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
var camTemplates = {
////////////////////////////////////////////////////////////////////////////////

bloke: { body: "B1BaBaPerson01", prop: "BaBaLegs", weap: "BaBaMG" },
trike: { body: "B4body-sml-trike01", prop: "BaBaProp", weap: "bTrikeMG" },
buggy: { body: "B3body-sml-buggy01", prop: "BaBaProp", weap: "BuggyMG" },
bjeep: { body: "B2JeepBody", prop: "BaBaProp", weap: "BJeepMG" },

////////////////////////////////////////////////////////////////////////////////
};
68 changes: 0 additions & 68 deletions data/base/script/data/cam1a-ai.vlo

This file was deleted.

330 changes: 0 additions & 330 deletions data/base/script/text/cam1a-ai.slo

This file was deleted.

2 changes: 0 additions & 2 deletions data/base/wrf/cam1/cam1a.wrf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ file SMSG "prox1a.txt"
/* Directory for uncompiled script files */
directory "script/text"

file SCRIPT "cam1a-ai.slo"
file SCRIPT "cam1daynight.slo"

/* Directory for script value files*/
directory "script/data"
file SCRIPTVAL "cam1a-ai.vlo"
file SCRIPTVAL "cam1day.vlo"

directory "script/campaign"
Expand Down
73 changes: 15 additions & 58 deletions data/base/wrf/cam1/cam1a/labels.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
[position_0]
pos = 5184, 2112
label = "artifact1pos"

[position_1]
pos = 2496, 4032
label = "artifact2pos"

[position_2]
pos = 1856, 1600
label = "artifact3pos"

[position_3]
pos = 3776, 4544
label = "artifact4pos"

# position of canyon with road block
[position_4]
pos = 5120, 4352
label = "roadblock"

# position of single oil patch
[position_5]
pos = 4928, 5568
Expand Down Expand Up @@ -48,21 +31,13 @@ label = "assembly3"
pos = 3904, 4416
label = "retreat1"

[position_11]
pos = 5440, 2368
label = "retreat2"

[position_12]
pos = 2112, 1088
label = "retreat3"

[position_13]
pos = 2112, 4544
label = "retreat4"

[position_14]
pos = 5056,2496
label = "raidPosition"
[position_11]
pos = 5440, 2368
label = "retreat2"

[position_15]
pos = 1728, 6720
Expand All @@ -85,11 +60,6 @@ pos1 = 3392,576
pos2 = 3904,1088
label = "raidGroup"

[area_2]
pos1 = 4416,1600
pos2 = 5824,3008
label = "raidTrigger"

[area_3]
pos1 = 1280, 6528
pos2 = 1536, 6784
Expand Down Expand Up @@ -122,11 +92,22 @@ pos2 = 2752, 5440
label = "scavbase4area"

[area_9]
pos1 = 4416, 6336
pos1 = 4416, 6500
pos2 = 5696, 7232
label = "ScavAttack1"
player = 0

# position of canyon with road block
[area_10]
pos1 = 4500, 3600
pos2 = 5500, 4700
label = "RoadblockArea"

[area_11]
pos1 = 2900, 500
pos2 = 3800, 3000
label = "raidTrigger"

[object_0]
id = 8
type = 1
Expand All @@ -145,30 +126,6 @@ type = 1
player = 6
id = 20

[object_3]
label = "seen1"
type = 0
player = 7
id = 908

[object_4]
label = "seenbase3"
type = 0
player = 6
id = 845

[object_5]
label = "seenbase2"
type = 0
player = 7
id = 8

[object_6]
label = "seenbase4"
type = 0
player = 6
id = 1249

[group_0]
label = "scavgroup1"
player = 7
Expand Down
2 changes: 2 additions & 0 deletions doc/javascript.tex
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,7 @@ \subsection{Cyborg construction}
Cyborg components are inter-linked, and cannot be passed in as lists as you can with ordinary droids, even
though they might look that way.

\input{campaign}

\end{document}