1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Library] ColorChooser by xD.Schurke

Discussion in 'StarCraft I & II' started by xD.Schurke, Oct 15, 2010.

  1. xD.Schurke

    xD.Schurke

    Joined:
    Feb 22, 2006
    Messages:
    948
    Resources:
    5
    Maps:
    1
    Spells:
    4
    Resources:
    5
    Hey guys, here I wanna present a new small library I've created.

    Like one can gues it features a simple color chooser, which might could be usefull to someone.

    The library features some functions which can be also used in GUI.

    http://www.youtube.com/watch?v=MVbQWFdpxRo
    http://www.youtube.com/watch?v=GBk5KvCzadI
    http://www.youtube.com/watch?v=lRYHrAlKz70

    Any feedback or tips are welcome. May you wanna see some other stuff and I might add it.

    ------------------------------------------------------------
    10/17/2010
    v0.3
    - Added new info-areas to the ColorChooser (RGB-%,RGB-Int,Hex)
    - One can now set the color value via chatcommand (!CC_rgb 255,255,255 / !CC_per 100,100,100 / !CC_hex ff0000)
    - Added new function(Also GUI)
    • colorChooserTintDialogItem(int player, int dialogItem)
    - In addition I've added some functions for working with hexadecimal numbers, they are just available in raw galaxyscript
    • string decToHex(int num,bool fillUp)
    • int hexToDec(string hex)
    • bool isHex(string hex)

    10/16/2010
    v0.2
    - Added new functions:
    - colorChooserTintUnit(int player,unit u)
    - colorChooserSetBackground(int player, string path)

    10/15/2010
    - Release of v0.1
     

    Attached Files:

    Last edited: Oct 17, 2010
  2. xD.Schurke

    xD.Schurke

    Joined:
    Feb 22, 2006
    Messages:
    948
    Resources:
    5
    Maps:
    1
    Spells:
    4
    Resources:
    5
    I've released v0.2

    v0.2
    - Added new functions:
    - colorChooserTintUnit(int player,unit u)
    - colorChooserSetBackground(int player, string path)
     
  3. cookies4you

    cookies4you

    Joined:
    May 9, 2009
    Messages:
    530
    Resources:
    0
    Resources:
    0
    Very impressive. Hope to see what 1.0 is like.
     
  4. Rispetto

    Rispetto

    Joined:
    Jul 1, 2009
    Messages:
    1,080
    Resources:
    3
    Tutorials:
    3
    Resources:
    3
    Yes, very impressive.
    Though I'm not sure exactly what it can be used for, I can think of a few things off of the top of my head that it could potentially be used for.
    Nice to see people actually giving a crap about SC2, and creating librarys/mods to ease the editing-pain of others! +Rep!
     
  5. xD.Schurke

    xD.Schurke

    Joined:
    Feb 22, 2006
    Messages:
    948
    Resources:
    5
    Maps:
    1
    Spells:
    4
    Resources:
    5
    I've released v0.3

    Changelog:
    - Added new info-areas to the ColorChooser (RGB-%,RGB-Int,Hex)
    - One can now set the color value via chatcommand (!CC_rgb 255,255,255 / !CC_per 100,100,100 / !CC_hex ff0000)
    - Added new function(Also GUI)
    • colorChooserTintDialogItem(int player, int dialogItem)
    - In addition I've added some functions for working with hexadecimal numbers, they are just available in raw galaxyscript
    • string decToHex(int num,bool fillUp)
    • int hexToDec(string hex)
    • bool isHex(string hex)
     
  6. xD.Schurke

    xD.Schurke

    Joined:
    Feb 22, 2006
    Messages:
    948
    Resources:
    5
    Maps:
    1
    Spells:
    4
    Resources:
    5
    /push

    need more feedback to achieve better results!
     
  7. Rispetto

    Rispetto

    Joined:
    Jul 1, 2009
    Messages:
    1,080
    Resources:
    3
    Tutorials:
    3
    Resources:
    3
    It's called a bump, but I'd be happy to help, lol.