Latest topics

» Errors 98% during mission download
by lockie Yesterday at 9:59 pm

» Video from SF
by plug_nickel Yesterday at 12:06 pm

» Українська локалізація/Ukrainian local
by will73 Yesterday at 6:40 am

» black tanks
by eagle64 Tue Sep 19, 2017 10:32 am

» Video Achtung Panzer
by plug_nickel Mon Sep 18, 2017 1:45 pm

» 2.3 sta troubleshooting
by cftaurus Mon Sep 18, 2017 1:27 pm

» Ukraine fights against enemy.
by lockie Sun Sep 17, 2017 5:45 pm

» STA2.3 version
by mechanic Sun Sep 17, 2017 7:26 am

» New & Updated Models(Нові Моделі)
by Glushak Sat Sep 16, 2017 8:26 pm

September 2017

MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar


    Mission Editor and Names of missions

    Share
    avatar
    KurtTank
    Best Modmaker
    Best Modmaker

    Posts : 374
    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 : 3642
    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 : 374
    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 : 158
    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 : 374
    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 Thu Sep 21, 2017 4:19 am