OpenXcom Forum
Modding => Help => Topic started by: efrenespartano on November 05, 2018, 06:43:51 am
-
Hi, everyone!
I want to recolor the classic Smoke to Black and green for a new damage types I'm working on. How to do it? What files I need to recolor and how to apply them on a ruleset?
Thanks in advance!
EDIT: At April, 1st 2019, I had a question about how to add smoke to a weapon hit. I've found the correct option:
damageAlter:
SmokeThreshold: 1
Enviado desde mi iPhone utilizando Tapatalk
-
you have to make a new image for the smoke, then add it to the extraSrites under SMOKE.PCK
the ruleset should be like this:
extraSprites:
- type: SMOKE.PCK
height: 40
width: 384
subX: 32
subY: 40
files:
8: Resources/my_custom_smoke.gif # or png
As for the image itself you have to take all the smoke frames from the attached image and put them in a line in a single image (png or gif). Mind that the fuchsia line is just a gap that separates frames, don't keep it.
-
Thank you ! I didn't knew where was the smoke animations.
Do you have any suggestion to recolor all of the animations at once?
Enviado desde mi iPhone utilizando Tapatalk
-
It's pretty simple.
Once you have put all the frames in line into a single image (the result should be like the example attached), you use the paint bucket tool (be sure to uncheck "contiguous" and to set "tolerance =0) and color all the smoke pixels quickly.
-
It's pretty simple.
Once you have put all the frames in line into a single image (the result should be like the example attached), you use the paint bucket tool (be sure to uncheck "contiguous" and to set "tolerance =0) and color all the smoke pixels quickly.
On GIMP or Photoshop? :D
Enviado desde mi iPhone utilizando Tapatalk
-
Why not use Falko's recolouring tool?
http://falkooxc2.pythonanywhere.com/spritepalette
It was specifically made to convert colour groups to other colour groups, and it performs perfectly.
-
Why not use Falko's recolouring tool?
http://falkooxc2.pythonanywhere.com/spritepalette
It was specifically made to convert colour groups to other colour groups, and it performs perfectly.
Well... because I don't know how to do it. I mean, I know how to use the other Falko's tools, they are super useful. But that one, no. :(
Enviado desde mi iPhone utilizando Tapatalk
-
It's explained here: https://openxcom.org/forum/index.php/topic,2980.msg96205.html#msg96205
-
It's explained here: https://openxcom.org/forum/index.php/topic,2980.msg96205.html#msg96205
OH MY GOSH, thank you!! *u*
My question was solved. Thank you, robin and Solarius Scorch!
Enviado desde mi iPhone utilizando Tapatalk
-
Wait, there can be more than one type of smoke? That sounds incredibly useful. Can there be more than one type of fire?
-
No, there is only one type of smoke and one type of fire, the point here is just that you can change the graphics for them.
-
Ah. Too bad. Would've been interesting to try making stun damage leave a cloying stun damage form of smoke, or for plasma to leave its own form of fire. Or what I really was thinking of, the black fog from the original war of the worlds.
-
Or what I really was thinking of, the black fog from the original war of the worlds.
Haha that's exactly why I asked this. I'm going to add it to my project with some recolored Smoke animation. ;D
Enviado desde mi iPhone utilizando Tapatalk