Posted by: AdrianeMapMaker - Thursday, May 11, 2017 8:05:16 PM
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
Posted by: mr_hymn_ - Thursday, May 11, 2017 9:31:25 PM
Do you mean border list?
Command Button Bordertypes:
SYSTEM
ACTION
UPGRADE
BUILD
Posted by: AdrianeMapMaker - Friday, May 12, 2017 4:05:19 AM
yesssssssssssssssssshhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Posted by: mr_hymn_ - Friday, May 12, 2017 4:14:12 AM
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.
Posted by: acidbrain - Friday, May 12, 2017 5:47:01 AM
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:
[code=cpp]
// 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();
[/code]
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
Posted by: AdrianeMapMaker - Friday, May 12, 2017 7:34:16 AM
@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.
Posted by: mr_hymn_ - Friday, May 12, 2017 11:31:22 AM
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.
Posted by: AdrianeMapMaker - Friday, May 12, 2017 5:50:18 PM
Wait @Acidbrain Where Do You found Those Code So I Can Change it as well?
Posted by: elliesy - Friday, May 12, 2017 10:54:49 PM
[quote=adrianemapmaker;144900]Wait @Acidbrain Where Do You found Those Code So I Can Change it as well?[/quote]
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
Posted by: AdrianeMapMaker - Sunday, May 14, 2017 1:16:33 AM
Still ,Changing the colors of the borders ,doesnt make change the code ,I Mean they where Just colors emphasizing my buttons isnt it.
Posted by: acidbrain - Sunday, May 14, 2017 1:49:33 AM
The comment behind the button tells you exactly what the border does...
[code]
; Identifier for the User as to what kind of button this is
[/code]
Posted by: acidbrain - Sunday, May 14, 2017 3:00:54 AM
[quote=acidbrain;144876]
Whenever you see a word in CAPITAL letters in an ini file it [b][i][u]usually[/u][/i][/b] means that it is immutable.[/quote]
Lol, i was so wrong about not being able to change the colors of the borders, im so glad i used the word [b][i][u]usually[/u][/i][/b], lmao...
[b][i]ControlBarScheme.ini[/i][/b]
[code=plain]
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
[/code]
You can change the colors...:P
At least i know im a noob, told it before on the Ini editor thread...:P
[quote=acidbrain;144879]still am and will always be a noob...:P[/quote]
Greetz
Posted by: AdrianeMapMaker - Sunday, May 14, 2017 6:52:13 AM
Only One Question :But, they had special on anything or just a design only ?
Posted by: mr_hymn_ - Sunday, May 14, 2017 12:06:48 PM