A) To alter the size of text elements (health and armor numbers, etc.)
look for lines like this:
textscale .62
Alter the value to change the text size.
Changing .62 to 1.24 would double the size.
Changing .62 to .31 would reduce the size by 50%.
B) To change the size of icons
itemDef {
name "health"
rect 68 1 22 22
change the values that indicate the size of the container.
The first value is x.
The second value is y.
If you wanted your health icon to be twice as big, you would change "22 22" to "44 44"
Modify the values until you are satisfied.
examples:
menuDef {
visible 1
rect 270 190 100 100
itemDef {
visible 1
rect 0 0 50 50
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .3
}
itemDef {
visible 1
rect 0 0 100 100
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .3
}
itemDef {
visible 1
rect 0 0 150 150
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .3
}
}
menuDef {
visible 1
rect 270 190 100 100
itemDef {
visible 1
rect 0 0 100 50
textscale .15
ownerdraw CG_PLAYER_HEALTH
}
itemDef {
visible 1
rect 0 50 100 50
textscale .55
ownerdraw CG_PLAYER_HEALTH
}
itemDef {
visible 1
rect 0 100 100 50
textscale .95
ownerdraw CG_PLAYER_HEALTH
}
itemDef {
visible 1
rect 0 200 100 50
textscale 1.22
ownerdraw CG_PLAYER_HEALTH
}
}
menuDef {
visible 1
rect 150 200 100 100
itemDef {
visible 1
rect 0 0 20 20
ownerdraw CG_PLAYER_AMMO_ICON2D
}
itemDef {
visible 1
rect 100 0 40 40
ownerdraw CG_PLAYER_AMMO_ICON2D
}
itemDef {
visible 1
rect 200 0 70 70
ownerdraw CG_PLAYER_AMMO_ICON2D
}
itemDef {
visible 1
rect 300 0 100 100
ownerdraw CG_PLAYER_AMMO_ICON2D
}
}
0 comments:
New comments are not allowed.