Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Making & naming "Unit Handbook" graphics files & adding them to the "pictures" folder

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985 >> Mods and Scenarios >> Making & naming "Unit Handbook" graphics files & adding them to the "pictures" folder Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
Making & naming "Unit Handbook" graphics fi... - 3/12/2017 6:08:49 PM   
Hoplite1963

 

Posts: 183
Joined: 7/27/2008
Status: offline
Hi
I have noticed that in the "Unit Viewer" each separate platoon type shown (even if the only difference is the number of strength points) has its own 6 digit number proceeded by a "P" and that the first two digits of this number are also the same as that for the nationality files for its parent country that are currently the sole occupants of the pictures folder and which appear as the image if any platoon unit of that nation is selected and the "Unit handbook" entry opened for it .

Does this mean that if you wanted to make a Unit handbook" image for say a 3 vehicle strength Syrian T54 tank platoon it should be a 197 pixels wide and 143 pixels wide BMP file called P260016 ? If so. are there any other constraints that need to be adhered to in preparing the file?
Many thanks

Ian
Post #: 1
RE: Making & naming "Unit Handbook" graphic... - 3/13/2017 10:44:42 AM   
Crossroads


Posts: 16145
Joined: 7/5/2009
Status: offline
Hello Ian! In principle: yes. The code reverts to a default nation specific bitmap if unit specific is not found. At the moment those are the map snippets with the nation's flag in it.

Off my head I am not sure about the maximum size, maybe that is it. I'll check when I get home. (I have 250x125 popping up from my head, but maybe that's the max size of Scenario Pictures.)

Also I can't recall from top of my head if the Unit Picture needs to be the same as the Unit Bitmap and not Unit ID (in your sample: maybe Up260016, maybe one under another SP size), as often there's several entries for same unit type but with different Strength. I'll check that too later.

EDIT: See HERE. By Unit Bitmap I refer to parameter #20, in the sample see how the two SA-6 platoons have the same parameter value there: despite of the two entries of two sized, they are represented by the same Unit Image 3D bitmap file. In case of SA-6, both Unit ID P238009 (Strength: 4 platforms) and Unit ID P238010 (Strength: 2 platforms) use P238009.bmp.

One thing about the bitmaps: they need to be on a 256 color mode, make sure you save them in that manner. They need not be black and white, they can be color too, as long they're stored in 256 color mode.

And: they need to be saved under \Pictures folder.

I'll get back to you, would be cool to have a User Mod with Unit Pictures.

< Message edited by Crossroads -- 3/13/2017 11:09:01 AM >


_____________________________

Visit us at: Campaign Series Legion
---
CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

(in reply to Hoplite1963)
Post #: 2
RE: Making & naming "Unit Handbook" graphic... - 3/14/2017 9:40:31 AM   
Crossroads


