I have activated the highscores on "my" server but I think the time it shows when map ends is too short.
I have tried to check the "spf_sv_highscore.func" for possibility to change the time for it but I cant find anything (at least not anything that I understand) that can be changed.
Can I fix this in any way?
How to change time for highscores
Posts: 13
Joined: 20 Nov 2013, 18:03
Joined: 20 Nov 2013, 18:03
Location: Sandviken
Posts: 595
Joined: 19 Dec 2011, 21:35
Joined: 19 Dec 2011, 21:35
Re: How to change time for highscores
_sp_sv_intermission_end
Maximum number of seconds to wait before the intermission ends. A player can end the intermission sooner by pressing the fire button.
Values:
0
Do not end intermission (default)
>0
End intermission after this amount of seconds.
Source -: http://sof1.megalag.org/sofplus/downloa ... ission_end" onclick="window.open(this.href);return false;
Maximum number of seconds to wait before the intermission ends. A player can end the intermission sooner by pressing the fire button.
Values:
0
Do not end intermission (default)
>0
End intermission after this amount of seconds.
Source -: http://sof1.megalag.org/sofplus/downloa ... ission_end" onclick="window.open(this.href);return false;
Posts: 13
Joined: 20 Nov 2013, 18:03
Joined: 20 Nov 2013, 18:03
Location: Sandviken
Re: How to change time for highscores
Is it really the intermission time I shall edit?
I mean....the scoreboard is visible for a way long time after match is over.
BUT....I can only get a quick flick of the highscores on the map after match is over.
Or else I have to go to console to check afterwards...
I mean....the scoreboard is visible for a way long time after match is over.
BUT....I can only get a quick flick of the highscores on the map after match is over.
Or else I have to go to console to check afterwards...
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: How to change time for highscores
// ---------------------------------------------------------------------------
// Highscore accounting
//
// To request a list of the 20 best players:
// .best
// ---------------------------------------------------------------------------
// !!! Don't forget to change the spf_sv_highscore_config function !!!
////sp_sc_func_load_file sofplus/spf_sv_highscore.func
////sp_sc_func_exec spf_sv_highscore_init
inside spf_sv_highscore.func file...
//
// Configuration
//
function spf_sv_highscore_config()
{
// Print highscore when someone enters the server
// 0: No
// >0: Wait this many ms before printing
set _spf_sv_highscore_print_start 0
// Print highscore when the map ends
// 0: No
// >0: Wait this many ms before printing
set _spf_sv_highscore_print_end 0
}
the value of _spf_sv_highscore_print_end should be small i guess, if you want it to be seen quickly?
So perhaps try, _spf_sv_highscore_print_end 50
50 milliseconds, then it will appear, or even smaller if you are more adventurous
The actual duration of the shown message, don't know of anything for that. If you really interested in highscores, try to make your own, its actually possible to edit the scoreboard using sofplus scripts and modified string package file on your server
edit: highscore printing is just a string print request done server side INSIDE a sofpluis script... so its an easy fix, call the line again if you want it printed again, or print it in a different method instead of being at top of screen , print it so its in middle of screen etc...
//
// Print highscore to one client (top 12)
//
function spf_sv_highscore_print_client( ~par_slot )
{
sp_sv_print_sp_client #~par_slot 13 #_hs1 #_hs5 #_hs9 #_hs2 #_hs6 #_hs10 #_hs3 #_hs7 #_hs11 #_hs4 #_hs8 #_hs12
}
// Highscore accounting
//
// To request a list of the 20 best players:
// .best
// ---------------------------------------------------------------------------
// !!! Don't forget to change the spf_sv_highscore_config function !!!
////sp_sc_func_load_file sofplus/spf_sv_highscore.func
////sp_sc_func_exec spf_sv_highscore_init
inside spf_sv_highscore.func file...
//
// Configuration
//
function spf_sv_highscore_config()
{
// Print highscore when someone enters the server
// 0: No
// >0: Wait this many ms before printing
set _spf_sv_highscore_print_start 0
// Print highscore when the map ends
// 0: No
// >0: Wait this many ms before printing
set _spf_sv_highscore_print_end 0
}
the value of _spf_sv_highscore_print_end should be small i guess, if you want it to be seen quickly?
So perhaps try, _spf_sv_highscore_print_end 50
50 milliseconds, then it will appear, or even smaller if you are more adventurous
The actual duration of the shown message, don't know of anything for that. If you really interested in highscores, try to make your own, its actually possible to edit the scoreboard using sofplus scripts and modified string package file on your server
edit: highscore printing is just a string print request done server side INSIDE a sofpluis script... so its an easy fix, call the line again if you want it printed again, or print it in a different method instead of being at top of screen , print it so its in middle of screen etc...
//
// Print highscore to one client (top 12)
//
function spf_sv_highscore_print_client( ~par_slot )
{
sp_sv_print_sp_client #~par_slot 13 #_hs1 #_hs5 #_hs9 #_hs2 #_hs6 #_hs10 #_hs3 #_hs7 #_hs11 #_hs4 #_hs8 #_hs12
}
Posts: 113
Joined: 25 Jun 2012, 21:52
Joined: 25 Jun 2012, 21:52
Re: How to change time for highscores
The duration can't be changed on the server. Clients can set the duration with the con_notifytime cvar.
The SoFplus highscore script doesn't print to the center of the screen, because SoF uses a variable width font for that, so the text can't be alligned correctly. The SoFplus client replaces the variable width fonts by fixed width fonts, but most players don't have the SoFplus client installed and some players don't like the 'improved' fonts so they uninstall them.
The SoFplus highscore script doesn't print to the center of the screen, because SoF uses a variable width font for that, so the text can't be alligned correctly. The SoFplus client replaces the variable width fonts by fixed width fonts, but most players don't have the SoFplus client installed and some players don't like the 'improved' fonts so they uninstall them.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Who is online
Users browsing this forum: No registered users and 0 guests