Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mod Tool: Color Picker  (Read 1562 times)

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Mod Tool: Color Picker
« on: April 14, 2019, 05:45:32 pm »

Typing out all the color variations for a modded creature's skin is tedious.



This is easier.

Features:
  • Select graphically from a list of colors
  • Copy the formatted list of colors to clipboard, ready to paste directly to your raw files.
  • Paste line of colors copied from raw files to see how it looks.

Download Here
Logged

voliol

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #1 on: April 14, 2019, 05:47:55 pm »

This should prove useful. Thanks for making it :)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Mod Tool: Color Picker
« Reply #2 on: April 15, 2019, 03:58:16 pm »

That's pretty cool. Can it read out raws as well, could people copy+paste the color values from existing creatures?
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Mod Tool: Color Picker
« Reply #3 on: April 15, 2019, 04:37:30 pm »

That's pretty cool. Can it read out raws as well, could people copy+paste the color values from existing creatures?

It can't read the entire raw, but you can copy and paste any list of color values separated by colons.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Mod Tool: Color Picker
« Reply #4 on: April 15, 2019, 05:03:55 pm »

Ah, got it. :)

For everyone else: Open the raws, and copy only the color token, like this "AMBER:1:AUBURN:1:BLACK:1:BROWN:1:BUFF:1:BURNT_SIENNA:1:BURNT_UMBER:1:CHARCOAL:1:CHESTNUT:1:CHOCOLATE:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_CHESTNUT:1:DARK_TAN:1:ECRU:1:FLAX:1:GOLD:1:GOLDEN_YELLOW:1:GOLDENROD:1:LIGHT_BROWN:1:MAHOGANY:1:OCHRE:1:PALE_BROWN:1:PALE_CHESTNUT:1:PUMPKIN:1:RAW_UMBER:1:RUSSET:1:SAFFRON:1:SEPIA:1:TAN:1:TAUPE_DARK:1:TAUPE_GRAY:1:TAUPE_MEDIUM:1:TAUPE_PALE:1:TAUPE_SANDY:1", without the [] or the TL_COLOR_MODIFIER tag.

Then open colorpicker.exe and press the paste button. It will show the colors. If the program crashes, it's because you copied more than just the color tags.

Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

brolol.404

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #5 on: May 21, 2019, 06:36:46 pm »

So I'm sure this wasnt in the original scope of your plan... but... have you thought about expanding this program to be able to completely (or almost completely) write a new creature for you. So, have a bunch of potential tags to choose from:

[PET]
[CAN_LEARN]
[CANOPENDOORS]
etc

Could even possibly put a small fill in? [PETVALUE:___]

or maybe somehow add in some if statements: if [BODY:TAIL...

[SET_TL_GROUP:BY_CATEGORY:TAIL:HAIR]
   [TL_COLOR_MODIFIER:

and

[TLCM_NOUN:tail:SINGULAR]

brolol.404

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #6 on: May 22, 2019, 01:51:15 pm »

also a  "clear" button that removes all of the selected colors would be nice.

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Mod Tool: Color Picker
« Reply #7 on: May 29, 2019, 04:49:09 pm »

Honestly, I made the tool to fulfill exactly the need that I had at the time. If somebody wants to expand on it, then by all means do so. I'll put the source on github.
Logged

brolol.404

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #8 on: May 29, 2019, 06:44:03 pm »

Honestly, I made the tool to fulfill exactly the need that I had at the time. If somebody wants to expand on it, then by all means do so. I'll put the source on github.

Thanks :) maybe I'll take a stab at it

brolol.404

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #9 on: May 30, 2019, 03:54:08 pm »

What is the Github link by the way?

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Mod Tool: Color Picker
« Reply #10 on: May 30, 2019, 03:54:33 pm »

I haven't had time to upload it yet.
Logged

brolol.404

  • Bay Watcher
    • View Profile
Re: Mod Tool: Color Picker
« Reply #11 on: May 30, 2019, 06:19:53 pm »

Ah ok. No rush

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: Mod Tool: Color Picker
« Reply #12 on: May 30, 2019, 08:47:07 pm »

Turns out it was there the whole time, and I forgot.

https://github.com/JapaMala/ColorPicker
Logged