Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Weapon & Item Refinement » Add new gun images.
Add new gun images.[message #310006] Tue, 11 September 2012 15:26 Go to next message
Rage!

 
Messages:26
Registered:February 2012
Ok this is starting to piss me off. how do add/change the small image and ground image of a gun or item?
Re: Add new gun images.[message #310009] Tue, 11 September 2012 20:31 Go to previous messageGo to next message
Genesis_00

 
Messages:10
Registered:August 2012
Location: Rome, Italy
Hi Rage.

I'll try to explain this as clearly as I can. Smile

To start off you need at least one graphic editing program which can read .act palettes, such as Photoshop.
Then you'll need STI-Edit, you can easily find it in the modding tools list in this forums.

Say you want to add a gun image:
So start off by opening Sti-Edit, open up your Data 1.13 folder, look for the Interface Folder, open MDGUNS.sti and save the Palette in photoshop format (.act).

Now, still in STI-Edit, open data 1.13, go to tileset folder and open up smguns.sti, and save the palette in Photoshop format, like you did before.

Now, you need three images, a big one, for the Infobox, a medium one for the interface, and a small ground one.

Once you've created the big one, save the palette and the image as a .bmp file.

On STI-Edit, create a new document, set your palette, open the .bmp and save it in "BigItems" folder as GUN[lastgun+1].
I.e. GUN784

Now, for the interface one, open up your MDGUNS palette in photoshop, design your gun, and save it as a .bmp

Then back to STI-Edit, open up MDGUNS.sti and scroll to your last gun. click on the arrow with the + symbol on it, and load your .bmp.

For the ground item, it's the same process, the only difference is you'll have to add it to smguns.sti

If you want to edit objects, the name of the .sti's is MDP1ITEMS.sti and SMP1ITEMS.sti.

Hope it helps.


[Updated on: Tue, 11 September 2012 20:33] by Moderator

Re: Add new gun images.[message #341768 is a reply to message #310009] Thu, 16 July 2015 22:10 Go to previous messageGo to next message
Shinobi

 
Messages:142
Registered:July 2015
Location: Mexico
YOU BEAUTIFUL MAN!!! THANK YOU THANK YOU THANK YOU! i was three days looking for how to do that!



Oh, God please tie this rope tight, A noose that fits just right, Oh, God please tie this rope tight, Hold my head upright, Take this knife across my throat, And make amends for all my lies.
Re: Add new gun images.[message #357227 is a reply to message #310009] Mon, 15 April 2019 20:44 Go to previous messageGo to next message
CareBear

 
Messages:137
Registered:April 2016
Genesis_00 wrote on Tue, 11 September 2012 19:31
Hi Rage.

I'll try to explain this as clearly as I can. Smile

To start off you need at least one graphic editing program which can read .act palettes, such as Photoshop.
Then you'll need STI-Edit, you can easily find it in the modding tools list in this forums.

Say you want to add a gun image:
So start off by opening Sti-Edit, open up your Data 1.13 folder, look for the Interface Folder, open MDGUNS.sti and save the Palette in photoshop format (.act).

Now, still in STI-Edit, open data 1.13, go to tileset folder and open up smguns.sti, and save the palette in Photoshop format, like you did before.

Now, you need three images, a big one, for the Infobox, a medium one for the interface, and a small ground one.

Once you've created the big one, save the palette and the image as a .bmp file.

On STI-Edit, create a new document, set your palette, open the .bmp and save it in "BigItems" folder as GUN[lastgun+1].
I.e. GUN784

Now, for the interface one, open up your MDGUNS palette in photoshop, design your gun, and save it as a .bmp

Then back to STI-Edit, open up MDGUNS.sti and scroll to your last gun. click on the arrow with the + symbol on it, and load your .bmp.

For the ground item, it's the same process, the only difference is you'll have to add it to smguns.sti

If you want to edit objects, the name of the .sti's is MDP1ITEMS.sti and SMP1ITEMS.sti.

Hope it helps.


How do you use this color tables? How to open them in photoshop for example?
Re: Add new gun images.[message #357233 is a reply to message #357227] Tue, 16 April 2019 02:59 Go to previous messageGo to next message
Hawkeye

 
Messages:2182
Registered:October 2005
Location: Australia
Save your picture to an indexed image if it isn't already.

Image>mode>indexed color

Choose your number of colors (256)

Then go back to Image>color table and this opens a new window showing your palette. More than likely you will need to adjust the first color in this palette from black to a mask color to avoid your blacks becoming transparent.



Re: Add new gun images.[message #359466 is a reply to message #357233] Fri, 10 April 2020 05:57 Go to previous messageGo to next message
CareBear

 
Messages:137
Registered:April 2016
Sorry for not replying. I can't access photoshop right now, is there any way to do that in gimp? Seems newest GIMP can only import palettes, but can't export them.

And BTW, what are the max sizes for each category -big, medium and small? Is there any specific reason/limit for these? Any width/height combo permitted as long as its below certain size? Seems when i try different sizes, the image is offset. And offset does nothing for items AFAIK, at least i can't see any influence on my game.

[Updated on: Fri, 10 April 2020 05:59]

Re: Add new gun images.[message #360896 is a reply to message #359466] Mon, 10 August 2020 21:50 Go to previous messageGo to next message
waSchtl

 
Messages:100
Registered:February 2007
Location: Bavaria, Germany
i have the same problem! My weapon picture is to big. With paint.net minimize is no good quality.

Does anyone of you please have a download link to a program with which you can make the reduction of a picture in good quality or can I create the files for the 3 required sizes?
Re: Add new gun images.[message #360929 is a reply to message #360896] Thu, 13 August 2020 12:17 Go to previous messageGo to next message
waSchtl

 
Messages:100
Registered:February 2007
Location: Bavaria, Germany
waSchtl wrote on Mon, 10 August 2020 18:50
i have the same problem! My weapon picture is to big. With paint.net minimize is no good quality.

Does anyone of you please have a download link to a program with which you can make the reduction of a picture in good quality or can I create the files for the 3 required sizes?

Nobody there from you, who is so kind and creates the 3 pictures for me? I would send the original.
Re: Add new gun images.[message #360942 is a reply to message #360929] Sat, 15 August 2020 21:22 Go to previous message
Asdow

 
Messages:37
Registered:August 2010
https://www.gimp.org/downloads/ Gimp is a free and open source image editing software. I'm sure it's more than capable of resizing your gun pictures.
Previous Topic: New calibres
Next Topic: MG3 to MG42 Conversion
Goto Forum:
  


Current Time: Wed Sep 23 16:19:40 EEST 2020

Total time taken to generate the page: 0.04341 seconds