Support for new scientistsSuggestion
5d44a12e91c62.png Crushed

Greetings.
As i saw some people asking for it , but with no definite answer - Here's the answer how to display the "new" scientist npcs if they get killed

Just replace this 

// Ignore deaths of other entities
            if (data.KillerEntityType == CombatEntityType.Other || data.VictimEntityType == CombatEntityType.Other)
		return;

With this - 

// Ignore deaths of other entities
            if (data.KillerEntityType == CombatEntityType.Other || data.VictimEntityType == CombatEntityType.Other)
			{
				var enemy = data.VictimEntity?.GetType().Name ?? "NULL";
				if(enemy != "ScientistNPC")
				{
					return;
				}
				
			}

That should do the trick

//  You MIGHT have to add the messages into the config after that.  the Victim type is "Other"

Man you are a lifesaver, been looking for this for ages.

Why it isn't in the plugin already makes no sense

Sorry for getting to this so late, but scarecrows are now implemented in Death Notes 6.3.3, separately from scientists.
5b5bc6885b278.png LaserHydra
Sorry for getting to this so late, but scarecrows are now implemented in Death Notes 6.3.3, separately from scientists.

Thanks!

@LaserHydra
Maybe its me, but I am not seeing anything popup for a death note if I manually Spawn a Scarecrow, wondering if its because I spawned one in manually?
5d35f1495da0a.jpg FastBurst
@LaserHydra
Maybe its me, but I am not seeing anything popup for a death note if I manually Spawn a Scarecrow, wondering if its because I spawned one in manually?

You will likely need to add new message blocks to your messages for the type "Scarecrow".

I've tried that but no luck, probably me doing something wrong. Is just adding this to config not enough?
      {
        "KillerType": "Scarecrow",
        "VictimType": "Player",
        "DamageType": "*",
        "Messages": [
          "A {killer} haunted down {victim}."
        ]
      },​

 

5b5bc6885b278.png LaserHydra

You will likely need to add new message blocks to your messages for the type "Scarecrow".

 

5e373eca13e50.jpg imkat98
I've tried that but no luck, probably me doing something wrong. Is just adding this to config not enough?
      {
        "KillerType": "Scarecrow",
        "VictimType": "Player",
        "DamageType": "*",
        "Messages": [
          "A {killer} haunted down {victim}."
        ]
      },​

 

Same thing I have that and still wasn't doing anything, @LaserHydra is there something else we are missing on this?
You might check if that is the last one of the list and eventually remove the comma. See my example:
      {
        "KillerType": "*",
        "VictimType": "Player",
        "DamageType": "Heat",
        "Messages": [
          "{victim} cannot stand the heat of the moment and gave up."
        ]
      },
      {
        "KillerType": "Player",
        "VictimType": "Player",
        "DamageType": "Bleeding",
        "Messages": [
          "{victim} spilled too much blood because of {killer}... Eeew! Gross!",
          "We only have few liters of blood in our body,{victim} and you spilled a little bit too much. So long!"
        ]
      }​
5cd0125f784cf.png JagsterWintermute
You might check if that is the last one of the list and eventually remove the comma. See my example:
      {
        "KillerType": "*",
        "VictimType": "Player",
        "DamageType": "Heat",
        "Messages": [
          "{victim} cannot stand the heat of the moment and gave up."
        ]
      },
      {
        "KillerType": "Player",
        "VictimType": "Player",
        "DamageType": "Bleeding",
        "Messages": [
          "{victim} spilled too much blood because of {killer}... Eeew! Gross!",
          "We only have few liters of blood in our body,{victim} and you spilled a little bit too much. So long!"
        ]
      }​

It's further up in the config and is already there just not seeing it for Scarecrows, everything else yes, just not scarecrows for some reason.

Did you test the scenario player kills scarecrow?

I tested that with the following config and it worked for me.

{
   "KillerType""Player",
   "VictimType""Scarecrow",
   "DamageType""*",
   "Messages": [
      "{killer} fought off a {victim}."
   ]
},

Yes that was in there already.

Scarecrow is not showing in massage for kills