Garry's Mod

Garry's Mod

84 个评价
(Homicide,Sandbox)Kitekat
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 角色扮演, 风景
文件大小
发表于
更新日期
622.015 KB
2019 年 7 月 26 日 上午 8:12
2019 年 7 月 26 日 上午 8:19
2 项改动说明 ( 查看 )

订阅以下载
(Homicide,Sandbox)Kitekat

描述
Weapon class name: "wep_zac_hmcd_kitekat"
Weapon class name Sandbox: "weapon_kitekat"

Jelly 'Kitekat' with chiken

Composition:

Meat and offal (including chicken at least 10%), cereals, taurine, vitamins, minerals.\n\nNutritional value (100 g):

Per 100 g: proteins - 6 g; fat 3.5 g; ash - 2.5 g; Cicada - 0.3 g; vitamin a - not less than 150 IU; vitamin E - not less than 0.9 mg; moisture - 84 g

Feeding recommendation:

In the diet of a pet, it is necessary to include canned food, because its main advantages are high caloric content and nutritional value.

If you are the owner of the server in Homicide mode, then follow the instructions below to properly configure your server to work with this object.(Sorry for my English)

In the beginning, go to the path Homicide\gamemodes\homicide\gamemode and find the file "shared.lua".
Open this file in Notepad++ or other editing programs.
Now find these lines:

