Latest topics

» Screenshots funny and serious :)
by frinik Today at 11:53 am

» STA(Steel Tank Add-on) 3.3 (Steel Fury)
by aww1234 Yesterday at 7:56 pm

» Woofie the Dog's Skin Shop
by KurtTank Yesterday at 2:36 pm

» Ukraine fights against enemy.
by lockie Sun Mar 18, 2018 12:16 pm

» Game Missions Pack #04 (GMP 4.16)
by lockie Thu Mar 15, 2018 1:07 pm

» New & Updated Models(Нові Моделі)
by will73 Tue Mar 13, 2018 2:52 am

» Game keeps crashing when trying to load misison
by sjr162 Fri Mar 09, 2018 9:03 am

» Thunderbolts & Lightning
by woofiedog Thu Mar 08, 2018 6:45 pm

» ITALY side
by will73 Thu Mar 08, 2018 8:53 am

March 2018


Calendar Calendar

    Some advises how to put tank in the game

    TSF Member
    TSF Member

    Posts : 3774
    Join date : 2014-07-24
    Age : 51
    Location : Ukraine, Kyiv

    Some advises how to put tank in the game

    Post by lockie on Mon Sep 15, 2014 1:06 pm

    1. Set up the number of crew members to "0" in data\k42\loc_rus\levels\LEVELS\common\common_units, i.e. for Chutchill Mk.IV: gbru_churchilld,i_techn,tech_cfg\churchill.engcfg,churchilld_brit,,0,0,,;
    1.gbru_churchilld - inner name of the unit
    2.i_techn - AI technik
    3.tech_cfg\churchill.engcfg - config file
    4.churchilld_brit - variable of the unit in config file (there could be several variables for the several tanks in one config file)
    5.space1 - for the i_human side, i.e. %SIDE_BRITISH%,
    6.0 - quantity of the crew members, i.e. for the "Chutchill" 5(five) members
    7.0 - quantity of the desant/motorized infantry, i.e. for the "M3 lee" 7(seven) soldiers
    8.space2 - sequence of the members crew to define the seat in the tank, i.e. wp_commanders usually corresponds to key F3 and he is third in the line (see ...\tech_cfg\***.engcfg file, variable: wp_decode and ...\tech_cfg\misc\***.places.engcfg)
    9.space3 - importance for the i_human units, i.e. for the British Captain it has 1.25
    2. Set up in config file, i.e. for the "Churchill": churchilld_brit()\k42\loc_rus\levels\LEVELS\tech_cfg\churchill.engcfg
    • interf_cfg =; //(no interface for human)
    • cocpit =; //(no cockpit for human)

    As result, u've to get the new tank on the polygon without crew. At this stage u've to pay attention to the file - ***_places.engcfg, where all members have a seat, hatches, animation, importance.
    Next stage - start to adjust cockpit for the crew members.
    TSF Member
    TSF Member

    Posts : 3774
    Join date : 2014-07-24
    Age : 51
    Location : Ukraine, Kyiv

    Re: Some advises how to put tank in the game

    Post by lockie on Thu Sep 18, 2014 8:09 pm

    This advise how to export already prepared 3D model into the game format *.go
    Let's imagine we've prepared tank model M3 "Grant" with all necessary LOD's (Level Of Detail). There should be three LOD's:
    - first for the distance x<50m
    - second for the distance 50>x<150
    - third for the distance x>150
    (all distance of the LOD's u may define in the file\k42\loc_rus\config\config.engcfg). Each LOD should be less in polygons number on 30% to compare with other. For example: first LOD has 1000 polygons, second should has 600-700 polygons, third should has 300-400 polygons.

    So, let's export the model. First of all u've to select model in 3D Max and export it in kwx format. See FAQ What does "KW X-port"? When we exported all three LOD's let's open Object Editor and start.
    1. Press F9 then select first LOD.

    2. Program calculate all LOD's and give error message, but don't be bothered about it, just go on. Click OK and close error note.

    3. Open newly prepared by the program model grant_l.go. The new model already has 3 LOD's. To check it out press: +/-

    4. Select all parts of the model Ctr+Shift+A and assign by pressing knob "<<" the material. In our case it is: M3 GRANT

    Note: material must be defined in the file: ...\data\k42\loc_rus\config\matlib.engcfg

    5. Save model with new material.

      Current date/time is Tue Mar 20, 2018 6:33 pm