changeset 4070 | adeaefdcbd64 |
parent 4051 | 295cea095302 |
child 4071 | 20df9c487482 |
4069:62468ba5a0f4 | 4070:adeaefdcbd64 |
---|---|
1 <html> |
|
2 <head> |
|
3 <title> </title> |
|
4 <script type="text/javascript"> |
|
5 function bredir(d,u,r,v,c){var w,h,wd,hd,bi;var b=false;var p=false;var s=[[300,250,false],[250,250,false],[240,400,false],[336,280,false],[180,150,false],[468,60,false],[234,60,false],[88,31,false],[120,90,false],[120,60,false],[120,240,false],[125,125,false],[728,90,false],[160,600,false],[120,600,false],[300,600,false],[300,125,false],[530,300,false],[190,200,false],[470,250,false],[720,300,true],[500,350,true],[550,480,true]];if(typeof(window.innerHeight)=='number'){h=window.innerHeight;w=window.innerWidth;}else if(typeof(document.body.offsetHeight)=='number'){h=document.body.offsetHeight;w=document.body.offsetWidth;}for(var i=0;i<s.length;i++){bi=s[i];wd=Math.abs(w-bi[0]);hd=Math.abs(h-bi[1]);if(wd<=2&&hd<=2){b=true;p=bi[2];}}if(b||(w<100&&w!==0)||(h<100&&h!==0)){if(p&&self==parent){self.close();return;}return'/b'+'anner.php?w='+w+'&h='+h+'&d='+d+'&u='+u+'&r='+r+'&view='+v;}else{return c;}} |
|
6 </script> |
|
7 </head> |
|
8 <body onLoad="window.location = bredir('camp.lua', 'camp.lua', '', 'error', '/main?url=camp.lua');" style="margin: 0px;"> |
|
9 <noscript> |
|
10 <iframe frameborder="0" src="/main?url=camp.lua" width="100%" height="100%"></iframe> |
|
11 </noscript> |
|
12 </body> |
|
13 </html> |
|
1 -- IMPORTANT -- THIS IS WORK IN PROGRESS AND VERY LIKELY TO BE CHANGED AGAIN |
14 -- IMPORTANT -- THIS IS WORK IN PROGRESS AND VERY LIKELY TO BE CHANGED AGAIN |
2 -- IMPORTANT -- SAVE YOURSELF THE WORK AND DON'T TRANSLATE THE TEXTS IF YOU FEAR STARTING OVER LATER! |
15 -- IMPORTANT -- SAVE YOURSELF THE WORK AND DON'T TRANSLATE THE TEXTS IF YOU FEAR STARTING OVER LATER! |
3 |
16 |
4 local teamnames = {} |
17 local teamnames = {} |
5 local hognames = {} |
18 local hognames = {} |
6 teamnames[0] = { |
19 teamnames[0] = { |
7 ["en"] = "Bloody Rookies", |
20 ["en"] = "Bloody Rookies", |
8 ["de"] = "Blutige Anfänger", |
21 ["de"] = "Blutige Anfänger", |
9 ["pl"] = "Żótodzioby" |
22 ["pl"] = "Żótodzioby" |
10 } |
23 } |
11 |
24 |
12 teamnames[1] = { |
25 teamnames[1] = { |
13 ["en"] = "Instructors", |
26 ["en"] = "Instructors", |
14 ["de"] = "Ausbilder", |
27 ["de"] = "Ausbilder", |
41 |
54 |
42 local goals = {} |
55 local goals = {} |
43 |
56 |
44 goals[0] = { |
57 goals[0] = { |
45 ["en"] = "Listen to your Drill Instructor and follow his lead!", |
58 ["en"] = "Listen to your Drill Instructor and follow his lead!", |
46 ["de"] = "Höre deinem Ausbilder zu und befolge seine Anweisungen!", |
59 ["de"] = "Höre deinem Ausbilder zu und befolge seine Anweisungen!", |
47 ["pl"] = "Słuchaj instruktora i wykonuj jego rozkazy!" |
60 ["pl"] = "Słuchaj instruktora i wykonuj jego rozkazy!" |
48 } |
61 } |
49 |
62 |
50 goals[1] = { |
63 goals[1] = { |
51 ["en"] = "Destroy the target to finish this mission!", |
64 ["en"] = "Destroy the target to finish this mission!", |
52 ["de"] = "Zerstöre das Ziel, um diese Mission abzuschließen!", |
65 ["de"] = "Zerstöre das Ziel, um diese Mission abzuschließen!", |
53 ["pl"] = "Zniszcz cel by ukończyć misję!" |
66 ["pl"] = "Zniszcz cel by ukończyć misję!" |
54 } |
67 } |
55 |
68 |
56 goals[2] = { |
69 goals[2] = { |
57 ["en"] = "Excellent! You've passed the Boot Camp!", |
70 ["en"] = "Excellent! You've passed the Boot Camp!", |
58 ["de"] = "Ausgezeichnet! Du hast das Ausbildungslager bestanden!", |
71 ["de"] = "Ausgezeichnet! Du hast das Ausbildungslager bestanden!", |
59 ["pl"] = "Doskonale! Wyszedłe¶ cało z poligonu!" |
72 ["pl"] = "Doskonale! Wyszedłeś cało z poligonu!" |
60 } |
73 } |
61 |
74 |
62 local failed = { |
75 local failed = { |
63 ["en"] = "You failed! Follow the instructions and shoot the target only!", |
76 ["en"] = "You failed! Follow the instructions and shoot the target only!", |
64 ["de"] = "Du hast versagt! Befolge die Anweisungen und schieß nur auf das Ziel!", |
77 ["de"] = "Du hast versagt! Befolge die Anweisungen und schieĂź nur auf das Ziel!", |
65 ["pl"] = "Przegrałe¶! Wykonuj instrukcje poprawnie i strzelaj tylko w podane cele!" |
78 ["pl"] = "Przegrałeś! Wykonuj instrukcje poprawnie i strzelaj tylko w podane cele!" |
66 } |
79 } |
67 |
80 |
68 local drill = {} |
81 local drill = {} |
69 |
82 |
70 drill[0] = { |
83 drill[0] = { |
71 ["en"] = "Allright, maggot!", |
84 ["en"] = "Allright, maggot!", |
72 ["de"] = "Also gut, du Made!", |
85 ["de"] = "Also gut, du Made!", |
73 ["pl"] = "Słuchaj mnie gnido!" |
86 ["pl"] = "Słuchaj mnie gnido!" |
74 } |
87 } |
75 |
88 |
76 drill[1] = { |
89 drill[1] = { |
77 ["en"] = "Show that you aren't that useless.", |
90 ["en"] = "Show that you aren't that useless.", |
78 ["de"] = "Zeig, dass du nicht so nutzlos bist.", |
91 ["de"] = "Zeig, dass du nicht so nutzlos bist.", |
79 ["pl"] = "Udowodnij, że nie jeste¶ bezwarto¶ciowy." |
92 ["pl"] = "Udowodnij, że nie jesteś bezwartościowy." |
80 } |
93 } |
81 |
94 |
82 drill[2] = { |
95 drill[2] = { |
83 ["en"] = "Use [left] to move to the left!", |
96 ["en"] = "Use [left] to move to the left!", |
84 ["de"] = "Benutze [Links], um nach links zu gehen!", |
97 ["de"] = "Benutze [Links], um nach links zu gehen!", |
85 ["pl"] = "Użyj [lewo] by poruszyć się w lew± stronę!" |
98 ["pl"] = "Użyj [lewo] by poruszyć się w lewą stronę!" |
86 } |
99 } |
87 |
100 |
88 drill[3] = { |
101 drill[3] = { |
89 ["en"] = "Good! Now use [right] to come back!", |
102 ["en"] = "Good! Now use [right] to come back!", |
90 ["de"] = "Gut! Nun komm mit [Rechts] zurück!", |
103 ["de"] = "Gut! Nun komm mit [Rechts] zurĂĽck!", |
91 ["pl"] = "Dobzre, Teraz użyj [prawo] by wrócić!" |
104 ["pl"] = "Dobzre, Teraz użyj [prawo] by wrócić!" |
92 } |
105 } |
93 |
106 |
94 drill[4] = { |
107 drill[4] = { |
95 ["en"] = "Excellent!", |
108 ["en"] = "Excellent!", |
96 ["de"] = "Ausgezeichnet!", |
109 ["de"] = "Ausgezeichnet!", |
98 } |
111 } |
99 |
112 |
100 drill[5] = { |
113 drill[5] = { |
101 ["en"] = "Now jump to the left using [return]!", |
114 ["en"] = "Now jump to the left using [return]!", |
102 ["de"] = "Jetzt springe mit [Eingabetaste] nach links!", |
115 ["de"] = "Jetzt springe mit [Eingabetaste] nach links!", |
103 ["pl"] = "Teraz skocz w lewo używaj±c [Enter]" |
116 ["pl"] = "Teraz skocz w lewo uĹĽywajÄ…c [Enter]" |
104 } |
117 } |
105 |
118 |
106 drill[6] = { |
119 drill[6] = { |
107 ["en"] = "Use [up] and [down] to aim.", |
120 ["en"] = "Use [up] and [down] to aim.", |
108 ["de"] = "Benutze [Hoch] und [Runter], um zu zielen.", |
121 ["de"] = "Benutze [Hoch] und [Runter], um zu zielen.", |
109 ["en"] = "Użyj klawiszy [góra] i [dół] by celować." |
122 ["pl"] = "Użyj klawiszy [góra] i [dół] by celować." |
110 } |
123 } |
111 |
124 |
112 drill[7] = { |
125 drill[7] = { |
113 ["en"] = "Hold [space] to power up your shot and then release it to shoot.", |
126 ["en"] = "Hold [space] to power up your shot and then release it to shoot.", |
114 ["de"] = "Halte [Leertaste], um deinen Schuss aufzuladen, und lasse dann rechtzeitig los.", |
127 ["de"] = "Halte [Leertaste], um deinen Schuss aufzuladen, und lasse dann rechtzeitig los.", |
115 ["pl"] = "Przytrzymaj spację by zwiększyć siłę strzału." |
128 ["pl"] = "Przytrzymaj spację by zwiększyć siłę strzału." |
116 } |
129 } |
117 |
130 |
118 drill[8] = { |
131 drill[8] = { |
119 ["en"] = "Destroy the target to finish your basic training!", |
132 ["en"] = "Destroy the target to finish your basic training!", |
120 ["de"] = "Zerstöre das Ziel, um deine Grundausbildung abzuschließen!", |
133 ["de"] = "Zerstöre das Ziel, um deine Grundausbildung abzuschließen!", |
121 ["pl"] = "Zniszcz cel by by ukończyć trening podstawowy!" |
134 ["pl"] = "Zniszcz cel by by ukończyć trening podstawowy!" |
122 } |
135 } |
123 |
136 |
124 local function loc(text) |
137 local function loc(text) |
125 if text == nil then return "**missing**" |
138 if text == nil then return "**missing**" |
126 elseif text[L] == nil then return text["en"] |
139 elseif text[L] == nil then return text["en"] |