[Tutorial] Change zombie icon on infect

Тема в разделе "Zombie:Reloaded", создана пользователем BGKoKoOo, 5 мар 2015.

  1. BGKoKoOo

    BGKoKoOo

    Сообщения:
    33
    Симпатии:
    7
    Alot of people asking, how to change default icon on infect, to knife, and i decided to make tutorial.

    To change it, you will need to edit infect.inc.

    The file (infect.inc) is located in addons/sourcemod/scripting/zr.

    You will need to change the line: SetEventString(event, "weapon", "zombie_claws_of_death");

    Standart knife icon: SetEventString(event, "weapon", "knife");
    Preview - http://steamcommunity.com/sharedfiles/filedetails/?id=403038103

    Gut knife icon: SetEventString(event, "weapon", "knife_gut");
    Preview - http://steamcommunity.com/sharedfiles/filedetails/?id=403037813

    Flip knife icon: SetEventString(event, "weapon", "knife_flip");
    Preview - http://steamcommunity.com/sharedfiles/filedetails/?id=403038011

    Karambit knife icon: SetEventString(event, "weapon", "knife_karambit");
    Preview - http://steamcommunity.com/sharedfiles/filedetails/?id=403038070

    butterfly knife icon: SetEventString(event, "weapon", "knife_butterfly");
    Preview - http://steamcommunity.com/sharedfiles/filedetails/?id=403038150

    Knife icon that now working
    1. bayonet
    2. Golden
    3. huntsman
    4. M9

    Sorry for writting on english, but i am from Bulgaria. If you can, make russian translation, and i will edit the thread.
     
    AS TRO, marsian, FrozDark и ещё 1-му нравится это.