自定义命令键(如自定义键加钱、退出)欧卡德卡通用
欧卡:\My Documents\Euro Truck Simulator
德卡:My Documents\German Truck Simulator
之下有:controls.def 文件,用记事本打开,看到:
def commands {
def f10 {
command:"screenshot"
id:"1"
privileged:"true"
}
def grave {
command:"ui t console:system_02"
privileged:"true"
}
def pause {
command:"pause"
privileged:"true"
}
}
这一段,在 F10 键的定义下方添加:
def f11 {
command:"exec /home/money.cfg"
privileged:"true"
}
def end {
command:"quit"
privileged:"true"
}
结果变为:
def commands {
def f10 {
command:"screenshot"
id:"1"
privileged:"true"
}
def f11 {
command:"exec /home/money.cfg"
privileged:"true"
}
def end {
command:"quit"
privileged:"true"
}
def grave {
command:"ui t console:system_02"
privileged:"true"
}
def pause {
command:"pause"
privileged:"true"
}
}
再在
欧卡:\My Documents\Euro Truck Simulator
德卡:My Documents\German Truck Simulator
下用记事本建立一个文件,命名为 money.cfg (注意扩展名不是txt)
文件内容为:
cheat money
cheat money
cheat money
cheat money
cheat money
cheat money
cheat money
cheat money
cheat money
cheat money
进入游戏,提取存档,按F11添加了500万,按END直接退出了游戏。
注:按F11时,会弹出bug提交框,不用管它,按ESC键就消失了。
当然,你也可以设置成为:
(1)关闭违章(当然不一定是f11键啦)
def f11 {
command:"uset g_police '0'"
privileged:"true"
}
(2)打开违章(当然不一定是f11键啦)
def f11 {
command:"uset g_police '0' "
privileged:"true"
}
(3)关闭疲劳(当然不一定是f11键啦,执行后再按两遍ESC即可见到效果啦)
def f11 {
command:"uset g_fatigue '0' "
privileged:"true"
}
(4)打开疲劳(当然不一定是f11键啦,执行后再按两遍ESC即可见到效果啦)
def f11 {
command:"uset g_fatigue '1' "
privileged:"true"
}
(5)关闭后视镜(当然不一定是f11键啦)
def f11 {
command:"uset g_mirrors '0' "
privileged:"true"
}
(6)打开后视镜(当然不一定是f11键啦)
def f11 {
command:"uset g_mirrors '1' "
privileged:"true"
}
等等等等,可以自己多尝试啦……
我的添加是:
def f9 {
command:"exec /home/money.cfg" F9 添加500万
privileged:"true"
}
def f11 {
command:"uset g_fatigue '0'" F11 关闭疲劳驾驶
privileged:"true"
}
def f12 {
command:"uset g_fatigue '1'" F12 打开疲劳驾驶
privileged:"true"
}
def ins {
command:"uset g_police '0'" Insert 关闭违章
privileged:"true"
}
def home {
command:"uset g_police '1'" Home 打开违章
privileged:"true"
}
def pgup {
command:"uset g_mirrors '0'" Page Up 关闭车体后视镜
privileged:"true"
}
def pgdn {
command:"uset g_mirrors '1'" Page Down 打开车体后视镜
privileged:"true"
}
def end {
command:"quit" End 退出
privileged:"true"
}
[ 本帖最後由 kevinzhy 於 2012-3-9 15:46 編輯 ]