0 of 0

File information

Last updated

Original upload

Created by

Cyan49

Uploaded by

cyan49

Virus scan

Safe to use

About this mod

A simple and effective mod that uses the notification system to display "Someone_Kill_Someone + Cause". Spell Perk Item Distributor is required.

Requirements
Permissions and credits
Changelogs
Requirements: Spell Perk Item Distributor

[Description]
This mod has holotape, not MCM. Holotapes are automatically added to your inventory, or you can use a chemistry station and craft it in the "utilities" (or "settings"?) category.
If you want to uninstall a mod, I recommend doing it in an interior that has no NPCs loaded, just in case.


1: [Sender] - Who can trigger Kill Feed

None(Disabled) or Everyone or Player Only or Player And Companion or Companion Only or Everyone Except Player

2: [Type] - Change notification type
"Someone_Kill_Someone(+ Weapon)" or "Killed_Someone_Cause_Someone('s Weapon)"
;If Target is Robot/Synth/Vertibird/Turret, "Kill/Killed/Died"  = "Destroy/Destroyed/Destroyed".
;"Died/Destroyed" would be triggered by rare cases where killer=None, like a super mutant suicide or (probably) a vertibird crash.


3: [Weapon] - Show weapon base name (not full name)
Enable or Disable
Version 1.2: Add "Pistol" or "Rifle" strings for some weapons with short base names. ("10mm/.44/Pipe/Laser/Institute/Plasma/Syringer")

Version 1.1:
 
Spoiler:  
Show
 I'm having trouble getting the keywords for the weapon module, so for now I'll display them as 10mm/.44 +"Pistol", and Pipe/Laser/Plasma/Syringer +"Gun".

Version 1.0: 
Spoiler:  
Show
 ;In version 1.0, the following weapon names are generated based on internal data: "Pipe, 10mm, .44, Laser, Plasma, Syringer". I'll try to make this better in the next version. Like "Someone_Kill_Someone(+ Pipe)(+ Pistol/Rifle)" 


[Known Issues]
For unknown reasons, "Destroyed" is lowercase for the "Killed_Someone" type.

[Q&A]
Q: How does this work?
A: OnHit Event that is registered for all NPCs to track the latest "attacker's name" and "weapon name" will be unregistered once fired and re-registered after 1 second. OnHit Event cannot be spammed because it is filtered on weapon keywords, so hits from other factors are ignored. OnDying Event fires when someone is killed, fills in "victim's name", "cause (attacker's name/weapon name)", generates strings, and displays a notification. I've included the script source in the uploaded file.
Q: Is it possible to view the notification log? Is it possible to change the number of seconds for notifications? Is it possible to change the number of notifications displayed?
A: No. But I think there may be a UI mod that allows these things.
Q: Is it possible to change the notification text color?
A: As far as I know it's not possible.
  翻译: