Garry's Mod

Garry's Mod

209 个评价
iRAIDS (RAIDS Modification)
2
3
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
文件大小
发表于
更新日期
66.381 KB
6 月 20 日 上午 3:59
10 月 20 日 下午 2:17
38 项改动说明 ( 查看 )

订阅以下载
iRAIDS (RAIDS Modification)

在 Scorp 的 1 个合集中
Scorp's Addons
9 件物品
描述
THIS IS NOT MY ADDON!!!
This is a modification of the RAIDS addon by Trench.
You can find the original addon here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3048046612

About
iRAIDS (short for 'improved RAIDS') is a modification of the original RAIDS addon that fixes some issues present in the original.

Modification
These modifications (so far) include:
  • Spawning NPCs only in buildings
    In the original NPCs would spawn anywhere, this addon checks for a ceiling before spawning to ensure that the NPC spawns either indoors or at least not out in the open.
  • Spawning NPCs more randomly and spread out
    This is more of a fix of the old spawning method. Rather than going through nodes sequentially now the addon will pick nodes randomly, causing the NPCs to spawn more spread out rather than clumped up.
  • NPC patrol option
    Now you can choose to spawn NPCs in patrol mode rather than standing. Toggle it with the iraids_do_patrol convar.
  • Only spawn in one (or more) buildings
    Alongside the "Spawning NPCs only in buildings" feature, you also have the option to only spawn NPCs in a single (or more) buildings. This is most useful for raid/police type gameplay on big maps where only one building is filled with enemies.
  • Spawning near to walls
    This feature spawns NPCs in less exposed areas by trying to find a wall to spawn them next to. Toggle it with the iraids_spawn_next_to_walls convar. Very buggy though, don't recommend using this.
  • Spawning citizens
    You can choose to also spawn citizens instead of rebels with the iraids_spawn_citizens command.
  • Spawning NPCs with custom weapons
    You can now create a list of weapons you want the NPCs to use.
  • Spawning metrocops and antlions
    You can now spawn metrocops and antlions
  • Spawning NPCs in groups
    Makes a set random amount of NPCs spawn in groups next to each other
  • Spawning custom NPCs
    You can create a list of NPCs you want to spawn with the iraids_spawn_custom command. Works much like the custom weapon system (but for NPCs)

About original
If you're not aware, RAIDS is an addon that automatically spawns rebels, zombies or combines when you type in a console command.
This addon was designed to both run as a standalone and alongside the original.
All the commands are the same, just instead of them being prefixed with 'raids_', they are now prefixed with 'iraids_'.

Commands
- iraids_spawn_combine <optional max number | default 64>
- iraids_spawn_metrocops <optional max number | default 64>
- iraids_spawn_rebels <optional max number | default 64>
- iraids_spawn_citizens <optional max number | default 64>
- iraids_spawn_zombies <optional max number | default 64>
- iraids_spawn_antlions <optional max number | default 64>

- iraids_start_combine_assault <optional starting max amount | default 8>
- iraids_start_combine_assault_no_escalation <optional starting max amount | default 8>
- iraids_start_metrocops_assault <optional starting max amount | default 8>
- iraids_start_metrocops_assault_no_escalation <optional starting max amount | default 8>
- iraids_start_rebel_assault <optional starting max amount | default 8>
- iraids_start_rebel_assault_no_escalation <optional starting max amount | default 8>
- iraids_start_zombie_assault <optional starting max amount | default 8>
- iraids_start_zombie_assault_no_escalation <optional starting max amount | default 8>
- iraids_start_antlion_assault <optional starting max amount | default 8>
- iraids_start_antlion_assault_no_escalation <optional starting max amount | default 8>
- iraids_stop_assault

Modification commands
- iraids_indoor_only <0 to allow spawning anywhere, 1 to only allow spawning in buildings | default 1>
- iraids_outdoor_only <0 to allow spawning anywhere, 1 to only allow spawning outside of buildings | default 0>
- iraids_do_patrol <0 for no patrolling, 1 for patrolling | default 0>
- iraids_spawn_next_to_walls <0 to disable, 1 to spawn near walls | default 0>

