Garry's Mod

Garry's Mod

540 个评价
Combat Buddies
3
3
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
298.363 KB
2024 年 8 月 14 日 下午 7:11
6 月 22 日 下午 6:44
13 项改动说明 ( 查看 )

订阅以下载
Combat Buddies

描述
New Update : Player Downed System


Blargh Commisioned me to add new this new Mechanic to the mod + a Bodygroups Editor in the Combat-Buddy Editor, and alongside that i decided to better the code and fix some glitches aswell.

Huge Thanks to Blargh for Commissioning me this

This mod was a Commission made by Blargh, This was my first ever paid Commision! Everything was coded from scratch and took me 5 days non stop to fully finish it while taking small breaks, the Money helped me a lot to pay the bills here at home, if you want to thank someone for this mod go Thank Blargh!

yes Blargh did allow me to publish the mod even though is a commision, that said, if you want to make me a commision for a simple/complex mod, check My Profile to check if i'm available for commisions and more info! if you would like to Tip, check out my Kofi below ( I have a patreon, but i'll only use it when i make something much bigger, like some of the coop-pve gamemodes i have planned. )
https://ko-fi.com/dragon_red
[ko-fi.com]

What is this Mod?


This mod allows you to have NPCs as Buddies, giving them custom names, having them in your own party where they will protect you and follow your commands, the Mod also comes with custom systems that you can activate for your NPCs in your party, such as the ability of them Healing you or Speak when given commands, you can also give them Buffs ( If enabled by the host ) which can make them quite powerful and way more useful!

What NPCs can i use this on

You can have All types of NPCs in your party and they will follow your commands, Even hostile enemies! ( If Allowed by the host/server ), Your Buddies will not attack each other no matter what class they are, so you can have an Alyx + a Zombie + a Combine and they'll all be friendly to each other, and you can have them attacking all NPCs who are hostile to you or be friendly to all NPCs that are friendly to you aswell! and yes Custom Model NPCs too!

Command Wheel


The command Wheel allows you to quickly Access all of the available Commands you can give to your buddies and use towards Non-Buddy NPCs, the commands will be different depending on if you are Aiming at an NPC, Aiming at a Buddy of yours or Aiming at none of those. :

Aiming at NPC:
  • Add: Adds the NPC to your Current Buddy Squad if possible

  • Target: Makes your Buddies target that NPC as Hostile( watchout for if you have the option Dont-Target Friendlies active otherwise this will not work for friendly npcs, Using this, unlike Target-All-Hostiles will not make that npc hostile towards your buddies. )

  • Friendly: Makes your Buddies Friendly towards that NPC ( Again, Watchout for if you have Target-Hostiles option active if this NPC is hostile towards you )

Aiming at a Buddy:
  • Remove: Removes the Buddy from your squad and from the map

  • Hold: Tells the Buddy to Hold their current position ( Check Personal options for extra settings about Holding Position. )

  • Weapon: Opens a Menu that allows you to change the weapon of the Buddy

  • Select: Selects the Buddy ( When a buddy or more is Selected, only those selected will follow your next commands.)

  • Holster: Makes the Buddy Holster/Draw their weapon.

  • Patrol: Makes the Buddy Patrol around/Stop Patrolling, They Can also Patrol around you When following you.

Aiming Not Aiming at Buddy nor NPC:
  • Teleport:Teleports Selected Buddies( All if none is selected) to where you are aiming if allowed by the server.

  • Follow: Tells Selected Buddies( All if none is selected) To Start Following you.

  • A.Hold: Tells Selected Buddies( All if none is selected) To Hold their Position ( Check Personal options for extra settings about Holding Position. )

  • UnSel: Unselects All currently Selected Buddies.

  • Patrol: Makes Selected Buddies( All if none is selected) Start Patrolling or Unpatrol depending on their Patrol Status.

  • A.Holster: Makes Selected Buddies( All if none is selected) Holster/Unholster their weapons depending on their Holstering Status.

  • A.Holster: Allows you to Change the Weapons of Selected Buddies( All if none is selected).

  • Go To: Makes Selected Buddies( All if none is selected) Go to that Spot and Hold there ( Check Personal options for extra settings about Holding Position. )

Combat Buddies Editor


The Combat Buddies Editor ( not to be confused with Combat Buddy Manager ) allows you to edit your current group of Buddies, check Custom Settings to see all of the available settings you can customize on your buddies!

Combat Buddies Manager


The Combat Buddy Manager Allows you to save any of your favorite buddies and all of their settings into your local gmod data files, meaning that any buddies you add/remove there will be saved in your game Locally and allow you to use them in any server and singleplayer.

And Again, check Custom Settings to see all Available custom settings.

Buddies Come with you on Level transitions/ Rejoining server


An Option which Automatically Loads all of the Buddies you had previously active in your Buddies-Group before.

Notice that this system creates the save-file Server-Side, meaning that it Will not save in your local files to load on other servers, Thus meaning the File will only be created on that server's Host files or Dedicated server's files.

This Option can be Deactivated by the Server Host or Admin, If Deactivated no new last-buddies save files will be made nor the code will re-spawn your last group of buddies.

Custom Settings


Here you'll find a list of all the Available custom settings you can activate on your buddies through Buddy Editor and Buddy Manager :

