Closed deathsythe47 closed 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.
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
Meh.
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
andMOD_CONC_ALT
useKILLED_GENERIC
("was killed by")....maybe should be "was obliterated by"MOD_CRUSH
usesKILLED_GENERIC
("was killed by")....maybe should be "was crushed by"