Debian Codegraph @

data/base/titles/hu/level_editor_help.lua

raw
1 ---------------------------------------------------------------------
2 -- This file is part of Freedroid
3 --
4 -- Freedroid is free software; you can redistribute it and/or modify
5 -- it under the terms of the GNU General Public License as published by
6 -- the Free Software Foundation; either version 2 of the License, or
7 -- (at your option) any later version.
8 --
9 -- Freedroid is distributed in the hope that it will be useful,
10 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- GNU General Public License for more details.
13 --
14 -- You should have received a copy of the GNU General Public License
15 -- along with Freedroid; see the file COPYING. If not, write to the
16 -- Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17 -- MA 02111-1307 USA
18 ----------------------------------------------------------------------
19
20 title_screen{
21 song = "Bleostrada.ogg",
22 text = [[
23 A FREEDROIDRPG PÁLYASZERKESZTŐ
24
25 === BEVEZETÉS ===
26
27 A FreedroidRPG-nek saját pályaszerkesztője van, amelyben a FreedroidRPG térképek bármely részét szerkesztheted és elmentheted.
28
29 Ezt meg tudod nyitni a főmenüből, vagy a „freedroidRPG -e” parancs futtatásával.
30
31 --- Gyorstippek ---
32 Be/kikapcsolja egyes dolgok rövid leírásainak megjelenítését, miközben az egér fölöttük lebeg. Kattints a fehér szóbuborék ikonra a jobb alsó sarokban.
33
34 --- Részletes Összegzés ---
35 Összegzés az akadályokról és egyéb elemekről, melyek meg fognak jelenni ha jobbklikkelsz rájuk a felső objektumválasztón.
36
37 --- Navigáció ---
38 Hogy átválts egy másik pályára, kattints egy közeli pálya számára a kistérkép jobb alsó sarkában vagy válaszd ki a kívánt pályát a szerkesztő menüjéből (bővebb leírás később).
39
40 --- Térképszerkesztés ---
41 A szerkesztő négy szerkesztési módban működhet: Akadályszerkesztés, Padlószerkesztés, Elemek szerkesztése, illetve Útvonalak szerkesztése.
42
43 A bal alsó sarokban kiválasztott gomb jelzi, hogy éppen milyen objektumokat tudsz lehelyezni vagy módosítani.
44 When a button is selected, and you are in placement mode, the object you will place is indicated by the ribbon at the top of the screen. The selection in the ribbon is divided by tabs immediately underneath.
45
46 You can select the obstacle type you want to be placed on the map at the upper object selector. Just click it to select it. Obstacles are divided into groups to provide better overview.
47
48 Pressing space, you will enter the selection mode being indicated by the cursor changing. You can only select group of objects represented by the current activated object mode.
49 Important note: You will only be able to select things that are included in the currently selected mode. If you are in obstacle mode, you won't be able to select items or floor tiles.
50
51
52 Obstacle edit mode:
53
54 In order to select this mode, click on button that says 'Obstacle' of the category selector on the left lower area.
55 Having selected an obstacle, just click somewhere on the map to place it at the cursor's position.
56 Since clicking is a little imprecise, you can also use your numberpad to place obstacles.
57 Click on the leftmost (it shows a small grid) of the five button above category selector to have a grid with numbers displayed. Use left click for switching the grid on and off and right click for changing the grid mode.
58 These numbers refer to the numbers of your numberpad if you have one. Pressing '1' will place the obstacle that is highlighted in the object selector at the position of the digit '1' on the purple grid.
59 Since placing a line of walls that way is quite inefficient, you can simply hold down the left mouse button and a line of walls is placed as you move the cursor if you have a wall object selected. This works with the most common walls in FreedroidRPG.
60 While holding the left mouse button down and placing walls, a click with the right mouse button will remove all the walls you drew after starting to hold down the left mouse button.
61 There are some special objects. Glass walls and cracked brick walls, but also barrels and crates can be destroyed with a few strikes, while the latter two may also release items. Chests can be opened and may contain items, too.
62 The symbol with the crossed out footsteps is not really an object but pure and invisible blocking area ('collision rectangle'). Collision rectangles are the very core of each object since they prevent you from just walking through them as it possible for waypoints or floor tiles.
63
64 Selecting obstacles
65
66 Holding down the left mouse button you can select a rectangle of obstacles. After releasing the mouse button, selected obstacles will turn a different color indicating that they are selected. To select obstacles that are not in the range of such a selection rectangle, hold down 'Ctrl' and click the obstacle or select another rectangle of them.
67 You may have automatically selected several obstacles with one click. You can switch between the obstacles clicking the icon with the chair and the shelf on it, or pressing 'n'.
68 The icon with the trash can delete the selected obstacle.
69 You can also cut (Ctrl+x, can also be used to delete obstacles by just not pasting them again ;) ), copy (Ctrl+c) and paste (Ctrl+v) cut or copied obstacles.
70 You can move selected obstacles holding down the left shift key while dragging the obstacle around. However, this may be quite imprecise.
71
72 Placing objects in Chests
73
74 Simply select the desired chest and click the most left button in the upper button row.
75 You will be forwarded to a screen that looks like the shop screen.
76 There will be a knife displayed (which is actually not placed in the chest by the way) select it and click on the 'sell' button.
77 Select the items you want to be dropped when the player opens the chest.
78 These items will be displayed in the upper shop bar.
79 In order to remove one of these items, simply select it and click on 'buy'.
80 The red cross gets you out of the screen.
81
82 Adding Text to a Sign
83
84 Select the sign and add an obstacle label with the sign text. Save the map and exit.
85 Open the level file (map/levels.dat) and find the new obstacle label. Change the line above the text from 'type=30' to 'type=32' and save.
86 Now when you click on the sign in the game your short message will appear.
87
88 Adding a Dialog to a Terminal
89
90 Select the terminal and add an obstacle label with the dialog name you wish to use. Save the map and exit.
91 Open the level file (map/levels.dat) and find the new obstacle label.
92 Change the line above the text from 'type=30' to 'type=32' and save. Now when you click on the terminal in the game it will start the dialog you selected.
93
94 Floor edit mode:
95
96 The floor edit mode works quite similar to the obstacle edit mode. You can select different types of floors at the object selector.
97 To fill a region with a single floor tile, first select the tile to use, then click and drag the left mouse button until it covers the desired region. The floor tiles are placed on the current floor layer.
98 There are no floors that are special in any way, they are pure decoration.
99
100 The visibility of floor layers can be controlled by a button with the layer icon. The button is only displayed for levels with multilayer floors.
101 Left click on the button switches between a single floor layer displayed and all floor layers displayed. Right click on the button changes the current floor layer.
102
103 Selecting floor types
104
105 Selecting is as easy as in the the obstacle mode. Floor tiles can be moved to with the method described above.
106 For levels with multilayer floors only visible floor layers are selected. When a single floor layer is visible, only the tiles in the current floor layer are selected.
107
108 In order to have a look at the floor only, click the lamp icon to have no obstacles displayed. Another click will let obstacles appear again.
109 The icon with the turquoise rectangle displays collision rectangles. These rectangles indicate the blocking-area of an obstacle. Tux can't walk on such an area.
110 If you turn it on and playtest (explained later) your map, the rectangles are still displayed if activated which is quite useful for testing whether the player can pass a gap or not.
111
112 Item edit mode:
113
114 You can place items to be used by the player on the map, too.
115 Items are objects that the player can pick up. They can be they can be carried, some even be used or equipped.
116 Some items are used to move the plot forward, others provide bonuses to the player, while still others do nothing at all.
117 Select the item mode and click on an item displayed at the object selector. For some items, you must specify an amount before they are placed.
118 You can set it by clicking the arrow buttons or dragging the blue orb to the left or the right.
119 Press 'g' to have a better overview of what items are available (can also be used for dropping, items will be dropped at the crosshair). Hit 'Esc' to abort the process without dropping any items.
120 You can also click the icon with the crossed-out boots to perform this.
121
122
123 Waypoint edit mode:
124
125 Currently, droids (meaning all non-player characters) move around on levels using predefined waypoints.
126 To plant a waypoint, press the 'w' key. This will toggle the waypoint on the rectangle under the crosshair.
127 You can also click the map at a position you want to have a waypoint having this mode activated. Another click somewhere else plants another waypoint and automatically connects the previous selected one with it.
128 Clicking on a preexisting waypoint lets you connect it with another one (just click the other one, too, to do it).
129 However, there is a difference between those two planting methods. When you connect two waypoints using the keyboard, the connections will be unidirectional.
130 That means that when you make a connection from waypoint A to waypoint B, the bot will only be able to walk from A to B but not back.
131 You can remove an unidirectional connection by 'overlying' it with another one going into the very direction as the one you want to delete (this does not work with bidirectional connections!).
132 Bidirectional connections are however automatically done using the click method to connect waypoints.
133 Important note: It is not possible to connect waypoints on different maps with each other!
134 Waypoints are also used to position randomly spawned bots. However this might be inappropriate for some waypoints.
135 There are 'normal' ones which are white, for respawning bots and 'special', purple ones which should be used for NPCs. The normal ones are used for spawned bots, the purple ones should be used for NPCs.
136 You can select these different types of waypoints in the upper selection bar. To turn a normal waypoint into a purple one or back again, press shift+w.
137 Please make sure that paths between waypoints are not blocked by an obstacle in between of two waypoints.
138 To automatically check a entire map for this, you can use the map level validator which is explained later.
139
140
141 Planting Labels:
142
143 There are two kinds of tables: map labels and obstacle labels.
144 Please make sure that each label ID is unique.
145 Giving an empty string will delete the respective label.
146
147
148 Planting map labels
149
150 Map labels are used to define starting locations of NPCs (see ReturnOfTux.droids), events that occur when Tux moves over them (see events.dat), or locations used for movement of NPCs through the lua script files (events, quests, and the dialogs).
151 To define a new map label, press the 'm' key on the keyboard or click the button with the M on the sign on it. You will be prompted for the map label. Note that there will be a colorful circle appearing on any map tile that has been fitted with a map label.
152 The map label will be automatically planted on the tile in the middle of the screen.
153 You can switch the displaying of droids/NPCs on or off pressing the button with the 302 bot on it.
154
155 Planting obstacle labels
156
157 Obstacle labels are important so that some obstacles can be marked for events to happen (for example during a quest). If e.g. an event is supposed to remove a special wall obstacle, then this obstacle must be given a name or ID first, so it can be referred to later in the definition of the event.
158 You can also use them to add dialogs to obstacles, so you can talk to them as they were NPCs.
159 To plant a label on an obstacle, you must first mark this obstacle (see obstacle mode explanation above).
160 Clicking the icon with the sign and the O on it you will be prompted for the new label to attach to this obstacle.
161
162 You can toggle display of map labels using the small icon with the label-circle on it.
163
164 Saving maps:
165
166 In order to save a map, click the small disk icon in the upper right area of the editor screen. The door icon lets you exit the editor.
167 You can also do this via the menu that is opened by pressing the 'Esc' key.
168
169
170 General tips:
171
172 Getting overview
173 In order to change the zoom factor, press the 'o' key or click the icon with the magnifying glass on it.
174 Try left and right clicking in order to access different zoom factors.
175
176
177 The editor menu
178
179 You can access this menu by pressing ESC.
180
181 "Level:"
182 Here you can easily navigate to other levels. You can either use the arrow keys having this option selected
183 in order to switch to the next or previous (refers to level numbers) level, or, clicking on it, enter the number of the desired level and press enter.
184
185 Level options
186 Level: See above for explanation
187 Name: The map name displayed at the GPS in the upper right corner of the game screen. You can disable the GPS in-game using the options menu.
188 Size: You can increase or reduce the size of your level. Select the desired edge where you want to add/remove a line of tiles and click the <- or -> arrow buttons.
189 Floor layers: In order to change the number of floor layers for the current level, use the <- or -> arrow buttons.
190 Edge interface: Here you can set the levels that shall be next to the current level. Enter the level number for the respective edge.
191 A level can only have one adjacent level (one it touches edges with) in each of the four cardinal directions (North, South, West, East).
192 Random dungeon: If you set this option to 'Yes', the map will automatically generate a dungeon. You set the number of teleporters to and from this map clicking on the option.
193 Randomly generated dungeons automatically will have everything necessary, like waypoints, bots, and obstacles, set.
194 Item drop class for obstacles: Set of what item class items dropped by barrels/chests/crates should be.
195 Teleport blockade: Make it (im)possible to teleport away from a level.
196 Teleport pair: This important if you make a dungeon that is not directly connected to another map. You can set the number of exits and entrances for a randomly generated dungeon here.
197 Light: How much light would you like to have? Press space to switch between ambient (general brightness of the present map) and bonus (light emitted by some obstacles, such as lamps or mushrooms) mode.
198 Background music: Here you can set a music track to be played while the player walks around on the map. Possible tracks can be found in ./sound/music/ .
199 Just enter the file name including the .ogg extension.
200 Infinite running Stamina: If you have this set to "yes", Tux' stamina will not decrease while running across the map. This should only be used if the level has no hostile NPCs on it, like on level 0, the Town, for example.
201 add/rem level: Lets you add a new level or remove the current level.
202
203 Advanced options
204 Here you can run the map level validator.
205 The map level validator checks all the paths between connected waypoints to ensure they are not blocked by obstacles. More detailed output explaining which paths are blocked can be found in the terminal, given the case that the game is run using it, or a global error output file.
206 It can also check if you have obstacles near map borders in a critial way.
207 This should ALWAYS be run before calling a map finished.
208 "freedroidRPG -b leveltest" does also run this check.
209
210 Playtest mapfile
211 Allows you to playtest your modifications easily.
212 If you leave this mode, obstacle changes that were made while playing, destroying crates for example, will be reverted to the time where you started playtesting.
213
214
215
216
217 Keys:
218 space toggle planting/selection mode
219 w plant waypoint
220 shift+w toggle mode for waypoints to 'random bot' or 'NPC'
221 escape access menu
222 numberpad digits 1-9 used to plant obstacles at the respective positions of the grid
223 n cycle through selected obstacles (next)
224 z undo last action
225 y redo last undid action
226 c set paths between waypoints
227 ctrl+x or backspace cut selected object(s), can be used to delete objects by not pasting afterwards
228 ctrl+c copy selected object(s)
229 ctrl+v paste cut/copied object(s)
230 alt+shift drag/move selected object using the mouse
231 arrow keys scroll around the map
232 ctrl+arrow keys scroll around in bigger steps
233 mousewheel scroll through obstacles of the object selector
234 ctrl+pageup/page down scroll through obstacles of the object selector
235 g access drop item screen
236 t toggle 3x3 transparency around the crosshair
237 m add/edit a map label at the position of the crosshair or the selected tile
238 o zoom
239 tab switch to the next editing mode
240 shift+tab switch to the previous editing mode
241 f switch to the next object tab
242 shift+f switch to the previous object tab
243
244
245 If you encounter problems with the editor, please contact us.
246 Also, don't be afraid to send us maps if you made something cool, we don't bite. :)
247 ]]
248 }