AdrianeMapMaker
8 years ago
Guys where will i locate its image (button border image)
It was a border for a buttons

its Vgen UserInterface Can you help me to find it



A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Sponsor
mr_hymn_
8 years ago
Do you mean border list?
Command Button Bordertypes:
SYSTEM
ACTION
UPGRADE
BUILD
AdrianeMapMaker
8 years ago
yesssssssssssssssssshhhhhhhhhhhhhhhhhhhhhhhhhhhhh
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




mr_hymn_
8 years ago
It's not actually image but it's computer drawing. I can't remember the file name. I think it's windowZH.ini there are one file I searched long ago having an indicated what color of each type should be drawn in RGB

I don't think you could edit that since I went into those files and went black out because I can't understand what to do because among these files you can edit the UI and add more commandset like 18 (firestorm mod)

I tried so hard to do it myself without mod and I crash my own game lol.
acidbrain
8 years ago
Ok lets go a bit technical here...:P
Whenever you see a word in CAPITAL letters in an ini file it usually means that it is immutable.
In programming you can declare a final object like this, i take java as language and i will implement a final string and an enum:

// This is an immutable string
public static final String MY_OBJECT = "My new immutable object";

// Another way of making immutable objects is by using an enum
public enum CommandButtonBorders {
    SYSTEM(Color.RED),  // The color red is tied to the SYSTEM buttonborder and immutable
    ACTION(Color.GREEN),  // The color green is tied to the ACTION buttonborder and immutable
    UPGRADE(Color.BLUE),  // The color blue is tied to the UPGRADE buttonborder and immutable
    BUILD(Color.BLACK);  // The color black is tied to the BUILD buttonborder and immutable

  private Color color;
  
  // This is the constructor
  private CommandButtonBorders(Color color) {
     this.color = color;
  }
  
  // If you need an enum color you can use the getColor method
  public getColor() {
    return color;
  }
}

// If you need a buttonborder color in another class
private Color col_SystemButtonBorder = CommandButtonBorders.SYSTEM.getColor();


Whenever you declare a final object in programming you use CAPITAL letters, it is a naming convention so you can see instantly that an object can not be changed.
Check SpecialPower.ini, all enums are in CAPITAL letters...CAPITIS DIMINUTIO MAXIMA

Greetz
Panem et kirkinses
AdrianeMapMaker
8 years ago
@Acidbrain and Hymn Thanks

Btw Changing the colors of the borders ,doesnt make change the code ,I Mean they where Just colors emphasizing my buttons isnt it.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




mr_hymn_
8 years ago
I'm not certainly sure but might be a special code that you may able to add but not able to edit?

I'm not entirely sure about this.
AdrianeMapMaker
8 years ago
Wait @Acidbrain Where Do You found Those Code So I Can Change it as well?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




elliesy
8 years ago

Wait @Acidbrain Where Do You found Those Code So I Can Change it as well?

Originally Posted by: adrianemapmaker 



Mam, that code posted acidbrain sample of JAVA Programming language SourceCode he make .... it
for the explanation...:D

.
.
.
i have a experience in JAVA PL... but a little bit ..... i'am not good
but i understand ..... a little.:D
.
.
.
:D
AdrianeMapMaker
8 years ago
Still ,Changing the colors of the borders ,doesnt make change the code ,I Mean they where Just colors emphasizing my buttons isnt it.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




acidbrain
8 years ago
The comment behind the button tells you exactly what the border does...

 ; Identifier for the User as to what kind of button this is

Panem et kirkinses
acidbrain
8 years ago


Whenever you see a word in CAPITAL letters in an ini file it usually means that it is immutable.

Originally Posted by: acidbrain 



Lol, i was so wrong about not being able to change the colors of the borders, im so glad i used the word usually, lmao...

ControlBarScheme.ini

  ButtonBorderBuildColor R:67 G:108 B:190 A:255   ;blue
  ButtonBorderActionColor R:1 G:175 B:2 A:255     ;Green
  ButtonBorderUpgradeColor R:208 G:108 B:0 A:255  ;Orange
  ButtonBorderSystemColor R:207 G:195 B:2 A:255   ;yellow

You can change the colors...:P

At least i know im a noob, told it before on the Ini editor thread...:P

still am and will always be a noob...:P

Originally Posted by: acidbrain 



Greetz
Panem et kirkinses
AdrianeMapMaker
8 years ago
Only One Question :But, they had special on anything or just a design only ?
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




mr_hymn_
8 years ago
As far as I know and I tested it. Just a design.