Latest topics

May 2017

MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar


    Mission Objective Symbols

    Share
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

    Posts : 364
    Join date : 2015-06-11
    Age : 57
    Location : Kalispell, Montana USA

    Mission Objective Symbols

    Post by KurtTank on Sun Oct 18, 2015 4:30 am

    How do I get these objective graphics in my mission?

    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3482
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: Mission Objective Symbols

    Post by lockie on Sun Oct 18, 2015 8:24 am

    Each symbol has his unique name. All of them noted in the "Editor manual"(creating missions and maps), p.57


    In the ME u've to place one contour, let's imagine we want to see bridge symbol on the map. Put on the bridge location the contour with a name map_bridge.

    Then open file:
    data\k42\loc_rus\levels\levels\SCRIPTS\cm_users\mymission_scripts.engscr

    The map symbols are described in the cs_map() block of the i_trigman:trigman macro block. I.e. for the symbol "bridge" we've to place the next entry:
    cs_map()
    {
    ext, add_mo, map0, bridge, 0xc0802020, 0xc0000000, 2, txt_map_bridge, 0, map_bridge, -1, false, 0;
    }

    where:
    ext - external command
    add_mo - command itself (to add symbol)
    map0 - any name for the group of the symbols (we need it when want to change color for the group of symbols)
    0xc0802020 - hex color for the symbol
    0x - hex identificator
    c0 - opacity (FF-max, 00-min. c0 it is 192. Use win calculator to translate numbers)
    802020 - RGB colors (it is red color. Use Photoshop to identify color in hex)
    There are some color samples:
    colors:

    0xffc2e140 - yellow
    0xff8dc040 - green salad (bright)
    0xff00a040 - green black (default)
    0xffe4201c - red
    0xffee3cec - rose
    0xff13d5e1 - bright blue
    0xff871614 - purple
    0xfff6bc4c - orange1
    0xfff77909 - orange2
    0xff0f2ff1 - blue
    0xc0000000 - hex color for the text (000000 it is black)
    2 - scale for the symbol/text
    txt_map_bridge - text identificator (it is located in the file:
    data\k42\loc_rus\levels\levels\SCRIPTS\cm_users\mymission_loc_data.text)
    I.e.
    loc_rus()
    {
    //symbols on the map
    txt_map_bridge() {Stone bridge;}
    }

    0 - angle of the symbol rotating (if u want to specify symbol "bridge" with a differ angle. Usually it is always "0")
    map_bridge - name of the contour on the map
    -1 -  this is for AI calc (always "-1")
    false - symbol rotating when u rotate the map (true - don't rotate)
    0 - text displacement (usually it's always "0")
    Default symbols:

    flag_sq0 - квдр. флажок прозорий, ориентация флажка залежить від напрямку "стрілки" контуру
    flag_tri1 - квдр. флаг пофарбований
    flag_sq1 – трикутний пофарбований прапор
    flag_tri0 - трикутний прозорий прапор
    0xc0802020 - red
    0xc0000080 - blue
    0xc0ff8000 - orange
    //M3 HONEY танк
    // Використовувати для США - (usa_star14_13)
    // Використовувати для Англії - (gbr_m3stuart_mouse)
    // Використовувати для СРСР - (rkka_11_guard)
    // біла зірка - usa_star14_12

    ext, add_mo, selo1, flag_sq1, 0xc0802020, 0xc0000000, 2, txt_map_village, 0, map_siiv, -1, false, 0;
    ext, add_mo, selo1, area, 0x60802020, , 6, , 0, map_siiv, -1, true, 0;
    //f-густий/яскравий/інтенсивний калор 0-повністю прозорий, opacity
    ext, add_mo, selo1, , , 0xc0000000, 1.5, txt_map_Oazis, 0, map_oazis, -1, true, 0;
    //txt
    ext, add_mo, side, , , 0xc0802020 , 2, map_txt_defend, 1, map_side, -1, true, 0;
    ext, add_mo, map, , , 0xc0000000 , 2, map_txt_farm, 1, map_farmstead, -1, true, 0;
    //ambush
    ext, add_mo, map_usa, ambush, 0xc0802020, , 2.0, , 0, map_ambush01, -1, true, 0;
    //dozor
    ext, add_mo, map_usa, dozor, 0xc0802020, , 2.0, , 0, map_def_usa, -1, true, 0;
    //way/road/arrow
    ext, add_mo, way, arrow0, 0x80006000, 0xc0000000, 1.5, map_txt_way_narv,0, map_way_to_right, -1, true, 0;
    //forest tree
    ext, add_mo, map0, forest_mix, 0xffffffff, , 2, ,0, map_forest_01, -1, false, 0;
    ext, add_mo, map0, forest_pine, 0xffffffff, , 2, ,0, map_forest, -1, false, 0;
    ext, add_mo, map0, forest_oak, 0xffffffff, , 2, ,0, map_forest, -1, false, 0;
    //rodnik, spring
    ext, add_mo, map0, rodnik, 0xffffffff, , 2, ,0, map_rodnik_01, -1, true, 0;
    //garden
    ext, add_mo, map0, garden, 0xffffffff, , 2, ,0, map_gard_02, -1, true, 0;
    ext, add_mo, map_ford, ford, 0xc0000000, , 2, , 0, map_ford_l01, -1, true, 0;
    //zagoroda/obstacle/barrages
    ext, add_mo, zagoroda, ez, 0x90000000, , 1.5, ,0, map_zag_01, -1, true, 0;//tank
    ext, add_mo, zagoroda, ap_fence, 0x80000000, , 1.5, ,0, map_zag_04, -1, true, 0;
    //mines
    ext, add_mo, mines, at_mines, 0xc0802020, , 3, , 90, map_ford_r01, -1, true, 0;
    //trench
    ext, add_mo, side, trench, 0xe0802020, , 1, , 0, map_trench_03, -1, true, 0;
    //bridge
    ext, add_mo, map_ford, bridge, 0xc0000000, , 2, , 90, map_stat_bridge, -1, true, 0;
    //building
    ext, add_mo, map1, build, 0xcc4a0304, , 1, , 0, map_bld1, -1, true, 0;//big
    ext, add_mo, map1, build, 0xcc4a0304, , 0.3, , 0, map_bld1, -1, true, 0;//small
    //фігурна скобка
    ext, add_mo, att_ger, attack_rub, 0xc0000080, , 4, , 0, map_ger_att_01, -1, true, 0;
    nop;
    ext, wait_tr, ger_win_tot;
    //ФАРБУВАТИ color change
    ext, change_mo_cols, selo1, 0xc0000080,;
    //ВИДАЛИТИ
    ext, del_mo, wer_atc,;
    //стрілка пунктир/arrow
    ext, add_mo, map1, attack_dir,0xc0000080 , , 4, , 0, map_werm_dira_01, -1, true, 0;
    //відхід пунктир
    ext, add_mo, map1, retreat1, 0xc0000080 , , 4, , 0, map_werm_dira_01, -1, true, 0;
    //відхід жирняк
    ext, add_mo, map1, retreat0, 0xc0000080 , , 4, , 0, map_werm_dira_01, -1, true, 0;
    //відхід фігурна скабка
    ext, add_mo, map6, retreat_rub, 0xc0000080, , 3, , 0, add_map_wer_ret_01, -1, true, 0;
    //rubez
    ext, add_mo, map, rubez, 0xc0802020, , 2.0, , 0, map_gonzales, -1, false, 0;


    STA mod has additional symbols:
    Steel Fury - Kharkov 1942\docs\docs_STA\symbols_onthemap.jpg

    New symbols:

    //new symbols
    //square, квадрат
    ext, add_mo, map_check, rectangle_dotted, 0xc0000000, , 2, ,0, map_01, -1, true, 0;
    ext, add_mo, map_check, burial_mounds, 0xc0000000, , 2, ,0, map_03, -1, true, 0;
    //колодязь, well, вода
    ext, add_mo, map, circle_hpoint, 0xb0000000, , 2, ,0, map_well_01, -1, true, 0;
    //котлован
    ext, add_mo, map_check, quarry, 0xb0000000, , 2, ,0, map_02, -1, true, 0;
    //windmill
    ext, add_mo, map0, windmill, 0xb0000000, , 2, ,0, map_windmill, -1, true, 0;
    //пасіка/hive/bee
    ext, add_mo, map_check, apiary, 0xb0000000, , 2, ,0, map_05, -1, true, 0;
    ext, add_mo, map_check, rectangle, 0xb0000000, , 2, ,0, map_06, -1, true, 0;
    //temple
    ext, add_mo, map_check, temple, 0xb0000000, , 2, ,0, map_07, -1, true, 0;
    //monument
    ext, add_mo, map_check, monument, 0xb0000000, , 2, ,0, map_08, -1, true, 0;
    //cemetery
    ext, add_mo, map_check, cemetery, 0xc0000000, , 2, ,0, map_09, -1, true, 0;
    ext, add_mo, map_check, circle_hpoint, 0xc0000000, , 2, ,0, map_10, -1, true, 0;
    ext, add_mo, map_check, hpoint, 0xc0000000, , 2, ,0, map_11, -1, true, 0;
    ext, add_mo, map_check, embankment, 0xc0000000, , 2, ,0, map_12, -1, true, 0;
    //coulisses
    ext, add_mo, map_check, coulisses, 0xc0000000, , 2, ,0, map_15, -1, true, 0;
    //bushes
    ext, add_mo, initial, bushes, 0xffffffff, , 2, ,0, map_14, -1, true, 0;
    //
    ext, add_mo, map_check, fallen_trees, 0xffffffff, , 2, ,0, map_15, -1, true, 0;
    ext, add_mo, map_check, bog, 0xffffffff, , 3.5, ,0, map_swamp_01, -1, true, 0;//солончак
    ext, add_mo, map_check, swamp, 0xffffffff, , 2, ,0, map_17, -1, true, 0;//4 цяточки
    ext, add_mo, map_check, swamp1, 0xffffffff, , 2, ,0, map_17, -1, true, 0;//area
    ext, add_mo, map_check, hmgun, 0xffffffff, , 2, ,0, map_18, -1, true, 0;
    ext, add_mo, map_check, tdot, 0xc0000000, , 2, ,0, map_19, -1, true, 0;
    ext, add_mo, map_check, avia, 0xc0000000, , 2, ,0, map_20, -1, true, 0;
    //airfield
    ext, add_mo, map_check, aero, 0xc0000000, , 2, ,0, map_21, -1, true, 0;

    PS
    Are you scared? clown What a Face Rolling Eyes
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

    Posts : 364
    Join date : 2015-06-11
    Age : 57
    Location : Kalispell, Montana USA

    Re: Mission Objective Symbols

    Post by KurtTank on Mon Oct 19, 2015 1:16 am

    lockie wrote:Each symbol has his unique name. All of them noted in the "Editor manual"(creating missions and maps), p.57
    ...
    PS
    Are you scared? clown What a Face Rolling Eyes

    Very rabbit I'll give it a try!

    Any chance of a complete English translation for the Default Symbols and New Symbols? There are some words not translated.
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3482
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Re: Mission Objective Symbols

    Post by lockie on Tue Oct 20, 2015 6:43 am

    KurtTank wrote:Any chance of a complete English translation for the Default Symbols and New Symbols? There are some words not translated.
    What are these words exactly? Did u've a look on the Manual Editor, p.57?

    Sponsored content

    Re: Mission Objective Symbols

    Post by Sponsored content


      Current date/time is Sun May 28, 2017 4:05 am