2025-08-10 22:27:34 +07:00

32 lines
1.6 KiB
Plaintext

Title: Custom Hostile NPCs to Citizen
This is my first mod ever!
[h2]About this Addon[/h2]
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 [b]overwriting the spawnmenu data[/b]. 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.
[h2]Features[/h2]
[list]
[*] Change the behavior of custom models NPCs from combine to citizen
[*] Blacklist of NPCs who don't want to become citizens.
[/list]
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 [b]replacehostile_reload[/b] or “Reload NPCs” button in settings
I'll make VJ version if i can. i'm still learning...
-----------
models used:
- [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3167885628]Lenna[/url]
- [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3133369749]Tomoko[/url]
Note: i couldn't find a mod similar to the one i made, so i don't know who made it first.