Latest topics

» STA(Steel Tank Add-on) 3.2 (Steel Fury)
by lockie Yesterday at 1:42 pm

» The Sun Comes Up, the Sun Goes Down
by woofiedog Thu Nov 16, 2017 9:17 pm

» Variants of the "Sherman"
by mechanic Thu Nov 16, 2017 12:19 pm

» The Soviet Story
by Tanker Wed Nov 15, 2017 3:15 pm

» Легкий танк Т-50/Light tank T-50
by will73 Tue Nov 14, 2017 6:19 pm

» Campaign: Otto Carius (WIP)
by lockie Tue Nov 14, 2017 11:57 am

» Lieutenant Z. Kolobanova "To Stand to the Death!" Battle of Voiskovitsy
by frinik Tue Nov 14, 2017 1:08 am

» Ukraine fights against enemy.
by lockie Mon Nov 13, 2017 2:17 pm

» Video from SF
by geoweb35 Mon Nov 13, 2017 1:00 pm

November 2017

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

Calendar Calendar


    What does parameters of the mission?

    Share
    avatar
    lockie
    TSF Member
    TSF Member

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

    What does parameters of the mission?

    Post by lockie on Fri Oct 31, 2014 3:33 pm

    That's a first question which bumped into any newcomers who wanted to make mission.
    Let's see on the example of the mission "Operation Thunder", GMP1.x
    ...data\k42\loc_rus\levels\levels\camp\gmp_10.engcfg
    Code:
    campaign39, KV2_thunder,1, 0, kv2_thund.jpg,txt_cit_thunder,21,txt_thunder_hist,thunder,levels\levels\cm_pack_mission10\kv2_thunder.level,0,,back_cd_end1,txt_thunder_end,thunder.ogg,;
    where:
    campaign39 - number/name of the campaign
    KV2_thunder - name of the mission with short description, located here:
    ...data\k42\loc_rus\text\GMP_1.2.text
    This is entry:
    KV2_thunder() {Operation "Thunder", 7 July 1941, (KV-2); }
    1 - single mission
    0 - number of tries (stock missions has 3 tries, then next mission opens)
    kv2_thund.jpg - picture(should be in *.jpg/tga format) during mission loading, located here:
    ...data\k42\loc_rus\images\backs\kv2_thund.jpg
    txt_cit_thunder - name of the text identificator for the quotes, located here:
    ...data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_pack_mission10\missn_thunder_loc_data.text
    This is entry:
    txt_cit_thunder()
    {
    //quote #1
    bla-bla_01;
    //quote #2
    bla-bla_02;
    .
    .
    .
    //quote #21
    bla-bla_21;
    }


    21 -  the number of quotes

    txt_thunder_hist - text of history note, located:
    ...data\k42\loc_rus\text\GMP_1.2.text
    This is entry:
    txt_thunder_hist()
    {
    bla-bla;
    }


    thunder - the most interesting and one of the most bugged feature Smile It is picture of the history mission. It must be in *.tga(or *.dds) format. It's located here:
    ...data\k42\loc_rus\textures\HIST_MAPS\thunder.tga
    The problem is that missionmaker in 90% forgot to include this picture Smile

    levels\levels\cm_pack_mission10\kv2_thunder.level - this file contains information where missions files located, what is the weather/weather speed/cycle/start time. It it located:
    ...data\k42\loc_rus\levels\LEVELS\cm_pack_mission10\kv2_thunder.level

    0 - number of tries (once again for confirmation)
    empty space - the name of campaign. It does only for campaign. In our case - single mission, just don't put in it anything. Leave as it is.

    back_cd_end1 - picture after mission completed(post-mission picture). Should be in the *.dds format. It is located here:
    ...data\k42\loc_rus\textures\HIST_MAPS\end\menu_back_cd_end1_c.dds

    thunder.ogg - this is video before mission start (during downloading)
    empty space - this is video after mission completed (or u may place here video in case u don't want to put in "post-mission picture")

    Credits:
    - thanks to Rends for his first campaign, which was example for me!

    Video tutorial:

      Current date/time is Sat Nov 18, 2017 9:36 am