source: golgotha/src/golg/res/editor.res @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 14 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 16.9 KB
Line 
1default_map_width 75
2default_map_height 75
3
4//************************************* TRANSLATE ALL TEXT in between " " ****************
5cmd_new         "New"
6cmd_save        "Save"
7cmd_saveas      "Save As"
8cmd_open        "Open"
9cmd_open_dll    "Load DLL"
10cmd_exit        "Exit"
11
12cmd_undo        "Undo"
13cmd_redo        "Redo"
14cmd_cut         "Cut"
15cmd_copy        "Copy"
16cmd_paste       "Paste"
17cmd_toggle      "Toggle menu"
18cmd_no_snap     "No Snap"
19cmd_snap_center "Snap Cell Center"
20cmd_snap_origin "Snap Cell Origin"
21cmd_drop_objs   "Drop Selected Objects"
22
23cmd_:_bld       "Toggle Buildings"
24cmd_:_grd       "Toggle Ground"
25cmd_:_obj       "Toggle Objects"
26cmd_:_spr       "Toggle Sprites"
27cmd_:_clr       "Toggle Clear"
28
29cmd_:_1v        "1 View"
30cmd_:_4v        "4 View"
31cmd_:_wo        "Objects"
32cmd_:_ws        "Scenes"
33cmd_:radar      "Radar"
34cmd_:_pf        "Profile"
35cmd_:_debug     "Debug"
36cmd_:_path      "AI Window"
37cmd_wiref       "Wireframe"
38cmd_textr       "Textured"
39cmd_:_tilep     "Tile Picker"
40
41
42cmd_:_lg        "Recalc Lighting"
43cmd_:_sv        "Select All Heights"
44cmd_tick        "Advance game 1 tick"
45cmd_resz        "Resize map"
46cmd_ssky        "Change sky"                 
47cmd_res_file    "Set Resource File"
48cmd_lhbmp       "Load Height Bitmap"         
49cmd_shbmp       "Save Height Bitmap"         
50cmd_fogall      "Fog out all map"           
51cmd_fognone     "Unfog all map"             
52cmd_editplyr    "Edit Player Info"
53
54
55cmd_flatn       "Flatten selected"     
56cmd_smooth      "Smooth selected"     
57cmd_noise       "Add noise to selected"     
58cmd_mgtn        "Load Terrain from map"     
59
60file            "File"                 
61edit            "Edit"                 
62view            "View"                 
63window          "Window"               
64map             "Map"                 
65terrain         "Terrain"             
66object          "Object"
67
68cmd_floor_objs  "Floor selected"
69cmd_ciel_objs   "Ciel selected"
70
71radar_title         "Radar"
72object_pick_title   "Objects"         
73scene_win_title     "Scenes"           
74ai_window_title     "AI Window"       
75resize_title        "Level Size"
76new_title           "New Level"
77resize_cur_fmt      "Current Level Size (width x height) %d x %d"
78set_sky_title       "Change level sky"   
79tile_pick_title     "Tiles"               tiles are square ares with textures
80debug_title         "Debug"             
81set_snap_title      "Set Snap"           
82terrain_noise_title "Add Noise"           (noise = randomness)
83
84select_team_help "Select Current Team"       
85delete_scene_help "Delete Scene"             
86tp_grow_help "Make objects bigger"           
87tp_shrink_help "Make objects smaller"       
88
89
90
91CAMERA_help      "Camera path editing mode" 
92CAMERA           0
93  cADD_CAMERA    11
94  cADD_CAMERA_help "Add Camera Path points" 
95  cADD_TARGET    12
96  cADD_TARGET_help "Add Target Path points"  // continue translating until XXXXXXX
97  cADD_OBJECT    13
98  cADD_OBJECT_help "Add Object Path points"
99  cMODIFY        9
100  cMODIFY_help   "Move/Delete points"
101  cSELECT        10
102  cSELECT_help   "Select points"
103  cROTATE        7
104  cROTATE_help   "Rotate camera"
105  cZOOM          8
106  cZOOM_help     "Zoom camera"
107
108OBJECT_help      "Object editing mode"
109OBJECT           1
110  oADD           13
111  oADD_help      "Add new objects"
112  oSELECT        10
113  oSELECT_help   "Select objects"
114  oMOVE          9
115  oMOVE_help     "Select/move/delete objects"
116  oOBJECT_ROTATE 2
117  oOBJECT_ROTATE_help "Spin object"
118  oROTATE        7
119  oROTATE_help   "Camera rotate (also SHIFT arrow keys)"
120  oZOOM          8
121  oZOOM_help     "Camera zoom"
122
123TILE_help        "Terrain editing mode"
124TILE             5
125  tPLACE         5
126  tPLACE_help    "Place single terrain tiles"
127  tFILL          14
128  tFILL_help     "Flood fill terrain tile"
129  tROTATE        7
130  tROTATE_help   "Rotate camera"
131  tZOOM          8
132  tZOOM_help     "Zoom camera"
133  tHEIGHT        15
134  tHEIGHT_help   "Raise/lower terrain vertices - use [] keys"
135
136LIGHT_help       "Ambient Light edit mode"
137LIGHT            16
138  lROTATE        7
139  lROTATE_help   "Rotate camera and light direction"
140  lZOOM          8
141  lZOOM_help     "Zoom camera"
142  lGDARKEN        37
143  lGDARKEN_help   "Turn down global light"
144  lGBRIGHTEN      38
145  lGBRIGHTEN_help "Turn up global light"
146  lDDARKEN        39
147  lDDARKEN_help   "Turn down directional light"
148  lDBRIGHTEN      40
149  lDBRIGHTEN_help "Turn up directional light"
150  lAMBIENT       18
151  lAMBIENT_help  "Set ambient light direction (must have a view selected)"
152
153
154AI_help          "AI/path mode"
155AI               34
156  aROTATE        7
157  aROTATE_help   "Rotate camera and light direction"
158  aZOOM          8
159  aZOOM_help     "Zoom camera"
160  aSELECT        10
161  aSELECT_help   "Select/delete control points"
162  aMOVE          9
163  aMOVE_help     "Select/move/delete control points"
164  aCREATE        35
165  aCREATE_help   "Add control points"
166  aRECALC        36
167  aRECALC_help   "Recalculate AI info"
168
169
170// path window icons
171//   numbers reference bitmaps
172path_tool_win_icons =
173{
174  25 "Set start point for test path"        // translate all of these
175  26 "Set destination point for test path"
176  27 "Add/Delete strategic points"
177  27 "Load strategic points for takeover pads, etc"
178  28 "Show graph / blockage for low grade vehicles (peon tanks, etc.)"
179  29 "Show graph / blockage for normal grade vehicles (stock troops)"
180  30 "Show graph / blockage for high speed vehicles (supertank, electric cars)"
181  31 "Show graph / blockage for flying vehicles (jet, heli)"
182  32 "Test Path using 1x1 convoy"
183  33 "Test Path using 3x3 convoy"
184  27 "Recalculate strategy regions and paths"
185}
186
187
188new      "Add New"           
189new_scene "New Scene"       
190
191e_left res/backward.bmp
192e_left_help                   = "Go back one frame"         
193
194e_right res/forward.bmp
195e_right_help                  = "Go forward one frame"     
196
197e_play res/play.bmp
198e_play_help                   = "Play movie"               
199
200e_fforward res/fforward.bmp
201e_fforward_help               = "Fast forward to end"       
202
203e_rewind res/rewind.bmp
204e_rewind_help                 = "Rewind to Start"           
205
206delete_icon res/delete.bmp
207delete_icon_help              = "Delete this scene"         
208
209delete_title "Delete?"               
210delete_message "Delete this scene?" 
211yes "Yes"                           
212no  "No "                           
213
214red red
215green green
216blue blue
217brightness brightness
218
219edit_object "Edit Object"
220edit_time  "Edit Time"   
221
222sec Sec
223msec mSec
224
225
226merge_ter_title "Merge Terrain into current map"
227merge_ter_mask_name "Golgotha Level"     
228merge_ter_start_dir "."
229merge_ter_file_mask "*.level"     // don't translate
230
231open_title "Load Level"                 
232open_mask_name "Golgotha Level"         
233open_start_dir "."
234open_file_mask "*.level"        // don't translate
235
236open_dll_title       "Load DLL"                 
237open_dll_mask_name   "Dynamically Loaded Library"         
238open_dll_file_mask   "*.dll"     // don't translate
239
240
241undo_file "undo/undo_%d.dat"    // don't translate
242undo_dir  "undo"                // don't translate
243redo_file "undo/redo_%d.dat"    // don't translate
244
245
246get_song_title "Change WAV for Level"     
247get_song_start_dir "songs"      // don't translate
248get_song_file_mask "*.wav"      // don't translate
249get_song_mask_name "WAV file"             
250
251
252resize_dialog =
253"
254[right
255  y+(15)
256 [down
257  x+(5)
258  up_deco(200 70 [down x+(15) text('Current Size')
259                   x+(20) y+(15)
260                   text('Width  : %d') y+(6) text('Height : %d')])
261  y+(15)
262  up_deco(200 70 [down x+(15) text('New Size')
263                   x+(20) y+(10)
264                   [right text('Width  (%d..%d) : ') %p=text_input(70 '%d')]
265                   y+(15)
266                   [right text('Height (%d..%d) : ') %p=text_input(70 '%d')]])
267
268  y+(15)
269  up_deco(200 80 [down x+(15) text('Orientation')
270                   x+(20) y+(10)
271                   butbox(4 [down
272                           [right
273                            button(text(' ') user_ev(%p %d))
274                            button(text(' ') user_ev(%p %d))
275                            button(text(' ') user_ev(%p %d))]
276                           [right
277                            button(text(' ') user_ev(%p %d))
278                            button(text(' ') user_ev(%p %d))
279                            button(text(' ') user_ev(%p %d))]
280                           [right
281                            button(text(' ') user_ev(%p %d))
282                            button(text(' ') user_ev(%p %d))
283                            button(text(' ') user_ev(%p %d))]])])]
284 x+(25)
285 [down
286  button(text('  Ok  ') user_ev(%p %d))
287  y+(2)
288  button(text('Cancel') user_ev(%p %d))]]
289
290"
291
292set_sky_dialog =
293"
294[down
295 y+(15)
296 text('Current sky : %s')
297 y+(15)
298 [right text('Sky ') %p=text_input(70 '%s')]
299
300 y+(15)
301 x+(10)
302 [right
303  button(text('  Ok  ') user_ev(%p %d))
304  x+(2)
305  button(text('Cancel') user_ev(%p %d))]]"
306
307bad_map_w_h_dialog =
308"
309[down x+(5) y+(20)
310 text('Bad width or height (%d X %d)')
311 text('Dimensions must be between %d & %d')
312 x+(130) y+(10)
313 button(text(' Ok ') user_ev(%p %d))
314]"
315
316bad_w_h_title = "Invalid W / H"
317
318undo_dir  undo
319undo_name %d.undo
320
321load_height_map_title "Load Terrain Height Image"
322load_height_start_dir "."
323load_height_file_mask "*.tga"
324load_height_mask_name "Targa File"
325
326couldn't_load_image_title "Unknown image type"
327couldn't_load_image_dialog "
328[down x+(5) y+(20)
329 text('Could not load image (%S)')
330 text('Unrecognized format')
331 x+(130) y+(10)
332 button(text(' Ok ') user_ev(%p %d))
333]"
334
335load_height_bad_size_title "Bad image size"
336load_height_bad_size_dialog "
337[down x+(5) y+(20)
338 text('Dimensions of image do not match map')
339 text('Image (%S) %dx%d, map verts=%dx%d')
340 x+(130) y+(10)
341 button(text(' Ok ') user_ev(%p %d))
342]"
343
344
345save_height_map_title "Save Terrain Height Image"
346save_height_start_dir "."
347save_height_file_mask "*.tga"
348save_height_mask_name "Targa File"
349save_height_default_name "%S.tga"
350
351save_height_bad_file_tile "Could not create"
352save_height_bad_file_dialog
353"[down x+(5) y+(20)
354 text('Could not create file %S')
355 x+(130) y+(10)
356 button(text(' Ok ') user_ev(%p %d))
357]"
358
359loading_terrain_bitmap = "Loading terrain bitmap"
360applying_terrain_map = "Applying terrain map"
361applying_smooth = "Smoothing terrain"
362applying_flatten = "Flattening terrain"
363applying_noise = "Applyiong Noise to terrain"
364"moving vertices" = "Moving vertices"
365
366set_snap_dialog =
367"[down x+(5) y+(20)
368 [right text('Vertex snap      (1..128)') %p=text_input(50 '%d')]
369 y+(20)
370 [right text('Object move snap (0..2)  ') %p=text_input(50 '%2.2f')]
371 y+(20)
372 [right
373  button(text('  Ok  ') user_ev(%p %d))
374  x+(2)
375  button(text('Cancel') user_ev(%p %d))]]"
376
377
378bad_vert_snap_dialog =
379"[down x+(5) y+(20)
380 text('Bad value for Vertex Snap (%d)')
381 text('Value should be between 1 & 128')
382 x+(130) y+(10)
383 button(text(' Ok ') user_ev(%p %d))
384]"
385
386
387bad_object_snap_dialog =
388"[down x+(5) y+(20)
389 text('Bad value for Object Snap (%2.2f)')
390 text('Value should be between 0 & 2')
391 x+(130) y+(10)
392 button(text(' Ok ') user_ev(%p %d))
393]"
394
395terrain_noise_dialog =
396"
397[down x+(5) y+(20)
398 [right text('Noise maximum    (1..64)')  %p=text_input(50 '%d')]
399 y+(20)
400 [right
401  button(text('  Ok  ') user_ev(%p %d))
402  x+(2)
403  button(text('Cancel') user_ev(%p %d))]]
404]
405"
406
407
408sfx_obj_dialog =
409"
410[down x+(5) y+(20)     
411
412 [right text('Filename ') %p=text_input(230 '%S') x+(10) button(text('Browse') user_ev(%p %d))]
413y+(8)
414 [right text('Max Volume (0..%d)                      ') %p=text_input(50 '%d')]
415y+(8)
416 [right text('Max Hearable Distance                   ') %p=text_input(50 '%d')]
417y+(8)
418 [right text('Restart Delay in ticks (%d per second)  ') %p=text_input(50 '%d')]
419y+(8)
420 [right text('Additional Random Restart Delay in ticks') %p=text_input(50 '%d')]
421y+(8)
422 [right text('Current Delay in ticks                  ') %p=text_input(50 '%d')]
423
424 y+(20)
425 [right
426  button(text('  Ok  ') user_ev(%p %d))
427  x+(2)
428  button(text('Cancel') user_ev(%p %d))]]
429]
430"
431
432
433bad_volume_dialog
434"[down x+(5) y+(20)
435 text('Bad Max Volume value %d : should be (0..%d)')
436 x+(130) y+(10)
437 button(text(' Ok ') user_ev(%p %d))
438]"
439
440
441
442get_res_title "Change Resource file for Level"     
443get_res_start_dir "."             // don't translate
444get_res_file_mask "*.scm"      // don't translate
445get_res_mask_name "SCHEME file"             
446
447
448new_level_dialog =
449"
450[down x+(5) y+(20)     
451
452 [right text('Level Name/Filename ') %p=text_input(230 'test.level')]
453y+(8)
454 [right text('Map Width (%d..%d)                      ') %p=text_input(50 '%d')]
455y+(8)
456 [right text('Max Height (%d..%d)                     ') %p=text_input(50 '%d')]
457y+(8)
458
459 y+(20)
460 [right
461  button(text('  Ok  ') user_ev(%p %d))
462  x+(2)
463  button(text('Cancel') user_ev(%p %d))]]
464]
465"
466
467
468change_res_title = "Change Resource File"
469change_res_dialog =
470"
471[down x+(5) y+(20)
472 text('Current Level Name : %S')
473 y+(20)
474 [right text('Resource File       ') %p=text_input(230 '%S') x+(10) button(text('Browse') user_ev(%p %d))]
475 y+(20)
476 [right
477  button(text('Change & Reload Level') user_ev(%p %d))
478  x+(2)
479  button(text('Cancel') user_ev(%p %d))]]
480]
481"
482
483// new_level_dialog = "
484// (arrange_top_down
485//  (arrange_left_right (text \"Level Name\") (text_input 70 (param) (param)))
486//  (rectangle 1 15)
487//  (arrange_left_right (text \"Resource File\") (text_input 70 (param) (param)))
488//  (rectangle 1 20)
489//  (arrange_left_right (text \"Width\") (text_input 70 (param) (param)))
490//  (rectangle 1 15)
491//  (arrange_left_right (text \"Height\") (text_input 70 (param) (param)))
492//  (rectangle 1 30)
493//  (arrange_left_right (rectangle 20 1)
494//                      (button (text \"  Ok  \") (user_event (param) (param)))
495//                      (button (text \"Cancel\") (user_event (param) (param))))
496// )
497// "
498
499
500
501screen_shot_filename "shot.tga"
502pick_pass            "bitmaps/pick1.tga"
503pick_act             "bitmaps/pick2.tga"
504click_to_active      "Click to active this view"
505
506e_icons = {
507       bitmaps/editor/camera.bmp       // 0
508       bitmaps/editor/object.bmp       // 1
509       bitmaps/editor/spin.bmp         // 2
510       bitmaps/editor/frame.bmp        // 3
511       bitmaps/editor/play.bmp         // 4
512       bitmaps/editor/tile.bmp         // 5
513       bitmaps/editor/frame.pcx.bmp    // 6
514       bitmaps/editor/rotate.bmp       // 7
515       bitmaps/editor/zoom.bmp         // 8
516       bitmaps/editor/move.bmp         // 9
517       bitmaps/editor/select.bmp       // 10
518       bitmaps/editor/camera_add.bmp   // 11
519       bitmaps/editor/target.bmp       // 12
520       bitmaps/editor/obj_add.bmp      // 13
521       bitmaps/editor/fill.bmp         // 14
522       bitmaps/editor/height.bmp       // 15
523       bitmaps/editor/light.bmp        // 16
524       bitmaps/editor/lcreate.bmp      // 17
525       bitmaps/editor/lambient.bmp     // 18
526       bitmaps/editor/mirror.bmp       // 19
527       bitmaps/editor/grow.bmp         // 20
528       bitmaps/editor/shrink.bmp       // 21
529
530       bitmaps/editor/begin.tga        // 22
531       bitmaps/editor/dest.tga         // 23
532       bitmaps/editor/critical.tga     // 24
533
534       bitmaps/editor/start.jpg        // 25
535       bitmaps/editor/end.jpg          // 26
536       bitmaps/editor/stop.jpg         // 27
537       bitmaps/editor/grade1.jpg       // 28
538       bitmaps/editor/grade2.jpg       // 29
539       bitmaps/editor/grade3.jpg       // 30
540       bitmaps/editor/grade4.jpg       // 31
541       bitmaps/editor/size1.jpg        // 32
542       bitmaps/editor/size3.jpg        // 33
543
544       bitmaps/editor/ai.bmp           // 34
545       bitmaps/editor/waypoint_add.bmp // 35
546       bitmaps/editor/ai_recalc.bmp    // 36
547       
548       bitmaps/editor/ambient-lower_button.bmp   // 37
549       bitmaps/editor/ambient-higher_button.bmp   // 38
550
551       bitmaps/editor/directional-lower_button.bmp   // 39
552       bitmaps/editor/directional-higher_button.bmp   // 40
553
554}
555
556
557// tile picker icons
558tp_rotate        2
559tp_rotate_help   "Rotate tile 90 degrees"
560tp_mirror        19
561tp_mirror_help   "Mirror tile across X axis"
562tp_grow          20
563tp_grow_help     "Enlarge tile size"
564tp_shrink        21
565tp_shrink_help   "Shrink tile size"
566
567
568path_start       22
569path_dest        23
570path_critical    24
571
5720 0
573
574//               #    start     length   name
575scene_info_fmt "%3d  %3d:%2d   %3d:%2d   %S"
576
577frame_format "%d"
578time_format "%d:%02d"
579next         "next"
580not_sel       "NA"
581no_next      "NA"
582null_string  ""
583sec_fmt "%d"
584msec_fmt "%02d"
585
586change_link_help "Link to the currently selected object(s)"
587change_link "Set Link"
588
589add_links "Add"
590del_links "Del"
591clear_links "Clear"
592
593
594add_links_help "Link currently selected objects"
595del_links_help "Unlink currently selected objects"
596clear_links_help "Clear all links"
Note: See TracBrowser for help on using the repository browser.