Space Engineers

Space Engineers

Not enough ratings
Kill Feed
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
5.712 MB
21 Apr, 2019 @ 12:41pm
5 May, 2019 @ 8:27pm
12 Change Notes ( view )

Subscribe to download
Kill Feed

Description
Displays a chat message when a player destroys all enemy cockpits on a grid announcing the kill. Also exports kill information to a XML file in case the server owner wants to incorporate it into a website or database. For an example of this look at https://www.fountaincore.com/kill-board/

Methodology:
Whenever a cockpit gets damaged, the grid is remembered and a timer is set for a minute in the future.
If a cockpit on that grid gets damaged again, the timer is reset to a minute in the future.
After the time elapses, the grid is checked for functional cockpits.
If no functional cockpit is found, the kill is announced to the server.
If there is a functional cockpit, it is checked again four minutes later.

All friendly fire is ignored.
If a cockpit gets damaged by an enemy, and a friendly destroys the cockpit before the time has elapsed, the kill is rewarded to the last enemy to damage a cockpit.

Once a kill is rewarded, the victim is remembered for 10 minutes. Any further kills to that victim will be ignored in that timespan. This is to prevent double-counting a kill when a secondary cockpit breaks off from the main grid.
5 Comments
MysterD  [author] 1 Jun, 2019 @ 12:34am 
It works with AI. You can only get a kill counted against AI if it has a cockpit though
thorman123456789 31 May, 2019 @ 9:53pm 
question will this work with AI against you? like if you have a drone take out your cockpit in single player will it work still? or does it only work with players?
Iron0Fox 2 May, 2019 @ 5:09pm 
cant wait till its done
DeAnti 2 May, 2019 @ 11:19am 
nice
The Erubian Warlord 21 Apr, 2019 @ 4:51pm 
???