修改CS僵尸版显示【生命.护甲.弹药带】的字体颜色!方法!
修改方法;先用记事本打开zombie_plague40.smaset_hudmessage 括号 后面的3个数字分别代表 红色.绿色.蓝色!(最大只能调到255)
自己喜欢撒子颜色自己自由搭配!
找到
// Show name, health, class, and ammo packs
set_hudmessage(255, 255, 255, HUD_SPECT_X, HUD_SPECT_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d", ID_SHOWHUD, "SPECTATING", g_playername, pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks)
}
else
{
// Show health, class and ammo packs
set_hudmessage(red, green, blue, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %d - %L %s - %L %d", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks)
}
}
第一个//
显示名称,卫生,阶级和弹药包(观察者视角)
第二个//
显示健康,阶级和弹药包(第一视角)
把它改成(改了后就是绿色了)
// Show name, health, class, and ammo packs
set_hudmessage(0, 255, 0, HUD_SPECT_X, HUD_SPECT_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d", ID_SHOWHUD, "SPECTATING", g_playername, pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks)
}
else
{
// Show health, class and ammo packs
set_hudmessage(0, 255, 0, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %d - %L %s - %L %d", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks)
}
}
保存并把sma转换成amxx格式!转换好的文件在这cstrike\addons\amxmodx\scripting\compiled
把zombie_plague40.amxx放到cstrike\addons\amxmodx\plugins里!替换原来的文件
转换不来的下面有附件!(注意哦,下面是4.3版的附件)
附件解压到cstrike\addons\amxmodx\plugins里!替换原来的文件 发的太慢啦。。已经修改好了。也不注明出处,是MOD的? 对啊 自己测试后无错才发出来给大家看看 参考
HUD使用方法即可
页:
[1]