HMCD_AllowedEntities={

Well now, add these lines:
,"wep_zac_hmcd_whiskas","ent_zac_hmcd_whiskas"
Note THERE is always NEED a COMMA BEFORE THESE LINES.
That is, it should look like this:

HMCD_AllowedEntities={
"logic_","phys_","gmod_","manipulate_","predicted_","physics_",
"player_","reserved_","ai_","info_","hint","npc_zombie_torso",
"npc_fastzombie_torso","prop_physics","prop_physics_multiplayer",
"prop_dynamic","prop_ragdoll","worldspawn","soundent","prop_static",
"func_","beam","spotlight_","ambient_","scene_","npc_heli_",
"env_","trigger_","sky_","bodyque","move_","keyframe_","shadow_",
"water_","network","light","point_","_firesmoke","raggib","prop_door",
"prop_door_rotating","ally_","script_","math_","prop_scalable","aiscripted_",
"path_","filter_","cycler","relationship","color_","scripted_","goal_",
"npc_event","npc_template","gib","material_","vort_","entityflame","npc_furniture",
"sound","npc_enemyfinder","lua_run","fish","momentary_","game_",
"infodecal","entity_","wep_zac_hmcd_kitekat","ent_zac_hmcd_kitekat"
}

Well now find this file "sv_loot.lua"


Great, now find this line:

local LootTable={

See in these lines the chance of creating an item goes in descending order.
Now we need to insert this line correctly {"ent_zac_hmcd_kitekat",.5}, that is, it should look like this :

local LootTable={
{"ent_jack_hmcd_fooddrink",27},
{"ent_jack_hmcd_fooddrinkbig",17},
{"ent_jack_hmcd_bandage",8},
{"ent_jack_hmcd_pocketknife",7},
{"ent_jack_hmcd_flashlight",7},
{"ent_jack_hmcd_painpills",6},
{"ent_jack_hmcd_ducttape",6},
{"ent_jack_hmcd_baseballbat",5},
{"ent_jack_hmcd_axe",5},
{"ent_jack_hmcd_bandagebig",4},
{"ent_jack_hmcd_hatchet",4},
{"ent_jack_hmcd_phone",4},
{"ent_jack_hmcd_hammer",4},
{"ent_jack_hmcd_ammo",2.5},
{"ent_zac_hmcd_kitekat",.5},
{"ent_jack_hmcd_smallpistol",.5}
}
Great, now find this line:

local SHTF_LootTable={

See here as well as in the first example everything goes in descending order of chance.
Now place this line {"ent_zac_hmcd_kitekat",.5}, in the right place, that is:

local SHTF_LootTable={
{"ent_jack_hmcd_fooddrink",12.5},
{"ent_jack_hmcd_fooddrinkbig",12.5},
{"ent_jack_hmcd_painpills",8},
{"ent_jack_hmcd_walkietalkie",8},
{"ent_jack_hmcd_bandage",7},
{"ent_jack_hmcd_ducttape",6},
{"ent_jack_hmcd_hammer",6},
{"ent_jack_hmcd_flashlight",4},
{"ent_jack_hmcd_medkit",4},
{"ent_jack_hmcd_baseballbat",4},
{"ent_jack_hmcd_pocketknife",4},
{"ent_jack_hmcd_revolver",4},
{"ent_jack_hmcd_grapl",4},
{"ent_zac_hmcd_heroin",3},
{"ent_jack_hmcd_bandagebig",3},
{"ent_jack_hmcd_ammo",3},
{"ent_jack_hmcd_bow",2},
{"ent_jack_hmcd_pistol",2},
{"ent_jack_hmcd_shotgun",1},
{"ent_jack_hmcd_rifle",1},
{"ent_jack_hmcd_softarmor",1},
{"ent_jack_hmcd_axe",1},
{"ent_jack_hmcd_hatchet",1},
{"ent_jack_hmcd_helmet",1},
{"ent_jack_hmcd_molotov",.5},
{"ent_jack_hmcd_pipebomb",.5},
{"ent_jack_hmcd_hardarmor",.5},
{"ent_jack_hmcd_assaultrifle",.5},
{"ent_zac_hmcd_kitekat",.5},
{"ent_jack_hmcd_suppressedrifle",.5}
}
Now we need to find this line:

local SHTF_TraitorLootTable={

Note in these lines the chance of creating an item goes in ascending order!.
We need to put this line {"ent_zac_hmcd_kitekat",.5}, correctly that is so:

local SHTF_TraitorLootTable={
{"ent_zac_hmcd_kitekat",.5},
{"ent_jack_hmcd_flashlight",.5},
{"ent_jack_hmcd_walkietalkie",.5},
{"ent_jack_hmcd_fooddrink",.25},
{"ent_jack_hmcd_fooddrinkbig",.25},
{"ent_jack_hmcd_baseballbat",.5},
{"ent_jack_hmcd_ducttape",.5},
{"ent_jack_hmcd_hammer",.5},
{"ent_jack_hmcd_pocketknife",1},
{"ent_jack_hmcd_bandage",1},
{"ent_jack_hmcd_bandagebig",1},
{"ent_jack_hmcd_revolver",3},
{"ent_jack_hmcd_painpills",3},
{"ent_jack_hmcd_molotov",3},
{"ent_jack_hmcd_suppressedrifle",3},
{"ent_jack_hmcd_grapl",4},
{"ent_jack_hmcd_medkit",4},
{"ent_jack_hmcd_pistol",4},
{"ent_jack_hmcd_softarmor",4},
{"ent_jack_hmcd_helmet",4},
{"ent_jack_hmcd_shotgun",4},
{"ent_jack_hmcd_hatchet",4},
{"ent_jack_hmcd_hardarmor",4},
{"ent_jack_hmcd_axe",4},
{"ent_jack_hmcd_rifle",4},
{"ent_jack_hmcd_bow",4},
{"ent_jack_hmcd_assaultrifle",4},
{"ent_jack_hmcd_pipebomb",4},
{"ent_jack_hmcd_ammo",30}
}


CONGRATULATIONS, THE ADDON IS READY TO WORK.
10 条留言
xlebio 2021 年 10 月 22 日 上午 5:56 
можно было бы и вернуть...
Zac90  [作者] 2021 年 10 月 22 日 上午 4:37 
китекета никогда не было там... и не будет
xlebio 2021 年 10 月 22 日 上午 2:44 
верните китикет на хомисайд!
426HEMI 2020 年 12 月 17 日 下午 3:48 
twhrtwerw!!!! tjyrjr htreasfrerg ytjeehr!!!
Griggs 2019 年 8 月 13 日 上午 12:40 
вискас заебись.
daimyminik 2019 年 8 月 4 日 上午 9:02 
да благославит тебя
Ralouter 2019 年 8 月 2 日 下午 7:13 
Add a comment

Yahet Jul 26 @ 10:18am
просто ужас какой кал вискас лучше

Smart maine-♥♥♥♥ Jul 26 @ 8:54am
СпАсИбо! Муррр!

Давидоро Jul 26 @ 8:25am
буржй)
Yaher 2019 年 7 月 26 日 上午 10:18 
просто ужас какой кал вискас лучше
Bakeliteman 2019 年 7 月 26 日 上午 8:54 
СпАсИбо! Муррр!
76 2019 年 7 月 26 日 上午 8:25 
буржй)