Results 1 to 6 of 6

Thread: Different Colored/Less Transparent Movement Area?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    SharpEyed's Avatar Be Fair and Thankful!
    Join Date
    Oct 2013
    Location
    the Vale of Tears
    Posts
    3,384

    Default Different Colored/Less Transparent Movement Area?

    Hey guys,

    I barely notice that yellow - transparent movement area, especially when it's a winter
    (Same for battle map red-transparent range area actually)

    Where we can change it?
    Or any1 can make a mod for it?

  2. #2
    SharpEyed's Avatar Be Fair and Thankful!
    Join Date
    Oct 2013
    Location
    the Vale of Tears
    Posts
    3,384

    Default Re: Different Colored/Less Transparent Movement Area?

    Hmm.. okay related values are under campaign_variables, but there is no certain color, all are mix of blue, red and green

  3. #3
    Foederatus
    Join Date
    Jun 2009
    Location
    Korea (South) , Daejeon
    Posts
    30

    Default Re: Different Colored/Less Transparent Movement Area?

    Quote Originally Posted by SharpEyed View Post
    Hmm.. okay related values are under campaign_variables, but there is no certain color, all are mix of blue, red and green
    It seems to use RGBA color space to describe a color - http://en.wikipedia.org/wiki/RGBA_color_space

    You can use the Edit Colors function of windows paints to easily see that is the color exactly for each combination of RGB numbers.



    Then you can easily tweak the alpha value to mod the transparency.

  4. #4
    SharpEyed's Avatar Be Fair and Thankful!
    Join Date
    Oct 2013
    Location
    the Vale of Tears
    Posts
    3,384

    Default Re: Different Colored/Less Transparent Movement Area?

    Quote Originally Posted by Droiyan7 View Post
    It seems to use RGBA color space to describe a color - http://en.wikipedia.org/wiki/RGBA_color_space

    You can use the Edit Colors function of windows paints to easily see that is the color exactly for each combination of RGB numbers.

    Then you can easily tweak the alpha value to mod the transparency.
    Oh right, thanks! I'll try some time maybe

    btw what about alpha one? I didn't see a value for that? or maybe I don't need to?

    I guess changing others automatically changing that too?

  5. #5
    Foederatus
    Join Date
    Jun 2009
    Location
    Korea (South) , Daejeon
    Posts
    30

    Default Re: Different Colored/Less Transparent Movement Area?

    Windows paint seems to using RGB, not RGBA (complex paint tools like Photoshop, GIMP are using RGBA, but Windows paint is still a very simple tool), so I guess it is equivalent to 100% alpha (no transparency).

    But, wikipedia explains enough about the alpha value, to test it by 'mod it and see whats happens' approach.

    "The alpha channel is normally used as an opacity channel. If a pixel has a value of 0% in its alpha channel, it is fully transparent (and, thus, invisible), whereas a value of 100% in the alpha channel gives a fully opaque pixel (traditional digital images). Values between 0% and 100% make it possible for pixels to show through a background like a glass (translucency), an effect not possible with simple binary (transparent or opaque) transparency. It allows easy image compositing."

    For example, campaign_variables ID 297 is 'display_zone_of_control_interior_alpha' with value 0.15. What will be happen if it is modded to 0.5 or 1.0 ?

  6. #6
    SharpEyed's Avatar Be Fair and Thankful!
    Join Date
    Oct 2013
    Location
    the Vale of Tears
    Posts
    3,384

    Default Re: Different Colored/Less Transparent Movement Area?

    Quote Originally Posted by Droiyan7 View Post
    Windows paint seems to using RGB, not RGBA (complex paint tools like Photoshop, GIMP are using RGBA, but Windows paint is still a very simple tool), so I guess it is equivalent to 100% alpha (no transparency).

    But, wikipedia explains enough about the alpha value, to test it by 'mod it and see whats happens' approach.

    "The alpha channel is normally used as an opacity channel. If a pixel has a value of 0% in its alpha channel, it is fully transparent (and, thus, invisible), whereas a value of 100% in the alpha channel gives a fully opaque pixel (traditional digital images). Values between 0% and 100% make it possible for pixels to show through a background like a glass (translucency), an effect not possible with simple binary (transparent or opaque) transparency. It allows easy image compositing."
    Well thx again for the explanation, i'm a bit lazy to do some stuff atm
    Testing sux with my lappy anyway -_-

    Quote Originally Posted by Droiyan7 View Post
    For example, campaign_variables ID 297 is 'display_zone_of_control_interior_alpha' with value 0.15. What will be happen if it is modded to 0.5 or 1.0 ?
    Ah right, I didn't see that entry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •