Jump to content

Request for new ToS

Closed 1.8.4

Mike6FO
Mike6FO

Posted

Is there a way (or can it be added) to not drop their kits but only the loot tables we have defined?

Razor

Posted

Changed Status from Pending to Not a Bug

Razor

Posted

Changed Status from Not a Bug to Pending

Razor

Posted

You can use Alphaloot profiles for there dropped items when they die See config. or just have config drop normal rust items.

Razor

Posted

Changed Status from Pending to Closed

Mike6FO

Posted

I'll just remove all skins from their kits cause I still need them to drop their configured (in the plugin) loot profiles.

Razor

Posted

1 hour ago, Mike6FO said:

I'll just remove all skins from their kits cause I still need them to drop their configured (in the plugin) loot profiles.

 

Mike6FO

Posted

Not sure why the quote but no response.

I was looking for a way to keep their skins applied to their clothing, but not have them drop those skinned items in order to be compliant with the new ToS.

Currently, when they die, they drop their equipped gear (with skins) and their configured loot.  The loot isn't skinned, only their kits.  Was hoping for a new config option to not drop their equipped gear but only the configured loot.

Razor

Posted (edited)

15 minutes ago, Mike6FO said:

Not sure why the quote but no response.

I was looking for a way to keep their skins applied to their clothing, but not have them drop those skinned items in order to be compliant with the new ToS.

Currently, when they die, they drop their equipped gear (with skins) and their configured loot.  The loot isn't skinned, only their kits.  Was hoping for a new config option to not drop their equipped gear but only the configured loot.

Npc do not drop there kit so if there droping the kit then you have some other plugin making it do that

Edited by Razor
Mike6FO

Posted

Ok, I'll look at it tomorrow and see if I can figure out what is causing it.

Thank you.

Mike6FO

Posted

Think I found it.  BetterNPCNames.  Not sure why it was only affecting this and not other NPC plugins though.

Will get rid of it and bring skins back.

Thanks

Razor

Posted

9 minutes ago, Mike6FO said:

Think I found it.  BetterNPCNames.  Not sure why it was only affecting this and not other NPC plugins though.

Will get rid of it and bring skins back.

Thanks

i looked into that plugin looks like there doing more then renaming npc's and giving the npc there kits.

void OnEntityDeath(global::NPCPlayer npc, HitInfo info)
        {
            if (npc == null || info == null) return;
            npcname = npc.displayName.ToString();

            ItemContainer[] source = { npc.inventory.containerMain, npc.inventory.containerWear, npc.inventory.containerBelt };
            Inv npcInv = new Inv() { name = npc.displayName, };
            NpcContents.Add(npc.userID, npcInv);
            for (int i = 0; i < source.Length; i++)
            {
                foreach (var item in source[i].itemList)
                {
                    npcInv.inventory[i].Add(new NpcInventory
                    {
                        ID = item.info.itemid,
                        amount = item.amount,
                        skinID = item.skin,
                    });
                }
            }
        }

 

1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

131.6k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • 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.