Main Settings
  • Name
  • Weapon
  • Custom View Distance
  • Can Speak
  • Speak Cooldown
  • Can speak for Events ( healing Leader, Reloading )
  • Can use Auto-TP/Force-TP
  • Can Heal Leader ( If Allowed by the server, Goes heal the player when below 50 health )
  • Gender ( for the speaking system )

Buffs
Warning: Buffs can be quite OP and can be Fully deactivated by the Host/Admins, when deactivated none of the following settings will take effect, but you don't have to re-apply them to the NPC.

If the buff is of a numeric value, Leaving at 0 will not Activate the Buff on the NPC.
  • Damage Multiplier ( 0.00/ 5.00 )
  • Damage Resistance( 0.00/ 1.00 )
  • Weapon Accuracy Level ( 1 / 5 )
  • Custom Health ( 0 / 5000 )
  • God Mode

And much more!

Admin Options


in Utilities/Combat Buddies/ Admin options you'll find many options to deactivate/activate while being the host, including stuff as = enabling buddy pvp for players, which revive system buddies will use, etc

Personal Options


in Utilities/Combat Buddies/Personal options you'll find options to apply to your buddies only, including HUD system options, if the Buddies should always mainting a position when holding or if they can move freely around the position, if buddies can crouch with you ( i recommend deactivating for npcs that cant crouch ), Console Commands List
125 条留言
Blargh Hurek 11 月 5 日 下午 4:54 
@失心 Lost-Heart, Maybe, we will see if we can try to add a option for that. I was kinda dealing with that issue, but thought it wasn't a big deal.
失心 Lost-Heart 11 月 2 日 下午 8:39 
@Blargh Hurek,Thank you for your hard work, I have a suggestion, Could we add a feature to reposition the HUD? My UI has a radar in the top-left corner that's currently overlapping with the buddy health display.
Blargh Hurek 11 月 1 日 下午 10:56 
@失心 Lost-Heart, Hrm. Yeah, as I said before. The bases can use set of codes that may not work well with the combat buddy codes if it uses the same type, which can cause conflicts. Using the HL2 Weapons will not have any issues. I may look into seeing if we can have a option to not use accuracy or buffs(meaning if you put it to 0), it will use the default damage and accuracy.

This should allow the weapons to function normally with no problems, due to the fact it doesn't touch any spaghetti code. It may allow any weapons work naturally, but sadly, I am not sure the buffs may be fixed with the weapon bases, gonna have to check in with Dragonred on that. Worst comes to worst, its just your average codetocode addons not working well together.
失心 Lost-Heart 11 月 1 日 下午 9:14 
@Blargh Hurek,Thanks for the explanation! One more thing: I'm having the same issue as Paranoid, ARC9 weapons aren't dealing the damage they should according to the mod's design, There is another mod that can fix this, but its accuracy is terrible unless you use aimbot mode, Vanilla weapons shoot perfectly fine though, Any way to improve this situation?
失心 Lost-Heart 11 月 1 日 下午 9:06 
@Paranoid&Afraid,I'm in the same situation as you. If you don't mind, you could use a mod called NPC Strength Adjuster
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3264101859
It lets you modify their damage multiplier,though I'd recommend not setting it too high, or one-shot kills will make things boring.
Blargh Hurek 10 月 27 日 下午 12:49 
@Paranoid&Afraid, Yeah... Weapons that use Bases aren't best for combat buddies, especially when the bases has their own type of code system of changing base damage and attacks. Can possibly cause conflicts with each other. Finding weapons that uses core hl2 code is your safe bet for getting better results with no janks.

I don't favor base addons sadly, my pc is too outdated for that. Reason why I commission combat buddies to give you good results with cheap&easy methods for good performance.
Paranoid&Afraid 10 月 27 日 上午 11:59 
@Blargh Hurek
Noted, might be either me using ARC9/ARCCW weapons on my Combat Buddies, or something up with my addon list that's causing weird interactions. Annoying, but expected I suppose. Its just weird that my Buddies can damage and kill fine in Sandbox, but fail to deal an iota of damage in Map Sweepers.
Blargh Hurek 10 月 26 日 下午 9:06 
@Paranoid&Afraid, Fun fact I also use it for Map Sweepers. I don't really have that much trouble with it. My npc use base hl2 weapons, and the upgrades work not bad. I make sure I pump up the damage resistance and health for that reason. Cause the map sweeper npcs does stupid damage at times, and if you have npc health bar addon, their healths are buffed. I also make use the damage multiplier, and accuracy so they don't miss. And find a good better npc weapon in the workshop.
Blargh Hurek 10 月 26 日 下午 9:00 
@失心 Lost-Heart. About that, kinda have to deal with it. Cause, sadly due to how garry's mod hitbox work, making the npc aim for the head may have the chance to miss a lot. Maybe we could have it aim a little higher, but having it this way will at least deal damage to npc without missing.

It's either should npcs have a chance miss oftenly when hitting a open target at the head, or have it hit the wall, until that enemy pops out in the open or you get close to it.
Paranoid&Afraid 10 月 26 日 下午 7:42 
Interestingly, Combat Buddies can be spawned in gamemodes like Map Sweepers; if you set a keybind to the CB Manager.

Unfortunately, however, it seems that - be it this addon or the Map Sweepers gamemode itself - any spawned Combat Buddy will deal absolutely no damage to enemy. There might've been times when I think my CBs dealt damage, but most of the time they don't deal any damage even if they shoot and land hits. Worse is, the CBs can still take damage. So, any thinking to try and use CBs for Map Sweepers might have to look elsewhere.