Custom server announcements
Posted: Mon Jul 30, 2018 9:27 pm
Hi all!
As some of you might have noticed, when you play on the aX server hosted by s[sk], you get to see custom server announcements every now and then while in the server such as "Player X got first blood" and other even cooler announcements like "Player Y zooked player X from 150 meters". The announcements show up on the top left corner of the screen. As far as I know this is the only server that does this.
I am wondering how this was accomplished? I think someone once mentioned that the server host uses Python scripts to make those custom announcements, but I am not sure. Could anyone confirm this?
I am asking about the server announcements because for the last 2 or 3 years I have tried to make a Deathmatch game mode, but I am now stuck with how kill announcements show up. Editing the lexiconAll.dat and the InGame meme file with the Menu Editor can only get me to a limited "So and so fragged X" (this is on one line of text) and below the first line, "X has died". I am not able to at least align both announcements on the same line (I think this is a hardcoded setting) while editing the InGame menu file with the Menu Editor.
I was thinking the best way to get what I want for my Deathmatch mode would be to edit the Python scripts that s[sk] uses on his server so that they show custom frag announcements every time a player is killed, such as "Player X fragged player Y" or even "Player Y snipped Player X" (if a sniper rifle was used to kill the player), on top of the regular announcements this system uses, such as the "First Blood" warning. I would then find a way to totally remove the kill announcements either via the Menu Editor or by editing the lexiconAll.dat file, so that only the custom server announcements show up on the top left corner of the screen.
As some of you might have noticed, when you play on the aX server hosted by s[sk], you get to see custom server announcements every now and then while in the server such as "Player X got first blood" and other even cooler announcements like "Player Y zooked player X from 150 meters". The announcements show up on the top left corner of the screen. As far as I know this is the only server that does this.
I am wondering how this was accomplished? I think someone once mentioned that the server host uses Python scripts to make those custom announcements, but I am not sure. Could anyone confirm this?
I am asking about the server announcements because for the last 2 or 3 years I have tried to make a Deathmatch game mode, but I am now stuck with how kill announcements show up. Editing the lexiconAll.dat and the InGame meme file with the Menu Editor can only get me to a limited "So and so fragged X" (this is on one line of text) and below the first line, "X has died". I am not able to at least align both announcements on the same line (I think this is a hardcoded setting) while editing the InGame menu file with the Menu Editor.
I was thinking the best way to get what I want for my Deathmatch mode would be to edit the Python scripts that s[sk] uses on his server so that they show custom frag announcements every time a player is killed, such as "Player X fragged player Y" or even "Player Y snipped Player X" (if a sniper rifle was used to kill the player), on top of the regular announcements this system uses, such as the "First Blood" warning. I would then find a way to totally remove the kill announcements either via the Menu Editor or by editing the lexiconAll.dat file, so that only the custom server announcements show up on the top left corner of the screen.