Post by Radar on Feb 16, 2006 9:12:12 GMT -5
To change the Hud display (External view) of the ui (User Interface). The settings are in the file ghud.esc from folder ui. In this file, look for "value":"mph", it is then followed by 8 values (from 10 to 80) in descending order. Just replace these with the lines below and you have a HUD in km/h.
entity "ui.comp.common.text" {
evalues {
"value" : "km/h"
"layer" : "1"
"coords" : "879 121 929 147"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "130"
"layer" : "1"
"coords" : "942 69 968 91"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "120"
"layer" : "1"
"coords" : "947 88 973 110"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "110"
"layer" : "1"
"coords" : "945 109 971 131"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "100"
"layer" : "1"
"coords" : "937 128 963 150"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "90"
"layer" : "1"
"coords" : "928 142 954 164"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "80"
"layer" : "1"
"coords" : "910 151 936 173"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "70"
"layer" : "1"
"coords" : "890 155 916 177"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "60"
"layer" : "1"
"coords" : "870 151 896 173"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "50"
"layer" : "1"
"coords" : "852 140 878 162"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "40"
"layer" : "1"
"coords" : "840 126 866 148"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "30"
"layer" : "1"
"coords" : "832 106 858 128"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "20"
"layer" : "1"
"coords" : "830 87 856 109"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "10"
"layer" : "1"
"coords" : "836 67 862 89"
}
}
entity "ui.comp.common.text" {
evalues {
"value" : "km/h"
"layer" : "1"
"coords" : "879 121 929 147"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "130"
"layer" : "1"
"coords" : "942 69 968 91"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "120"
"layer" : "1"
"coords" : "947 88 973 110"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "110"
"layer" : "1"
"coords" : "945 109 971 131"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "100"
"layer" : "1"
"coords" : "937 128 963 150"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "90"
"layer" : "1"
"coords" : "928 142 954 164"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "80"
"layer" : "1"
"coords" : "910 151 936 173"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "70"
"layer" : "1"
"coords" : "890 155 916 177"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "60"
"layer" : "1"
"coords" : "870 151 896 173"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "50"
"layer" : "1"
"coords" : "852 140 878 162"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "40"
"layer" : "1"
"coords" : "840 126 866 148"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "30"
"layer" : "1"
"coords" : "832 106 858 128"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "20"
"layer" : "1"
"coords" : "830 87 856 109"
}
}
entity "ui.comp.common.text" {
evalues {
"look" : "1"
"value" : "10"
"layer" : "1"
"coords" : "836 67 862 89"
}
}