Modification commands (per-building spawning)
This allows you to spawn NPCs in a set amount of buildings.
To begin using this feature you must either generate areas manually by using iraids_generate_areas or enable auto area generation by running iraids_auto_generate_areas 1.
After generating areas you can spawn NPCs in specific buildings by using iraids_spawn_<type>_area <npc count> <building type>

- iraids_generate_areas
- iraids_auto_generate_areas <whether to auto-generate areas | default 0>
- iraids_min_area_nodes <optional minimum number | default 15>
- iraids_areatest (test command, generates babies on every node in largest area)

- iraids_spawn_combine_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>
- iraids_spawn_metrocops_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>
- iraids_spawn_rebels_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>
- iraids_spawn_citizens_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>
- iraids_spawn_zombies_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>
- iraids_spawn_antlions_area <enemy count | default 64> <0 for random area, 1 for biggest area, 2 and above for multiple random areas>

Modification commands (custom weapons)
This allows you to spawn NPCs with weapons from a custom list.

- iraids_spawn_with_custom_weapons <whether to enable this feature | default 0>
- iraids_available_weapons: prints all available weapon classes
- iraids_custom_weapons: prints all weapons in the current custom weapon list
- iraids_clear_custom_weapons: clears the current custom weapon list
- iraids_add_custom_weapon <weapon class name>
- iraids_remove_custom_weapon <weapon class name or index>

Modification commands (custom npcs)
This allows you to spawn NPCs from a custom list

- iraids_customnpc_with_customwep <whether custom npcs should spawn with custom weapons | default 0>
- iraids_custom_npcs: prints all NPCs in the current custom NPC list
- iraids_clear_custom_npcs: clears the current custom NPC list
- iraids_add_custom_npc <npc class name>
- iraids_remove_custom_npc <npc class name or index>

Modification commands (groups)
This allows you to spawn NPCs in groups

- iraids_spawn_groups <whether to enable | default 0>
- iraids_min_group_members <minimum NPCs per group | default 1>
- iraids_max_group_members <maximum NPCs per group | default 5>
- iraids_max_group_distance <maximum radius of group spawning | default 250>

Other addons
If you want citizens and rebels to have better reaction times, get my ReadyNPCs addon:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3504508595

If you want to have a tracker for hostile NPCs, use this:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3505528934
93 条留言
deded6750 12 月 1 日 上午 11:50 
and also iraids_spawn_xxx always crashes the game now
California 11 月 27 日 上午 12:19 
Is there a way to spawn only specific zombies that i might have missed or does it only spawn every zombie type?
car 11 月 26 日 下午 2:24 
Hey do you know how to add combine elite as a custom npc? I’m pretty sure it uses the same npc class as the combine soldier and shotgunner but I’m not sure.
Utahraptor232 10 月 20 日 下午 2:53 
It's all good, thank you for the effort you put in! Excellent addon, truly one of my favorites!
Scorp  [作者] 10 月 20 日 下午 2:15 
Thank you guys for the support though! I haven't been able to work on my addons as much due to time problems and also because I haven't been on Garry's Mod that much lately but I'll try to deliver with fixing common problems. I know how frustrating it can be to have a dense dev that doesn't fix ♥♥♥♥.
Scorp  [作者] 10 月 20 日 下午 2:15 
Hey guys, I've finally made some updates and will be looking into some other bug fixes soon.
First off I'd like to mention that the crashing does happen and I can't really know how to fix it. My main advice is to disable addons that may conflict with iRAIDS and also try other maps as some maps cause crashing.
Second, as per some requests, I've added outdoor-only spawning. You can enable it with iraids_outdoor_only 1.
Finally, I'm also realizing the issues with the custom NPC spawning too. I'll work on fixing it but it's a bit complicated since some addons don't create new classes for their NPCs, just reskin existing ones. Right now the custom NPC spawning only works with vanilla NPCs but I'll work on fixing it the issue soon.
mike_3454 10 月 20 日 下午 2:11 
did this mod update to spawn babies all over your map?
Soviet Onion 10 月 12 日 下午 7:24 
thats been happening recently for me too
Utahraptor232 9 月 28 日 上午 10:58 
I haven't been able to get custom NPCs to work, I'm adding them to the list the same way that I do weapons but they always show errors that it can't find the NPC. Is there something I'm missing or is it bugged right now?
Franky 9 月 26 日 上午 7:44 
skill issue