author | Wuzzy <Wuzzy2@mail.ru> |
Mon, 21 Jan 2019 20:17:44 +0100 | |
changeset 14673 | 919754e1c269 |
parent 14669 | be8af70adf2c |
permissions | -rw-r--r-- |
10656
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
1 |
HedgewarsScriptLoad("/Scripts/TargetPractice.lua") |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
2 |
|
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
3 |
local params = { |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
4 |
ammoType = amClusterBomb, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
5 |
gearType = gtClusterBomb, |
13098
d3e9f3423ef3
Target Practice: Re-center camera to hog after projectiles get destroyed or drown
Wuzzy <Wuzzy2@mail.ru>
parents:
11968
diff
changeset
|
6 |
secGearType = gtCluster, |
11257
f1b75bf7c4f2
- Rus localization for Target Practices
antonc27 <antonc27@mail.ru>
parents:
10656
diff
changeset
|
7 |
missionTitle = loc("Cluster Bomb Training"), |
10656
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
8 |
solidLand = false, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
9 |
map = "Trash", |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
10 |
theme = "Golf", |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
11 |
hog_x = 756, |
14669
be8af70adf2c
Tweak hog spawn height and facing direction in challenges
Wuzzy <Wuzzy2@mail.ru>
parents:
13098
diff
changeset
|
12 |
hog_y = 403, |
be8af70adf2c
Tweak hog spawn height and facing direction in challenges
Wuzzy <Wuzzy2@mail.ru>
parents:
13098
diff
changeset
|
13 |
faceLeft = true, |
10656
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
14 |
targets = { |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
15 |
{ x = 628, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
16 |
{ x = 891, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
17 |
{ x = 1309, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
18 |
{ x = 1128, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
19 |
{ x = 410, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
20 |
{ x = 1564, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
21 |
{ x = 1248, y = 476 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
22 |
{ x = 169, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
23 |
{ x = 1720, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
24 |
{ x = 1441, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
25 |
{ x = 599, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
26 |
{ x = 1638, y = 0 }, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
27 |
}, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
28 |
time = 180000, |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
29 |
shootText = loc("You have thrown %d cluster bombs."), |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
30 |
} |
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
31 |
|
2093cf51eea1
Add (and slightly tweak) Wuzzy's Target Practice missions
mikade <redgrinner@gmail.com>
parents:
diff
changeset
|
32 |
TargetPracticeMission(params) |