Latest topics

» Campaign "Steel Beast" (Pz.V "Panther") WIP
by mechanic Today at 12:29 pm

» Легкий танк Т-50/Light tank T-50
by will73 Yesterday at 10:00 pm

» Танк Пантера Д/А/Г/ Panther ausf.D,A,G
by lockie Yesterday at 5:52 pm

» il2 Sturmovik Stalingrad
by lockie Yesterday at 3:51 pm

» SF STA1.2 demo version?
by woofiedog Sun Nov 19, 2017 3:30 pm

» Video from SF
by geoweb35 Sun Nov 19, 2017 11:24 am

» How to get STA3.2 mod?
by lockie Sat Nov 18, 2017 6:18 pm

» STA(Steel Tank Add-on) 3.2 (Steel Fury)
by lockie Fri Nov 17, 2017 1:42 pm

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

November 2017

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

Calendar Calendar


    Individual Tank Insignia Question

    Share
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Individual Tank Insignia Question

    Post by woofiedog on Wed Jan 06, 2016 12:34 pm

    After seeing the excellent work being done on the Polish Mod and the "Four tank men and a Dog" tank insignia. Was just wondering if it would be possible, to have a individual tank insignia to give a personal touch to your favorite tank or ride in the game?

    Maybe something like a mod or other means with JSGME, that would give the player a way adding into a mission a personal insignia. I know you could add one manually, but is it possible to have a small quick change mod?

    Just a thought, thanks.  Smile
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Wed Jan 06, 2016 12:55 pm

    Yeap, it's possible.
    Each tank has a special dummy(chank) on the model, which could be used as a personal insignia.
    U need:
    1. add graphic image to the marks_file, i.e. marks_tac_marks4_c.dds
    2. add new logo description to the file:
    data\k42\loc_rus\levels\LEVELS\spec\markers.engcfg
    For example:

    //my insignia
    my_insignia_01()
    {

    //slot, label 1 (constant), label 2 (number), probability, prefix

    num, 10d, 1, 1, ;
    mark, my_insignia,       , 1.0, ;

    }
    3. add image size of the new insignia to common_res.engcfg
    my_insignia,-0.3,-0.3,tac_marks4,sh_marks,378,875,270,145;
    where
    378,875 - X1,Y1(coordinates of the upper left corner of the image)
    270,145 - size (X1-X2, Y1-Y2)
    4. in ME assign the new insignia to the tank.
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Wed Jan 06, 2016 1:38 pm

    Thank's for the reply and information. Smile

    I do not know how to make a tank skin for SF, but would like to give a small project such a a tank insignia a try.

    One more question, are there some links or etc for SF skin tutorial info, to help get a look for what is needed to get a start? Was checking into this and could not find any information on skinning for Steel Fury for a beginner.  

    Again thank's. Smile
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Wed Jan 06, 2016 1:46 pm

    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Wed Jan 06, 2016 2:44 pm

    Thank's for the help and links. Cool

    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Wed Jan 06, 2016 11:59 pm

    Well it only took today, but figured out how to change my image BMP file into a DDS file.

    Just getting some ideas, but it is a start.  Very Happy



    Using GIMP and had to add a DDS plug in from the GIMP downloads for the DDS files.

    https://code.google.com/p/gimp-dds/
    avatar
    Pointer

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

    Re: Individual Tank Insignia Question

    Post by Pointer on Thu Jan 07, 2016 10:58 am

    #1.
    I tried to implement new set of files for markings

    marks_tac_marks6_c.dds
    bump_tac_marks6_bump_c.dds

    but it doesn't work.
    Must it be registered (declared) in any other place?


    #2.
    In SF markings are not composed as extra local textures on the basic surface, but placed on extra s-class chunks a bit above the surface (what solves the problem of markings visibility).
    So, are bumps obligatory for markings (which generally represent paintings, not bas-reliefs)?
    Why files
    bump_tac_marks*_bump_c.dds
    are not totally "flat"?
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Thu Jan 07, 2016 9:43 pm

    woofiedog wrote:Just getting some ideas, but it is a start.  Very Happy
    That's funny insignia Very Happy
    I like it! Do u want me to put it in the game?
    We may call it mad_dog.

    Pointer wrote:#1.
    I tried to implement new set of files for markings
    marks_tac_marks6_c.dds
    but it doesn't work.
    Must it be registered (declared) in any other place?
    I don't think u need additional registering. Sinply make description in the common_res.engcfg
    But why don't u use already prepared marks4? It's almost empty.

    In SF markings are not composed as extra local textures on the basic surface, but placed on extra s-class chunks a bit above the surface (what solves the problem of markings visibility).
    Yes, even more u've ability to adjust it in the tank.cfg file:
    mark, s_mark_rturr_f, , 0.8, 0, 0.020;
    where
    0 - rotating angle
    0.020 - displacement value from the surface
    Unfortunately, displacement doesn't work if polygon surface has none-unified normals.

    So, are bumps obligatory for markings (which generally represent paintings, not bas-reliefs)?
    Yes, u must provide graphic image with a bump image or there will be glitches. Bumping on the logo/insignia/numbers is presented.
    avatar
    Pointer

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

    Re: Individual Tank Insignia Question

    Post by Pointer on Fri Jan 08, 2016 1:17 am

    lockie wrote:
    Pointer wrote:#1.
    I tried to implement new set of files for markings
    marks_tac_marks6_c.dds
    bump_tac_marks6_bump_c.dds
    but it doesn't work.
    Must it be registered (declared) in any other place?
    I don't think u need additional registering. Sinply make description in the common_res.engcfg
    Description was:

    //Polish marks
    pl_eagle_1tb,-0.3,-0.3,tac_marks6,sh_marks,0,0,128,128;

    and didn't work.
    So it seems, that number of possible markings files is limited.

    BTW1: What is sh_marks parameter?
    BTW2: I can't open with GIMP-DDS existing markings files #5



    But why don't u use already prepared marks4? It's almost empty.
    It was a test action.
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Fri Jan 08, 2016 6:01 am

    lockie... That's funny insignia Very Happy  I like it! Do u want me to put it in the game?  We may call it mad_dog.

    Glad you liked the test logo and yes, place it in the game if you think it is good enough. Very Happy  

    Have working on a couple other ideas for my logo and also have been getting to know GIMP a little better. Which has been a slow learning curve to date, but have made some progress so far. Laughing

    Pionter... Excellent idea and project. Smile
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Fri Jan 08, 2016 1:30 pm

    Pointer wrote:
    //Polish marks
    pl_eagle_1tb,-0.3,-0.3,tac_marks6,sh_marks,0,0,128,128;
    and didn't work.
    How did u know it hadn't work?

    BTW1: What is sh_marks parameter?
    Look here:
    \data\k42\loc_rus\effects\advanced\sh_marks.fx

    BTW2: I can't open with GIMP-DDS existing markings files #5
    I had a very small experience with GIMP and I didn't like it at all. I'm pretty sure I'll never have a deal with GIMP.

    PS
    Try XnView.
    avatar
    Pointer

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

    Re: Individual Tank Insignia Question

    Post by Pointer on Fri Jan 08, 2016 10:30 pm

    lockie wrote:
    Pointer wrote:
    //Polish marks
    pl_eagle_1tb,-0.3,-0.3,tac_marks6,sh_marks,0,0,128,128;
    and didn't work.
    How did u know it hadn't work?
    The eagle wasn't visible on the tank.
    After renaming both DDS files and common_res.engcfg entry into "marks0" - the eagle properly appeared.




    BTW2: I can't open with GIMP-DDS existing markings files #5
    I had a very small experience with GIMP and I didn't like it at all. I'm pretty sure I'll never have a deal with GIMP.
    I see. But I use GIMP and with DDS plug-in can open, edit and save all SF DDSs, except this one. While opening, GIMP reports error "unexpected end of file".
    And markings #5 file is really shorter then others.


    PS
    Try XnView.

    Is that editor or viewer only? Can it convert DDSs into other graphics formats?
    avatar
    Pointer

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

    Re: Individual Tank Insignia Question

    Post by Pointer on Sat Jan 09, 2016 6:07 am

    I've done several tests and got confirmation: number of markings textures files is limited to 6 (indexes from 0 to 5 only, and no more!).
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Sat Jan 09, 2016 8:15 am

    Pointer wrote:I've done several tests and got confirmation: number of markings textures files is limited to 6 (indexes from 0 to 5 only, and no more!).
    It's impossible. There are only limits on the tank size. OK, make a simple mod of what u've done and upload here, then I'll have a look.

    Is that editor or viewer only? Can it convert DDSs into other graphics formats?
    XnView is an image organizer and general-purpose file manager used for viewing, converting, organizing and editing raster images, as well as general purpose file management.
    https://en.wikipedia.org/wiki/XnView
    avatar
    Pointer

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

    Re: Individual Tank Insignia Question

    Post by Pointer on Sat Jan 09, 2016 6:03 pm

    lockie wrote:
    Pointer wrote:I've done several tests and got confirmation: number of markings textures files is limited to 6 (indexes from 0 to 5 only, and no more!).
    It's impossible. There are only limits on the tank size.  OK, make a simple mod of what u've done and upload here, then I'll have a look.

    Just try to implement anything in marks_tac_marks6_c.dds and you will get the answer.
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Sat Jan 09, 2016 7:19 pm

    woofiedog wrote:
    Glad you liked the test logo and yes, place it in the game if you think it is good enough. Very Happy
    Here's a draft version how it'll look like on the turret bounce
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Sun Jan 10, 2016 6:10 pm

    Here's a draft version how it'll look like on the turret

    Looks excellent, Woofie will be very happy! cheers
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Mon Jan 11, 2016 10:06 pm

    Finished my final "personal insignia logo" design which is based on an old photo of Woofie. Smile

    Using "yellow" lettering for the name logo, as yellow was used for some of the "turret codes" on the US tanks in 44, but might change that to white.  Was also trying to keep with a semi realistic logo for the time. Also have been thinking that the logo should maybe be broken into two parts, the "dog face" for the turret and the name "MAD DOG" for the side of the tank. We'll see.  Smile




    Step #1... Making an image is now finished. cheers

    Step #2... So now I need to learn how to "add graphic image to the marks_file, i.e. marks_tac_marks4_c.dds" with GIMP.  study

    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Mon Jan 11, 2016 11:20 pm

    I added my logo image to the "marks_tac_marks2_c.dds"... but really not sure if this is correct or if it was made properly? scratch



    One more question... would it be better if I made my own marks_tac_marks2_c.dds?

    Any help would be welcomed, thank's. Wink


    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Tue Jan 12, 2016 9:03 am

    Logo looks fine. Now u've to define the coordinates and write them down to common_res.
    Here's coordinates of the left upper corner: 820,855

    The size is: 200,165
    So, we've:
    mad_dog,-0.3,-0.3,tac_marks2,sh_marks,820,855,200,165;

    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Tue Jan 12, 2016 12:12 pm

    Thank's for the help lockie. cheers

    I have added the following to one of my SF game setup's.

    1... data\k42\loc_rus\levels\LEVELS\spec\markers.engcfg

    //Woofie insignia
       Woofie_insignia_01()
       {

       //slot, label 1 (constant), label 2 (number), probability, prefix

       num, 10d, 1, 1, ;
       mark, Woofie_insignia,       , 1.0, ;

       }

    2... data\k42\loc_rus\levels\LEVELS\common

    Woofie_insignia,-0.3,-0.3,tac_marks2,sh_marks,820,855,200,165;

    3... Guess it is time to cross my fingers and try too fire this puppy dog up. With any luck I'll post a screenshot. Cool

    Again many thank's for the help. Very Happy
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Tue Jan 12, 2016 12:21 pm

    Believe I missed a final step.

    Don't the image need a "bump_tac_marks2_bump_c.dds" file also? Neutral

    Thank's
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Tue Jan 12, 2016 2:11 pm

    Made a "bump_tac_marks2_bump_c.dds"... but not sure if it is correct.

    Also, after adding the "insignia" into a mission with the ME, it is not showing up on my tank? scratch



    Have the following files made and added to my SF setup.

    1... "marks_tac_marks2_c.dds"



    2... "bump_tac_marks2_bump_c.dds"



    3... New logo description to the file, "markers.engcfg".



    //Woofie insignia
    Woofie_insignia_01()
    {

    //slot, label 1 (constant), label 2 (number), probability, prefix

    num, 10d, 1, 1, ;
    mark, Woofie_insignia, , 1.0, ;

    }

    4... Add image size of the new insignia to "common_res.engcfg"



    Woofie_insignia,-0.3,-0.3,tac_marks2,sh_marks,820,855,200,165;

    5... With ME assign the new insignia to the tank.



    Again any help would be very welcomed! Thank's Smile
    avatar
    lockie
    TSF Member
    TSF Member

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

    Re: Individual Tank Insignia Question

    Post by lockie on Tue Jan 12, 2016 3:47 pm

    Everything seems fine except textures. I think u've made mistake with a bump texture. To be sure I need to have a look. Compile all files into simple mode and upload it here. Then we shell see Basketball
    avatar
    woofiedog
    TSF Member
    TSF Member

    Posts : 1130
    Join date : 2014-07-27
    Location : New England

    Re: Individual Tank Insignia Question

    Post by woofiedog on Tue Jan 12, 2016 6:04 pm

    lockie... Compile all files into simple mode and upload it here. Then we shell see

    Thank's for taking the time to checkout these files.  Very Happy

    mediafire.com download/z64p2v8miv767g6/Tank_Insignia_Files.7z


    Sponsored content

    Re: Individual Tank Insignia Question

    Post by Sponsored content


      Current date/time is Tue Nov 21, 2017 10:30 pm