Posts: 16145
Joined: 7/5/2009
Status: offline
Ian, having checked this, and based on what I see but not knowing how the code handles this:

  • There is no strict size requirements for Unit Pictures. Lots of old ones are say 175x130, but they can be larger. Try it out, say 200x150 should work, if you want to have it as big as possible. Having said that. 195x145 is something that there's a few examples here and there.
  • Look indeed for parameter #20 in the platoon file for the Unit Bitmap ID, that is the one that is used for Unit Pictures as well. This is good news, as in your case one picture will suffice for the various size variants of the said unit.

    Any questions just give us a holler. Looking forward to what you will come up with!

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Crossroads)
  • Post #: 3
    RE: Making & naming "Unit Handbook" graphic... - 3/14/2017 10:09:00 AM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline
    Picture > 1000 words, right, so here is a quick sample I did.

  • Googled for a random Libyan T-72 picture
  • Sized it to 230*150 just to see what happens
  • Saved it as a 256 colour bitmap.

    Checked the Libyan Platoon29.oob as what the parameter #20 values tell me. For four T-72s (2x T-72 and 2x T-72M1), there's only two Unit Bitmap IDs, P290013 (T-72) and P290015 (T-72M1).

    Here they are, both with F2 Unit Handbook (never mind the mock-up background, it is the same code with CSME 1.02), and with Arkady's Unit Viewer.

    I'd stick to say 200x150 bmp as a template. Should be large enough to do the job.




    Attachment (1)

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Crossroads)
  • Post #: 4
    RE: Making & naming "Unit Handbook" graphic... - 3/15/2017 8:27:06 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Hi Crossroads
    Thanks very much for this. I was planning to start with off map aircraft and then move on the individual nations. It would be interesting to know if you could taken the same approach for the current World War titles ? Always fancied doing a mod for the Spanish Civil War !

    Regards
    Ian

    (in reply to Crossroads)
    Post #: 5
    RE: Making & naming "Unit Handbook" graphic... - 3/15/2017 8:53:55 PM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline

    quote:

    ORIGINAL: Ian in Brentford

    Hi Crossroads
    Thanks very much for this. I was planning to start with off map aircraft and then move on the individual nations. It would be interesting to know if you could taken the same approach for the current World War titles ? Always fancied doing a mod for the Spanish Civil War !

    Regards
    Ian


    Glad to be of help Ian! Really looking towards what you will achieve with this

    Regarding your question re Civil War, do you mean JTCS WF module? It works the same way, so if you want to do something similar there the basic are the same. I believe there's even a few scenarios already available.

    Having said that, we really want to cover that conflict in the coming CS titles, as part of the new West Front game tbd. Just got to get those Vietnam and East Front games out first

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 6
    RE: Making & naming "Unit Handbook" graphic... - 3/19/2017 10:46:11 AM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Here is an example of the sort of thing I am art work I plan to do here. In this case a Syrian Meteor Jet from the 1950s




    Attachment (1)

    (in reply to Hoplite1963)
    Post #: 7
    RE: Making & naming "Unit Handbook" graphic... - 3/19/2017 11:57:01 AM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline

    quote:

    ORIGINAL: Ian in Brentford

    Here is an example of the sort of thing I am art work I plan to do here. In this case a Syrian Meteor Jet from the 1950s





    Nice!

    Question: is that (158x108) the ultimate size you're planning to implement? I'd suggest 200x150 while at it.

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 8
    RE: Making & naming "Unit Handbook" graphic... - 3/19/2017 12:34:59 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Hi Crossroads
    Yes the image field is 150 by 100 with a 4 pixel border round that. To be honest I am not keen on going larger at the moment as this shows up the limitations of the 256 colour range we have to use now. For what its worth down the line wondered if at some point in the future consideration could be given to allowing 24bit colour files, which is the format I used to make the image in the first place? Here is an example of what the image looks like before it was reduced to 256 colours.




    Attachment (1)

    (in reply to Crossroads)
    Post #: 9
    RE: Making & naming "Unit Handbook" graphic... - 3/19/2017 12:46:58 PM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline

    quote:

    ORIGINAL: Ian in Brentford

    Hi Crossroads
    Yes the image field is 150 by 100 with a 4 pixel border round that. To be honest I am not keen on going larger at the moment as this shows up the limitations of the 256 colour range we have to use now. For what its worth down the line wondered if at some point in the future consideration could be given to allowing 24bit colour files, which is the format I used to make the image in the first place? Here is an example of what the image looks like before it was reduced to 256 colours.





    Good point, the 256 color range is a bit of a limit at the moment, as visible in the T-72 mock-up I did too. Go for it, that size looks very nice as well

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 10
    RE: Making & naming "Unit Handbook" graphic... - 3/19/2017 7:27:49 PM   
    Jason Petho


    Posts: 14029
    Joined: 6/22/2004
    From: Terrace, BC, Canada
    Status: offline

    quote:

    ORIGINAL: Ian in Brentford

    Here is an example of the sort of thing I am art work I plan to do here. In this case a Syrian Meteor Jet from the 1950s





    That is gorgeous!!

    _____________________________


    (in reply to Hoplite1963)
    Post #: 11
    RE: Making & naming "Unit Handbook" graphic... - 4/2/2017 4:32:49 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Done some further work on this project and now looking at how land units should be done. Decided to make a start with the Syrian army doing one set of images for before and another since 1959. Here is a Syrian R35 tank unit from the 1948 war as it appears in the unit viewer.

    Regards
    Ian




    Attachment (1)

    (in reply to Jason Petho)
    Post #: 12
    RE: Making & naming "Unit Handbook" graphic... - 4/2/2017 4:58:32 PM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline
    Very nice, Ian

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 13
    RE: Making & naming "Unit Handbook" graphic... - 4/2/2017 5:05:00 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Thanks ops its actually one of their H39's do the R35 next.

    (in reply to Crossroads)
    Post #: 14
    RE: Making & naming "Unit Handbook" graphic... - 4/2/2017 5:25:03 PM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline
    That's right, a Hotchkiss isn't it. Looking forward to see these all in action

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 15
    RE: Making & naming "Unit Handbook" graphic... - 4/12/2017 7:28:25 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Here is what the H39 looks like viewed in the unit handbook




    Attachment (1)

    (in reply to Crossroads)
    Post #: 16
    RE: Making & naming "Unit Handbook" graphic... - 4/12/2017 7:54:53 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    For infantry units I am going to follow the handbook style used for the Steal Panthers games and show the most common weapon carried by a unit or its most important weapon if using that is what the unit is for. Thus for an infantry unit I will show the most numerous weapon carried by the squad whereas for an HMG unit I will show the HMG. Here is a Syrian infantry unit from the 1948 war which I am depicting using a EX French MAS 36 rifle.

    By the way I think the details given in the game about Syrian Infantry weapons in the 1948 War are wrong and that Soviet equipment such as the M1944 rifle and DPM LMG would not yet be used and that they would have the MAS 36 rifle and FM 24/29 LMG instead. I think it is just the text in the “Unit Handbook” and “Unit Viewer” that needs changing here and not any images or weapons stats.





    Attachment (1)

    < Message edited by Ian in Brentford -- 4/12/2017 7:55:51 PM >

    (in reply to Hoplite1963)
    Post #: 17
    RE: Making & naming "Unit Handbook" graphic... - 4/13/2017 4:18:48 PM   
    fritzfarlig


    Posts: 283
    Joined: 1/13/2016
    From: Denmark
    Status: offline
    very nice

    (in reply to Hoplite1963)
    Post #: 18
    RE: Making & naming "Unit Handbook" graphic... - 9/29/2017 4:20:46 PM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline
    Just a quick heads-up in case any of you guys are working with these:

  • As of Middle East 2.0 a Unit Picture is standardized as 200px * 150px. Smaller (and larger) pictures will be displayed, but their positioning might be off.
  • Unit pictures can be 24bit bitmaps as well (full color). No more 256-color files. Yay!

    New Unit Pictures can be prepared in a piecemeal fashion. If the game does not find the unit specific file, it reverts to nation specific default.

    Any questions let me know

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to fritzfarlig)
  • Post #: 19
    RE: Making & naming "Unit Handbook" graphic... - 9/29/2017 8:38:10 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    This is very good news. Having cracked how to add extra nations to the Great War mod concentrating on that at the moment but will certainly start adding some images here staring with aircraft.

    256 coulours is so last centaury.

    < Message edited by Ian in Brentford -- 9/29/2017 8:39:28 PM >

    (in reply to Crossroads)
    Post #: 20
    RE: Making & naming "Unit Handbook" graphic... - 9/30/2017 5:44:09 AM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline
    Looking forward seeing your mod Ian!

    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 21
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:12:21 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Once version 2 of CSME was out earlier in the year and unit handbook / unit view art files could be saved as 24 BIT BMP files I started work on my first set for Syria. When this is finished every item in the Unit viewer will have its own 156 by 106 pixel image that will also appear for that unit in the Unit Handbook. I also plan to do a separate national emblem set for the black white and green flag and roundels etc that were used by the Syrians in the 1948 war. I have also decided to dispense with the national flags in the top right hand corner of the images as I have other plans for that location.

    I have been working by way down the Syrian Unit viewer set and with 166 images done so far have got to the end of the boats section and am about to start on antitank guns. Here are some examples, first off with what they look like in the unit viewer starting with the Syrian home grown T34/122mm self propelled howitzer.





    Attachment (1)

    (in reply to Crossroads)
    Post #: 22
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:14:04 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    And now the ZSU-57/2 SPAA gun supplied to them by the Russians




    Attachment (1)

    (in reply to Hoplite1963)
    Post #: 23
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:16:30 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Now the view in the game’s “unit handbook. First a Syrian T54 MBT




    Attachment (1)

    (in reply to Hoplite1963)
    Post #: 24
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:19:21 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    And next a BRDM2 Sagger ATGM vehicle.




    Attachment (1)

    < Message edited by Hoplite1963 -- 5/23/2018 2:20:46 PM >

    (in reply to Hoplite1963)
    Post #: 25
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:28:36 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    In those few instances where I have not been able to track down a suitable color image to use I have employed a black & white photo instead as seen here in this unit viewer picture of a ZIL131 truck mounting the UMZ SCATMINE system.




    Attachment (1)

    (in reply to Crossroads)
    Post #: 26
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 2:31:57 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    When the mod is released it will come with a word table document giving details what each of the files represents and also a document detailing picture sources.

    Enjoy
    Ian

    (in reply to Hoplite1963)
    Post #: 27
    RE: Making & naming "Unit Handbook" graphic... - 5/23/2018 3:20:25 PM   
    Jason Petho


    Posts: 14029
    Joined: 6/22/2004
    From: Terrace, BC, Canada
    Status: offline
    That is awesome, Ian!!

    Officially, we aren't allowed to do that (due to copyright issues), but as a player built mod, that's no problem. (I believe).

    < Message edited by Jason Petho -- 5/23/2018 3:21:17 PM >


    _____________________________


    (in reply to Hoplite1963)
    Post #: 28
    RE: Making & naming "Unit Handbook" graphic... - 5/24/2018 7:04:41 AM   
    Crossroads


    Posts: 16145
    Joined: 7/5/2009
    Status: offline

    quote:

    ORIGINAL: Hoplite1963

    Once version 2 of CSME was out earlier in the year and unit handbook / unit view art files could be saved as 24 BIT BMP files I started work on my first set for Syria. When this is finished every item in the Unit viewer will have its own 156 by 106 pixel image that will also appear for that unit in the Unit Handbook. I also plan to do a separate national emblem set for the black white and green flag and roundels etc that were used by the Syrians in the 1948 war. I have also decided to dispense with the national flags in the top right hand corner of the images as I have other plans for that location.

    I have been working by way down the Syrian Unit viewer set and with 166 images done so far have got to the end of the boats section and am about to start on antitank guns. Here are some examples, first off with what they look like in the unit viewer starting with the Syrian home grown T34/122mm self propelled howitzer.



    Great stuff Ian!


    _____________________________

    Visit us at: Campaign Series Legion
    ---
    CS: Vietnam | CS: East Front 1939-1941 IN-THE-WORKS
    CS: Middle East 1948-1985 Fully reimaged v2.0 available now!

    (in reply to Hoplite1963)
    Post #: 29
    RE: Making & naming "Unit Handbook" graphic... - 8/2/2018 5:30:44 PM   
    Hoplite1963

     

    Posts: 183
    Joined: 7/27/2008
    Status: offline
    Hi Guys
    It has taken a bit longer than anticipated but having reached an image total of 240 I think its time for another update on this project. I have now got down as far as the start of the towed artillery . Here are some examples of work done since the last update when I had got down to rafts and boats.
    First off here is an unit viewer screenshot of a B10 recoilless rifle





    Attachment (1)

    (in reply to Crossroads)
    Post #: 30
    Page:   [1] 2   next >   >>
    All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985 >> Mods and Scenarios >> Making & naming "Unit Handbook" graphics files & adding them to the "pictures" folder Page: [1] 2   next >   >>
    Jump to:





    New Messages No New Messages
    Hot Topic w/ New Messages Hot Topic w/o New Messages
    Locked w/ New Messages Locked w/o New Messages
     Post New Thread
     Reply to Message
     Post New Poll
     Submit Vote
     Delete My Own Post
     Delete My Own Thread
     Rate Posts


    Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

    0.219