Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Need Help Making a C-Ration BigItem STI and MDITEM icons
Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361589] Sat, 17 October 2020 01:23 Go to next message
PFCParts is currently offline PFCParts

 
Messages:44
Registered:November 2019
I'm trying to make a C-Ration item and I need help with making C-Ration STI image. I don't have any experience with GIMP or Photoshop, so if anyone could help me out it'd be much appreciated. I'll link the image I want to be used.

https://www.worthpoint.com/worthopedia/vietnam-era-ration-combat-individual-249962143

It's the first one with the cans and box displayed.


Thanks.

Report message to a moderator

Corporal
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361600 is a reply to message #361589] Sat, 17 October 2020 23:38 Go to previous messageGo to next message
Kitty

 
Messages:473
Registered:October 2017
Location: Germany
PFCParts wrote on Sat, 17 October 2020 01:23
I'm trying to make a C-Ration item and I need help with making C-Ration STI image. I don't have any experience with GIMP or Photoshop, so if anyone could help me out it'd be much appreciated. I'll link the image I want to be used.

https://www.worthpoint.com/worthopedia/vietnam-era-ration-combat-individual-249962143

It's the first one with the cans and box displayed.


Thanks.
--
In a mod for UB, called "Back to Business" (b2b), something simular has been done.

From BigItems (what you'll see when opening item-description ingame)

https://i.imgur.com/ZP95dWz.png

From mdItems (in Folder Interface), used for item in inventory-slot

https://i.imgur.com/PSxQntY.png

From smItems (in folder Tilesets/0), used for when item dropped on ground

https://i.imgur.com/WHNkPcc.png

A raw job of converting your image into BigItems-format. Done with paint.net, probably needs some refinement. Rather use it as an example, haven't checked the ingame look. No Photoshop or Gimp needed.
Use the size of md- and smItems-pics for guideline on how big those should roughly be.

https://i.imgur.com/DG7PyRH.png


Due to upload, those where converted into jpg. For game, they must be 24bit bmp.

The blue colour is used for transparancy. The smaller pics (md and sm) need the green outlines (and the blue transparancy background, even if small)
Don't change the blue or green colour, those exact colours are used for transparancy and outlines. If you change them, that'll probably mess up the palette used and the transparancy-effect won't work.

You'll need to download the program "Sti-Edit.rar" from Modding Tools to import the bmp into the sti-files.

For adding entries in items.xml you can use something like notepad++, or any other text-editor.

Edit: re-uploaded pictures

[Updated on: Wed, 07 December 2022 19:32]




How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361641 is a reply to message #361600] Sat, 24 October 2020 01:27 Go to previous messageGo to next message
PFCParts is currently offline PFCParts

 
Messages:44
Registered:November 2019
This has been a great help, but how exactly would I convert the JPG to a bmp file?

Report message to a moderator

Corporal
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361642 is a reply to message #361641] Sat, 24 October 2020 04:47 Go to previous messageGo to next message
Kitty

 
Messages:473
Registered:October 2017
Location: Germany
Open the jpg with a graphic viewer. That can be any. Something easy probably would be Irfan View (freeware) or Paint (comes with Windows). If you're doing a right-click on the jpg, in the context menu opening there should be something like "open with". Paint should be listed there. If jpg is opened in, let's say, Paint, choose "save as" and bmp should be one of the choices. When saving as bmp, the program should ask about bit-depth (24bit, 8bit, etc.). If Paint doesn't do this, try using Irfan View or Paint.net (both freeware).

Do you wanna replace some existing item with this (like: C-Ration instead of Regenaration-Booster) or should this be a new item ?



How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

Master Sergeant
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361948 is a reply to message #361642] Sat, 28 November 2020 12:48 Go to previous messageGo to next message
PFCParts is currently offline PFCParts

 
Messages:44
Registered:November 2019
Alright, thnx. One more question. How do I create the blue background for the picture when converting to BMP? Because rn I'm trying to create a bmp of an m1956 webgear set but the background is still in. How do I omit it through paint or paint.net? Here's the picture I've selected of the webgear. Also how would I change the size of the image in the final game? Still talking about Bigitems.

https://www.amazon.com/Military-Climbing-Fieldgear-Packages-Equipment/dp/B07MXYWTML
(First image, not a side profile image)

[Updated on: Sat, 28 November 2020 13:00]

Report message to a moderator

Corporal
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #361955 is a reply to message #361948] Sun, 29 November 2020 07:02 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2433
Registered:October 2005
Location: Australia
You'll need to fill or paint the background out. If blue is your mask colour, paint out the white background from this webbing pic using your mask blue background. To save time reduce the image first then paint out the background. Bigitems tend to be limited by around 47 pixels x 117 pixels.

Report message to a moderator

Lieutenant

Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #362351 is a reply to message #361955] Wed, 10 February 2021 05:19 Go to previous messageGo to next message
PFCParts is currently offline PFCParts

 
Messages:44
Registered:November 2019
So thus far I have converted a VZ24 from a JPG to a 24 bit BMP. I'd say it looks pretty good. I used Paint to export it after resizing the pixels as a BMP. Now I've loaded it onto STI Editor but now I don't know what to do with the palette because if I used the default palette it looks like crap and if I use AV's VZ24 palette or the Kar98k palette it doesn't look as good in STI Editor.

Any hints on how to extract the palette from Paint? Do I have to use GIMP to extract the image's palette?

[Updated on: Wed, 10 February 2021 05:20]

Report message to a moderator

Corporal
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #362360 is a reply to message #362351] Wed, 10 February 2021 22:25 Go to previous messageGo to next message
Asdow is currently offline Asdow

 
Messages:141
Registered:August 2010
Don't know about Paint, but GIMP can create an optimized palette from your source image when you convert it into an indexed image in it. After saving the created palette as gimp's own palette format (.gpl), you can use a tool called "The ultimate Palette Converter" to convert it into .act file which sti-edit understands.

The tool can be downloaded either from here http://s.go.ro/qiste, which houses a ton of JA related modding tools. It's in JA_2->
Modding_Tools->TheUltimatePaletteConverter.zip
Or alternatively from here, where it originates from. https://www.pokecommunity.com/showthread.php?t=303594

Report message to a moderator

Sergeant
Re: Need Help Making a C-Ration BigItem STI and MDITEM icons[message #362362 is a reply to message #362360] Thu, 11 February 2021 02:11 Go to previous message
PFCParts is currently offline PFCParts

 
Messages:44
Registered:November 2019
When I index my colors should I select 256 colors or what? Cause I've just finished indexing my image, so do I just export the indexed image as a GPL? Right now I've exported it indexed with 256 bit colors and to save it as a gpl I went under color management and hit save color profile to file. From there I was able to covert the gpl (Advanced Palette Editor) into an ACT. However when I tried to import the ACT into STI the palette is all black.

I'm pretty new to using GIMP and photo manipulation software, but so far I have isolated the VZ24 and have indexed it into 256 color. What should I do next?

[Updated on: Thu, 11 February 2021 02:16]

Report message to a moderator

Corporal
Previous Topic: Make Brenda great again
Next Topic: Sandbags and Concentinas Tileset Expansion
Goto Forum:
  


Current Time: Sun Dec 01 12:13:57 GMT+2 2024

Total time taken to generate the page: 0.01846 seconds