2013-10-25 13:45:09 +00:00
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
2014-07-10 15:16:30 +00:00
"Report-Msgid-Bugs-To: \n"
2014-09-20 20:29:05 +00:00
"POT-Creation-Date: DATE\n"
2013-10-25 13:45:09 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
2014-07-10 15:16:30 +00:00
"Language: de\n"
2013-10-25 13:45:09 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
2014-07-10 15:16:30 +00:00
"X-Generator: Translate Toolkit 1.11.0\n"
2013-10-25 13:45:09 +00:00
#. type: One-char language identifier
2014-09-20 20:29:05 +00:00
#: levels/levels-po/exercises/chapter002/level006/po/scene_langchar.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "E"
msgstr "D"
#. type: Title-text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/scene.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Wasp Hunter 1"
2013-10-25 13:45:09 +00:00
msgstr ""
2014-09-20 20:29:05 +00:00
#. type: Plain text
#: levels/exercises/chapter002/level006/scene.txt:2
#: levels/exercises/chapter002/level006/help/help.E.txt:3
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Shoot down the flying wasps."
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: ScriptName-text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/scene.txt:3
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Wasp1"
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: \b; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:1
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "Objective"
msgstr ""
#. type: \t; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:4
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "Program"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:6
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Here is again the program of the previous exercise that shoots all ants and adapts to the terrain:"
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: \s; block (usually verbatim code)
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:36
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid ""
"extern void object::JetFighter2()\n"
"{\n"
"\t<a cbot|type>object</a> item;\n"
"\t\n"
"\t<a cbot|aim>aim</a>(-20);\n"
"\t\n"
"\t<a cbot|while>while</a> (true)\n"
"\t{\n"
2014-09-20 20:29:05 +00:00
"\t\t<a cbot|while>while</a> (<a cbot|radar>radar</a>(AlienAnt, 0, 360, 0, 20) == null)\n"
2013-10-25 13:45:09 +00:00
"\t\t{\n"
"\t\t\titem = <a cbot|radar>radar</a>(AlienAnt);\n"
"\t\t\t<a cbot|turn>turn</a>(<a cbot|direct>direction</a>(item.position));\n"
"\t\t\t<a cbot|motor>motor</a>(1,1);\n"
"\t\t\t\n"
"\t\t\t<a cbot|jet>jet</a>(0);\n"
"\t\t\t<a cbot|if>if</a> (position.z-topo(position) < 6)\n"
"\t\t\t{\n"
"\t\t\t\t<a cbot|jet>jet</a>(1);\n"
"\t\t\t}\n"
"\t\t\t\n"
"\t\t\t<a cbot|if>if</a> (position.z-topo(position) > 9)\n"
"\t\t\t{\n"
"\t\t\t\t<a cbot|jet>jet</a>(-1);\n"
"\t\t\t}\n"
"\t\t\t<a cbot|wait>wait</a>(0.2);\n"
"\t\t}\n"
"\t\t<a cbot|fire>fire</a>(1);\n"
"\t}\n"
"}"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:38
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "In order to adapt the program to shooting wasps, you need to make a few changes. Replace all <code>radar(AlienAnt)</code> with <code>radar(AlienWasp)</code>. The cannon must aim straight forward and not downward, replace <c/>aim(-20);<n/> with <c/>aim(0);<n/>. And the bot must fly at the same height as the wasp. For this, you must compare the altitude of the bot given by <code>position.z</code> with the altitude of the wasp given by <code>item.position.z</code>: if <code>position.z > item.position.z</code>, go down slowly with <c/>jet(-0.3);<n/>. If <code>position.z < item.position.z-1</code>, climb slowly with <c/>jet(0.3);<n/>. A winged shooter is higher than a wasp, therefore it is better if the altitude of the bot is a little lower than the altitude of the wasp. In this case, we admit that the altitude of the bot ranges between the altitude of the wasp and the altitude of the wasp minus 1."
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: \t; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:39
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "Further improvement"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:41
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "Wasps move very fast. In order to increase your chances to get them, better to repeat just before the <c/>fire(1);<n/> a <code>radar</code> and a <code>turn</code> in order to perform a last readjustment of the direction before the shot."
2013-10-25 13:45:09 +00:00
msgstr ""
#. type: \t; header
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:42
2013-10-25 13:45:09 +00:00
#, no-wrap
msgid "See also"
msgstr ""
#. type: Plain text
2014-09-20 20:29:05 +00:00
#: levels/exercises/chapter002/level006/help/help.E.txt:43
2013-10-25 13:45:09 +00:00
#, no-wrap
2014-09-20 20:29:05 +00:00
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
2013-10-25 13:45:09 +00:00
msgstr ""