Kill Feed

Displays a basic Kill Feed on screen!

Total Downloads: 17,882 - First Release: Nov 9, 2015 - Last Update: Oct 27, 2017

5/5, 36 likes
  1. Needs updated for the MP5
     
  2. Inside KillFeed.JSON add the line:
    Code:
    "smg.mp5": "c/c0/MP5A4_icon.png",
    
    under "smg.2": "9/95/Custom_SMG_icon.png",

    Save and oxide.reload KillFeed in RCON or console
     
    Last edited by a moderator: Oct 13, 2016
  3. Update for mp5 (+Suicide Icon)
    Config File must be deleted to make it work
     

    Attached Files:

    Last edited by a moderator: Oct 14, 2016
  4. @Diesel 42o, would you minding explaining how you found that information for future reference?

    Thanks
     
  5. Yep sure thing. I went here:

    Oxide API for Rust

    and searched for MP5 :D

    Then I went to:

    MP5A4

    to get the image URL, and shortened it to fit the plugin URL
     
  6. Meh... Was expecting information on extracting the bundles or something. Pfft, I'm no longer impressed! :p lol
     
  7. If you navigate to the following folder inside your rust folder (C:\Program Files (x86)\Steam\SteamApps\common\rust\Bundles\items) you can scroll down until you find "smg.mp5.png"/"smg.mp5.txt". The files are named after the item's shortname. If you open the "smg.mp5.txt" you'll get additional information. This is the "smg.mp5.txt":
    Code:
    This file is provided for informational purposes only. Changes aren't reflected in game.ItemDefinition
    {
        "itemid": -2094080303,
        "shortname": "smg.mp5",
        "displayName": {
            "token": "smg.mp5",
            "english": "MP5A4"
        },
        "displayDescription": {
            "token": "smg.mp5.desc",
            "english": "A medium damage machine gun."
        },
        "iconSprite": {
            "instanceID": 65342
        },
        "category": 0,
        "selectionPanel": 2,
        "maxDraggable": 0,
        "itemType": 1,
        "amountType": 0,
        "occupySlots": 0,
        "stackable": 1,
        "rarity": 3,
        "inventorySelectSound": {
            "instanceID": 104328
        },
        "inventoryGrabSound": {
            "instanceID": 104328
        },
        "inventoryDropSound": {
            "instanceID": 113352
        },
        "condition": {
            "enabled": true,
            "max": 100.0,
            "repairable": true,
            "foundCondition": {
                "fractionMin": 0.10000000149011612,
                "fractionMax": 0.20000000298023225
            }
        },
        "physImpactSoft": {
            "guid": "50b89622e896547e09d9d05f23d719cf"
        },
        "physImpactMed": {
            "guid": "0c8519e5c42b745b69518b0ba5ddf963"
        },
        "physImpactHard": {
            "guid": "d2f26ed90aa904715a2af041e014bc5a"
        },
        "hidden": false,
        "flags": 0,
        "steamItem": {
            "instanceID": 0
        },
        "Parent": {
            "instanceID": 0
        },
        "worldModelPrefab": {
            "guid": "53134367db996a5469a85ab35c4468d3"
        },
        "panel": {
            "instanceID": 0
        }
    }ItemModEntity
    {
        "entityPrefab": {
            "guid": "13ccdd91940ab2a499411b4c3d8cb74a"
        },
        "defaultBone": ""
    }ItemBlueprint
    {
        "ingredients": [
            {
                "itemDef": {
                    "instanceID": 326384
                },
                "amount": 35.0
            }
        ],
        "userCraftable": true,
        "isResearchable": true,
        "rarity": 0,
        "NeedsSteamItem": false,
        "blueprintStackSize": -1,
        "time": 180.0,
        "amountToCreate": 1,
        "UnlockLevel": 25,
        "UnlockPrice": 39
    }ItemModContainer
    {
        "capacity": 3,
        "maxStackSize": 0,
        "containerFlags": 96,
        "onlyAllowedContents": 1,
        "onlyAllowedItemType": {
            "instanceID": 0
        },
        "availableSlots": [
            2,
            4,
            8,
            16
        ],
        "openInDeployed": false,
        "openInInventory": true,
        "defaultContents": []
    }
    That's how you can get information about new items in the future. :)
    [DOUBLEPOST=1476439037][/DOUBLEPOST]
    There is no official suicide icon, so that's why I put the Missing_icon.png in for suicides. I kind of want to keep it like that because it doesn't feel right for me to choose an icon and force it on the plugin user...
     
  8. Tuntenfisch updated Kill Feed with a new update entry:

    1.14.24

     
  9. sure :) you're a great developer, i learn a lot from RemoveAAA and KillFeed, thats why i share my thoughts from time to time.
    i hope we will see more plugins from you in future :)
     
  10. @Tuntenfisch How do I change the background of the message to transparent or semi-transparent like the levels etc.

    Thanks!
     
  11. It actually should be transparent by default, I've had people report the non-transparent background before but I sadly can't reproduce it and have no clue what to do about it since I don't know what to change...
     
  12. Here you go... that white is killing me ;)

    upload_2016-10-14_13-32-43.png
     
  13. Code:
    (00:28:40) | [Oxide] 21:28 [Error] Failed to call hook 'CanBeWounded' on plugin 'KillFeed v1.14.24' (NullReferenceException: Object reference not set to an instance of an object)
    (00:28:40) | [Oxide] 21:28 [Debug] at Oxide.Plugins.KillFeed+EntryData.GetHitEntity (.BaseCombatEntity entity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.KillFeed+EntryData..ctor (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.KillFeed.CanBeWounded (.BasePlayer player, .HitInfo info) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.KillFeed.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 16, 2016
  14. Are you on the latest oxide version? When did it happen?
     
  15. yes im on the latest version , it happened yesterday after restarting my server
     
  16. Thank god for white background fix!!!! :)
     
    Last edited by a moderator: Oct 20, 2016
  17. Tuntenfisch updated Kill Feed with a new update entry:

    1.14.25


    [DOUBLEPOST=1476900471][/DOUBLEPOST]
    Was unable to reproduce the error so far, are you still having this issue?
     
  18. Tuntenfisch updated Kill Feed with a new update entry:

    1.14.26