Since the last game update Scientist deaths are not showing in chat but are showing in rcon console (as numbers), Everything else is working as usual,
Scientist deaths showing as numbersFixed
In response to pookins ():Since the last game update Scientist deaths are not showing in chat but are showing in rcon console...
I can comfirm that this is also showing up on my server:
7480514[3413459/7480514] was killed by Void[2967778/765***********23]where as other items that get killed show the following:Zombie[3476123/2453696] was killed by James blond 007[119641/765**********141] same for me
It does not work
Same here. Scavengers were showing up as a weird symbol.
I think the problem is that the scientist bots have been moved to the new AI system. I'm not sure it's compatible with the current plugin.
The update didnt fix it.
HTNPlayer AI is currently not supported by Death Notes. I am using a slightly modified version that shows the ShortPrefabName for HTNPlayer which can then be modified in DeathNotes.cfg. As it should be ok to share snippets, here you go:
///////////////////////////////////////////////////////////////////// DeathNotes.cs
if (entity is BaseTrap)
return CombatEntityType.Trap;
if (entity is Barricade)
return CombatEntityType.Barricade;
if (entity is HTNPlayer)
return CombatEntityType.HTNPlayer;
return CombatEntityType.Other;
}
///////////////////////////////////////////////////////////////////// DeathNotes.cs
case CombatEntityType.Scientist:
case CombatEntityType.Murderer:
var name = entity.ToPlayer()?.displayName;
return
string.IsNullOrEmpty(name) || name == entity.ToPlayer()?.userID.ToString()
? combatEntityType.ToString()
: name;
case CombatEntityType.HTNPlayer:
return UppercaseFirst(entity.ShortPrefabName.ToString());
case CombatEntityType.Bradley:
return "Bradley APC";
///////////////////////////////////////////////////////////////////// DeathNotes.cs
Fire = 11,
Lock = 12,
ScientistSentry = 13,
HTNPlayer = 14,
Other = 15,
None = 16
}
///////////////////////////////////////////////////////////////////// DeathNotes.cs
private static string UppercaseFirst(string text)
{
if (string.IsNullOrEmpty(text))
return string.Empty;
var a = text.ToCharArray();
a[0] = char.ToUpper(a[0]);
return new string(a);
}
///////////////////////////////////////////////////////////////////// DeathNotes.cfg
{
"KillerType": "Player",
"VictimType": "HTNPlayer",
"DamageType": "*",
"Messages": [
"Killmessage"
]
},
{
"KillerType": "HTNPlayer",
"VictimType": "Player",
"DamageType": "*",
"Messages": [
"Killmessage"
]
}, Actually it is not permitted to show "changed" code (as far as I know) and i never use altered code for that reason.
Aproved! thx
Got it working but name is messed up, scientist_junkpile_pistol. Did I do something wrong?
Why hasnt this plugin been updated with these changes?
Locked automatically
- 1
- 2