deathsythe47 / base_entranced

base_entranced : Siege server mod for Jedi Knight: Jedi Academy
GNU General Public License v2.0
8 stars 1 forks source link

More precise kill messages #56

Closed deathsythe47 closed 8 years ago

deathsythe47 commented 8 years ago

Not sure if this is possible serverside.

Some methods of death use the same messages, which is dumb. Would be nice if we had more. (see cg_event.c)

MOD_CONC and MOD_CONC_ALT use KILLED_GENERIC ("was killed by")....maybe should be "was obliterated by"

MOD_CRUSH uses KILLED_GENERIC ("was killed by")....maybe should be "was crushed by"

deathsythe47 commented 8 years ago

I managed to get this working to a degree. I also added in midair and height checks to print special messages for airshots ("Player1 was rocket-aired by Player2"). Basically it involved using trap_SendServerCommand to simulate the obituary message and the "You killed Player2" message. However, you cannot properly simulate the death message for the victim ("Killed by Player2"), so I'm going to leave it out.

deathsythe47 commented 8 years ago

Might be able to have limited functionality for this. "Player1 maxed himself"

Just need to make sure it wouldn't conflict with g_fixPitKills or g_fixGripKills

deathsythe47 commented 8 years ago

Meh.