Garry's Mod

Garry's Mod

144 个评价
Custom Hostile NPCs to Citizen
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
3.298 KB
8 月 4 日 上午 4:50
8 月 10 日 上午 7:23
4 项改动说明 ( 查看 )

订阅以下载
Custom Hostile NPCs to Citizen

在 LunaticNonszy 的 1 个合集中
Nonszy Server Basic Pack
26 件物品
描述
This is my first mod ever!

About this Addon
Tired of hearing your favorite character's enemy NPC sound like a combine? or buggy if using weapons rather than citizen NPCs?

This simple mod changes custom hostile NPC models change their behavior from combine to citizen by overwriting the spawnmenu data. making hostile more human.

If you spawn NPCs from custom model addons as enemies or hostiles you realize that their behavior and their voices are combine soldiers. That's because most hostile NPCs from custom model addons use combine as their base NPC.

Since the March 2025 update, gmod has added a new NPC called Enemy Rebel, which makes citizens hostile. This can be changed to custom NPCs that use Combine as their enemy.

Features
  • Change the behavior of custom models NPCs from combine to citizen
  • Blacklist of NPCs who don't want to become citizens.

To blacklist an NPC, right-click and copy the NPC in the spawn menu, go to Options > Replace Hostile Settings, paste the NPC class into the blacklist. to add multiple NPC, separate them with commas, example: npc_myhostile,npc_lenna,gfl2_lenna_enemy

You can reload blacklisted and non-blacklisted hostile NPCs with replacehostile_reload or “Reload NPCs” button in settings

I'll make VJ version if i can. i'm still learning...

-----------

models used:
- Lenna
- Tomoko

Note: i couldn't find a mod similar to the one i made, so i don't know who made it first.
12 条留言
player.mdl 9 月 1 日 上午 11:33 
i think it's better to make VJ base or nextbots instead of using c++ coded NPCs, sure people have optimization issues but then code it yourself atp.

since Lua-sided = you get to define your own animations
you could still replace existing map-placed npcs trough EntityCreated hooks ig

i suppose hostile citizen's are useful if you need to replace a specific citizen's model on a hl2 map without breaking sequences, so ofc forcing it to use citizentype 4, custom modelpath plus hostile set to 1, but for sandbox, nextbots or vj base is better alternative
v.myach1n 8 月 16 日 上午 3:33 
its skin for combine?
Ghostlead 8 月 11 日 下午 5:09 
This is an interesting concept. If only there was a mod that turns friendly npc in with citizen animation into combine's animation, but the problem with that is usually the reload and the occasional t pose.
LunaticNonszy  [作者] 8 月 10 日 上午 8:14 
@Leisure this is already activated when the map starts. you can reload it by executing `replacehostile_reload` or reloading it in the options menu
LunaticNonszy  [作者] 8 月 10 日 上午 8:02 
i also added a command to reload hostile NPCs, but you can reload it in the settings
LunaticNonszy  [作者] 8 月 10 日 上午 8:02 
Sorry it's so late, i heard your requests, this time i added settings for blacklists to certain NPCs, but for now you can blacklist by adding classes in settings..
Leisure 8 月 9 日 下午 3:17 
Where do you activate this mod from? I couldn't find a menu or tool. So far it does nothing
nikhismut. 8 月 8 日 下午 10:17 
finally after years someone made a mod to counter this.:bf4star::physgun:
WiKwayer 8 月 8 日 上午 9:29 
will this help t-posing reload ?
Sunny 8 月 7 日 下午 8:09 
Interesting