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

 
Messages:39
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.
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:230
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://s2.imagebanana.com/file/201017/vdjxAwO5.jpg

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

https://s2.imagebanana.com/file/201017/cBpYg9TB.jpg

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

https://s1.imagebanana.com/file/201017/bvGa1SHe.jpg

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://s1.imagebanana.com/file/201017/NZJ2VGZL.jpg


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.

[Updated on: Sun, 18 October 2020 04:08]




I need more details. (Didi Hallervorden)

Latest JA2 v1.13 (SCI-maeyanie) Compiling Guide 7609 (eng) MapEditor+UB 8908
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

 
Messages:39
Registered:November 2019
This has been a great help, but how exactly would I convert the JPG to a bmp file?
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 message
Kitty

 
Messages:230
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 ?



I need more details. (Didi Hallervorden)

Latest JA2 v1.13 (SCI-maeyanie) Compiling Guide 7609 (eng) MapEditor+UB 8908
Previous Topic: Make Brenda great again
Next Topic: Creating tiles quick and easy
Goto Forum:
  


Current Time: Sat Oct 24 22:45:41 EEST 2020

Total time taken to generate the page: 0.00887 seconds