Latest topics

May 2017

MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar


    Mission Editor and Names of missions

    Share
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

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

    Mission Editor and Names of missions

    Post by KurtTank on Sat Jul 04, 2015 12:19 am

    When I want to modify a mission created by others, I'm having trouble matching the name of the mission in the game with the name of the mission in the editor, i.g., cm_bar rd1 might be easy June 1941 Barbarossa, Wehrmacht?, but what is the title for cm_final? Wouldn't it be easier to keep the same name in both the game and the editor??
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Mission Editor and Names of missions

    Post by lockie on Sat Jul 04, 2015 5:49 am

    KurtTank wrote:When I want to modify a mission created by others, I'm having trouble matching the name of the mission in the game with the name of the mission in the editor
    Yes, it's crazy thing Smile
    I was near madness to find out what the mission name was bounce
    But now situation is clear.
    Here is my method:
    1. Start the mission, then exit (Ctrl+Alt+Del). Let's say we started mission "Unnamed Hill", GMP2.35.

    2. Open with Notepad++ the next file:
    ...data\k42\loc_rus\levels\cur_mission.engcfg
    This file contains what the current mission is.
    main()
    {
    cur_mission = levels\levels\cm_pack_mission20\unamed_hill.level;
    cur_code = campaign01;
    cur_camp = mission_pack20;
    image = KV1_back_01.jpg;
    citate = unnamed_cit_01;
    citate_num = 4;
    end_image = ;
    end_text = ;
    beg_video = ;
    end_video = ;
    } //end of main
    _vars() {}
    We need the entry: cur_mission   =   levels\levels\cm_pack_mission20\unamed_hill.level
    3. Open file:
    ...data\k42\loc_rus\levels\LEVELS\cm_pack_mission20\unamed_hill.level
    Here we're with all files of the mission:
    main()
    {
    env_arc = envs\Alex_poly_02\Alex_poly_02.polypack;
    env_desc = Alex_poly_02.poly;
    loc_data = scripts\cm_pack_mission20\unnamed_loc_data.text;
    scripts = scripts\cm_pack_mission20\unnamed_scripts.engscr;
    start_hours = 12;
    start_minutes = 0;
    use_weather_def = false;
    weater_speed = 0.010;
    weather = clear;
    weather_cycle = 480;
    weather_file = weather\weather_vlg.engcfg;
    weather_pos = 0;
    zones = scripts\cm_pack_mission20\unnamed_zones.engcfg;

    #include "..\shared_level.engcfg"
    }

    _vars() {}
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

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

    Thanks!

    Post by KurtTank on Sat Jul 04, 2015 9:44 pm

    You are the man! Thanks very much.
    avatar
    Pointer

    Posts : 157
    Join date : 2015-04-18
    Location : Poland

    Re: Mission Editor and Names of missions

    Post by Pointer on Sun Jul 05, 2015 2:07 pm

    I don't understand the problem.
    The ME does it itself: when started, the opening menu points on the last mission played. Just do NOT change this selection.
    The problem was only in the stock game, while playing missions unzipped from datapacks.
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

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

    Re: Mission Editor and Names of missions

    Post by KurtTank on Sun Jul 12, 2015 9:53 pm

    Pointer wrote:I don't understand the problem.
    The ME does it itself: when started, the opening menu points on the last mission played. Just do NOT change this selection.
    The problem was only in the stock game, while playing missions unzipped from datapacks.

    Thanks, I get that now. Being new to Modding, I have a lot to learn...

    Sponsored content

    Re: Mission Editor and Names of missions

    Post by Sponsored content


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