Kalitos
Posts
-
[Support] Pause endgame for map vote? -
Time for another progress update.It would be nice if the total of active players and the total of servers can be seen in the server list.
-
[Release] SND & TDM Mapvote menu on end gameSorex said in [Release] SND & TDM Mavote menu on end game:
setTimescale("timescale", 1)
I was testing, and with this I managed to ensure that the voting menu is not displayed until after the final death chamber. And for now it works by changing the value of thetimescale, like so:init(){ //Made by DoktorSAS /*------------------------------------------Dont't Tuch This Lines------------------------------------------*/ level waittill("game_ended"); if([[level._getteamscore]]( "axis" ) == level.scorelimit || [[level._getteamscore]]( "allies" ) == level.scorelimit /*|| getDvar("timelimit") <= 0 /*<-- add this for TDM*/){ if ( isDefined( level.finalkillcam_winner ) ) { level waittill( "final_killcam_done" ); } mapvote(); wait 0.02; thread OverflowFix(); thread updateVote(); foreach(player in level.players){ player thread selectmap(); } setDvar("timescale", 0.5); wait 20; //This is autoclose menu wiat, change it to have more or less time to vote setDvar("timescale", 1); foreach(player in level.players){ if(player.mapvotemenu){ player thread closemenumapmenu(); player.mapvotemenu = false; } } thread gameended(); } /*------------------------------------------Dont't Tuch This Lines------------------------------------------*/ }I added a check, if there is a final death chamber, that will wait until it develops and hence the vote runs.
I don't define the
timescalebefore the main condition, because at each end of the round thetimescalewould be executed. -
[Release] SND & TDM Mapvote menu on end gameSorex This is what I mean, I hope you see it.,
https://www.youtube.com/watch?v=ecKnfI19jfU -
ERROR 58339@PainExist use
resetStatson the console -
[Support] Mono Syntax ErrorFarzad I only asked you to put your code back to have a clearer idea of your problem. since you have already made modifications to the original code that you put at the beginning of the topic.
-
[Support] Mono Syntax ErrorFarzad I begin to believe that we are playing guessing games.
Paste your current code with the modifications you say you have made. -
[Support] Mono Syntax ErrorFarzad It is the same error, in all the lines that are decimal numbers change "," by "."
-
[Support] Mono Syntax ErrorFarzad Ok, Ok, I was wrong. If they are decimal numbers you should use a "." instead of ","
-
[Support] Mono Syntax ErrorFarzad said in [Support] Mono Syntax Error:
titlesize = 2,5;Try like this:
Edited::
titlesize = 2.5; -
[Release] SND & TDM Mapvote menu on end gameSorex There is the problem. The killcam does not allow players to vote.
-
[Release] SND & TDM Mapvote menu on end gameSorex I mean, the voting menu is hidden when the killcam comes out.
-
[Release] SND & TDM Mapvote menu on end gameSorex Additionally, did you try the finalkillcam? This overlaps the voting menu.
-
[Release] SND & TDM Mapvote menu on end gameSorex I downloaded your code, compiled it without making any changes, and also ended the game winning the game as you suggested, and still the map image error remains.
https://gyazo.com/b4ae5233ee2670cf7b2cb6c56e95e8a8
Unless these lines
level.maptovote["image"][index] = "loadscreen_mp_hijacked";refer to image files in the server directory. -
Serversdankdabs115 You can implement your own server, instructions here.
-
Modify the default classes on my Multiplayer Server. ! HelpCR7999x Welcome to reality, that variable does not work, or at least until now, what I have been able to achieve is to restrict weapons and accessories when the player chooses from his predefined classes, and as for the default classes, they can be changed also when the player chooses them, but change them to be displayed with other weapons in the class menu choice, you can not yet.
-
[Release] SND & TDM Mapvote menu on end gameSorex said in [Release] SND & TDM Mavote menu on end game:
Okey encontré 2 errores pero no tengo tus errores
Tried with a real game, where there is a final killcam?, Because when I try it on my server myself, killing myself, no final final killcam
Add::
This I get, at the end of the game when I commit suicide, without a final camera
https://gyazo.com/afc994655ea8d1a456f9a4bdf404e965 -
[Release] SND & TDM Mapvote menu on end gameSorex I was testing it, commenting on the problems:
- The images of the maps do not load
- When the game ends, the votemap begins but as soon as the final chamber of death begins it overlaps the voting menu and does not allow players to vote.
-
[Release] [Zombies] Configuration Mod for dedicated serversMiguelitoS2 edited::
It refers to this line
level.start_weapon == "c96_zm";I already checked well. the assignment of the value of the variable is wrong its syntax.
it changes in all the lines where it assigns the values, since some have that errorlevel.start_weapon = "c96_zm"; -
[Support] Replacing OutcomesFarzad Referring to the post of "[Release] Overwrite Default Class (GSC)" where it declares the following:
init() { level thread onPlayerConnect(); game["strings"]["change_class"] = undefined; }I think, if what you need is to change the message it shows the player, if you declare it like this, it should work.
init() { level thread onPlayerConnect(); game[ "strings" ][ "round_win" ] = "Your message"; game[ "strings" ][ "victory" ] = "Your message"; }