Latest topics

» Screenshots funny and serious :)
by Jamrom2 Today at 6:47 am

» Computer Overhaul
by frinik Today at 4:19 am

» New & Updated Models(Нові Моделі)
by will73 Yesterday at 5:45 pm

» Video from SF
by frinik Yesterday at 2:15 pm

» Місії на заказ/Mission request
by lockie Yesterday at 11:49 am

» Great pictures from the movies.
by woofiedog Sat Jul 22, 2017 8:38 pm

» Here's To Swimmin' With Bow Legged Women
by woofiedog Sat Jul 22, 2017 8:28 pm

» Effects. New textures. Experiments.
by woofiedog Sat Jul 22, 2017 1:07 pm

» Танк Пантера Д/А/Г/ Panther ausf.D,A,G
by frinik Sat Jul 22, 2017 4:12 am

July 2017

MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar


    Some advises how to put tank in the game

    Share
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3555
    Join date : 2014-07-24
    Age : 50
    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,,;
    where:
    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()
    ...data\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.
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3555
    Join date : 2014-07-24
    Age : 50
    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 ...data\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 Mon Jul 24, 2017 1:39 pm