Garry's Mod
Оценок: 678
Бросок гранаты для NPC
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Эффекты
Метки дополнений: Развлечение, Фильм, Ролевая игра
Размер файла
Добавлен
Изменён
14.959 KB
31 мая. 2024 г. в 11:58
3 окт. 2024 г. в 5:36
Обновлений: 4 (просмотреть)

Подпишитесь, чтобы загрузить
Бросок гранаты для NPC

В 2 коллекциях, созданных Limakenori
Limakenori's addons
Предметов: 80
EZmod
Предметов: 15
Описание
Приветствую! Добро пожаловать в аддон под названием: Бросок гранаты для NPC
Этот аддон позволяет NPC кидать гранаты в противника

Примечание:
Зомби,вортигонт и охотник, которые показаны в гифках, не поддержаны по умолчанию. Вы должны добавить их самостоятельно, используя команды!

Особенности:
Настройки
Команды
Кастомизация
Анимации
Поддержка любых NPC и гранат

Поддержка:
Поддержанные NPC:
npc_citizen, npc_alyx, npc_barney, npc_metropolice и другие NPC, которых вы можете добавить с помощью команд

Настройки:
Панель Инструментов >> Options >> Limakenori >> Throwing Grenades

Команды:
(мне лень это переводить)
1. grenthrow_npcs_add - this command add ability for unsupported by default NPC to use grenade throwing
Пример: grenthrow_npcs_add npc_citizen npc_grenade_frag 3 "throw1" 0.8 "anim_attachment_rh" 1 1 1
First value is NPC's class; second value is grenade's class; third value is amount of grenades(if you set -1 then NPC will have infinity amount of grenades); fourth value is throw animation; fifth value is time until grenade is thrown,; sixth value is the name(or number) of the attachment that used as a grenade's spawn position(if attachment doesn't exist, grenade will spawn from the center of NPC); seventh value is should NPC throw grenade only if armed?(0 - false, 1 - true); eighth value is force multiplier; ninth value is force multiplier up, tenth value is grenades model(this value is optional)

2. grenthrow_npcs_add - this command also can be used to add more grenades classes for NPC
Пример: grenthrow_npcs_add npc_citizen grenade_spit
First value is NPC's class; second value is grenade's class
You can also add 1 grenade class multiple times, so it has more chance to be used.

3. grenthrow_npcs_edit - this command edits 1 value from supported NPCs grenade
Пример: grenthrow_npcs_edit npc_citizen attachement "anim_attachment_lh"
First value is NPC's class; second value is the value you want to change in supported NPC; third value is what you want to change previous value to
Values list:
grenade - class
amount - number
animation - animation name
attachement - attachment name or number
onlyifarmed - number (0 - false, 1 - true)
force_multiplier - number
force_multiplier_up - number
model - model name

4. grenthrow_npcs_remove - this command removes NPC's ability to throw grenades
Пример: grenthrow_npcs_add npc_citizen
First value is NPC's class

5. grenthrow_npcs_reload - this commands reloads list of the NPCs that can throw grenades
Пример: grenthrow_npcs_reload

6. grenthrow_npcs_add_zombie - this command adds support for zombie to throw acid(like shown in 2 gifs)
Пример: grenthrow_npcs_add_zombie

Наслаждайтесь!

Титры:
C0Mb0STR3Kx20 и Limakenori(я) - кодинг

Tags: DSS NPC Weapon battle fight Gordon entropy ezt ez2 limakenori xengrenade weapon ar2 proto xenians expanded beneathacle water NPC HL half life BMS Mesa main bomb explosion power buff character
Популярные обсуждения Просмотреть все (2)
24
25 дек. 2024 г. в 2:34
ЗАКРЕПЛЕНО: Suggestions
Limakenori
3
18 июн. 2024 г. в 3:05
ЗАКРЕПЛЕНО: Bug Reports
Limakenori
Комментариев: 141
Barney Calhoun 2 мая в 9:30 
the grenades believe they can touch the sky
Barney Calhoun 2 мая в 9:30 
oh
i guess for that you should make a slider in the options that says "throw force" or smth that makes it so the grenades either land near the thrower or just believe they could fly
Limakenori  [создатель] 1 мая в 23:17 
Yes, but if you read his first comment you'll notice that he wants them throwing grenades across the map.
Barney Calhoun 1 мая в 16:48 
dont combine soldiers by default throw grenades?
"LoneStar" 21 апр в 15:51 
btw thanks for answer, still test it out with max distance and 0 cooldown
"LoneStar" 21 апр в 15:45 
makes sense
Limakenori  [создатель] 20 апр в 21:10 
You can add support yourself, just use commands.
"LoneStar" 20 апр в 20:59 
combine soldiers should be added support for shits and giggles, grenades across the map are so funny
FortressBrawler 20 мар в 12:46 
no i mean like the settings like the throw distance and chance
Hiafella 19 мар в 20:07 
combine soldiers use grenthrow (or smth like that, i forgot the name)