Jump to content

Search the Community

Showing results for tags 'colour'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 1 result

  1. I couldn't find any info on this here, so apologies if this has ben asked/solved before (please link me!). How are the new "unlimited" clothing colours defined in scripts? I am modding the profession outfits and saw that they are represented as follows: topColor = ColorInfo.new(0.1725,0.2745,0.5411,1);That's a blue top. But what do the numeric values correspond to? I was thinking RGB, but those are three-digit. Hex colours are a single six-digit code. So... what are they? For example, what would a pink top coded as above look like? I'm sure there's a simple answer here that I'm missing! Right now, I can mod the clothes and their colours just fine, but since I don't understand the actual colour codes being used, I can only reliably use the colours already specified in "CharacterCreationProfession.lua". On the same topic, how would I give/spawn a clothing item of a specific colour rather than a random one with the new system? player:getInventory():AddItem("Base.Shirt_White");... would give a white sweater or a randomly coloured one? Now that the clothing colours are no longer individual items, how would it be done now (instead of changing the above codee to "Shirt_Blue", I mean)?
×
×
  • Create New...