Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Downed 1.0.0

   (0 reviews)

1 Screenshot

  • 274
  • 22
  • 12.97 kB

About Downed

Extends the wounded system of rust. Gives a option to get back up or respawn with buttons.
The config file has settings that you can change for:
Time before respawn CUI is shown.
Time that your incapacitated for while reviving.
Time it takes before normal wounded system takes over.

By default, The player is always downed instead of instant death.
Then 10 seconds latter it will give them the option to get up to respawn.
If they click "get up" there player will fall onto there back incapacitated for 20 seconds then get back up.
If the player does nothing for 120 secs then the normal rust wounded system will take over.

It can also apply wounded system to NPC bots. You can knock them down and loot them.
There are settings in the config for disabling this, Setting how long before bots get up and what chance they have of dying instead of getting back up.

Admin Chat Commands:

/down playername      -   Makes that player fall down wounded.
/getup playername      -   Instantly gets that player back up.

Config File:
Downed.json
Default
 

{
"Delay before showing getup CUI: ": 10,
"Countdown for getting back up: ": 20,
"Bleedout timer: ": 120,
"Allow NPCs to be knocked down: ": true,
"How long before NPC gets back up: ": 20,
"Percentage for NPC to bleedout: ": 50
}

 

Usage Video:
The screaming is not part of this plugin its a seperate one.


Note:
As of writing this both RaidableBases and BotSpawn plugins will still attack the player while the NPCs are downed.
I have been in contact with the creators of both those plugins and they will be putting the checks in place to stop downed NPCs from those plugins attacking you.
Normal NPCs wont attack you since when they are downed there guns are put in a unloaded loop until they get back up.

If you wish to fix this behavour yourself before they have updated there plugins heres the fixes.
Its just adding a IsWounded check.

RaidableBases:
Find "private object OnNpcTarget(NPCPlayerApex npc, BaseEntity entity)"
Change to:

        private object OnNpcTarget(NPCPlayerApex npc, BaseEntity entity)
        {
            return entity != null && npc != null && entity.IsNpc && npc.IsWounded() && RaidableBase.Has(npc.userID) ? true : (object)null;
        }


Botspawn:
Find "object OnNpcTarget(NPCPlayerApex npcPlayer, BaseEntity entity)"
Add above "bool attackerIsMine = NPCPlayers.ContainsKey(npcPlayer.userID);"

            if (npcPlayer.IsWounded() || npcPlayer.IsIncapacitated())
            {
                return true;
            }

 


bmgjet's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

4,287 files sold to 445 customers and $63,063 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.