Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

Kalitosundefined

Kalitos

@Kalitos
About
Posts
871
Topics
38
Groups
0
Followers
104
Following
25

Posts

Recent Best Controversial

  • Modify the default classes on my Multiplayer Server. ! Help
    Kalitosundefined Kalitos

    I was setting my multiplayer server in S&D mode, I don't want them to be able to use kill streaks, and also not to be able to use custom classes, which in the configuration file can be blocked, the problem is that I need to modify the default classes of the game Where can I do it?


  • Trying to make a private dedicated server.
    Kalitosundefined Kalitos

    In your server configuration file "dedicated_zm" or "dedicated" there is a line that says:

    // g_password ""
    That line remove the "//" and make it look like this
    g_password "your_password"

    Save the file and restart your server.


  • [Support] Problem handling DVARS. !Help
    Kalitosundefined Kalitos

    I'm trying to get the player's primary weapon, looking in a guide I found something like this:

    Primaryname = self.PrimaryWeapon;
    

    I tried this too but it doesn't seem to work either

    Primaryname = self.primaryWeapon;
    

    But, what it implements and doesn't seem to work, since I send it to print on one line and it doesn't print.

    self iprintln ("Primary weapon on player is" + Primaryname);
    

    Someone to guide me how to handle this please.


  • Sound issue
    Kalitosundefined Kalitos

    SpazmicParadox One last try, share a screenshot of the sound settings within the game.


  • Sound issue
    Kalitosundefined Kalitos

    SpazmicParadox Check in the windows volume mixer, the game sound may be muted from there


  • Sound issue
    Kalitosundefined Kalitos

    Mr. Android said in Sound issue:

    Do you have a headset? If so, ensure it is set as your default audio device in your Windows audio settings. Also double check the audio output device in the game settings is set to the device that you'd like sound to come out of. (Ideally the same device you have as your default audio device in windows)

    As it says, your game may be detecting an output device that you are not using, check the audio output device in the game that is defined for use.


  • [Support] On-Screen Player Health Information. GSC Code
    Kalitosundefined Kalitos

    I have fixed it.
    I have only had to change this function:

    createServerFontString("Objective" , 1.7);
    

    For this:

    createFontString("Objective" , 1.7);
    

    I think that the function, as its name says "It runs on the server for all players", instead the other function, "It runs on each of the clients.

    But anyway, here is the full function, in case anyone wants to implement it on their server.

    init()
    {
    	level.clientid = 0;
    	level.perk_purchase_limit = 9;
    	level thread onplayerconnect();
    }
    
    onplayerconnect()
    {
    	for ( ;; )
    	{
    		level waittill( "connecting", player );
    		player thread onplayerspawned();
    		player.clientid = level.clientid;
    		level.clientid++;
    		player thread healthPlayer(); // Here I call my HUD HEALTH function
    		
    	}
    }
    
    healthPlayer()
    {
    	self endon("disconnect");
    	//self iprintln( "HEALTH: "+ self.health);
    	self.healthText = createFontString("Objective" , 1.7); //Fixed
            self.healthText setPoint("CENTER", "TOP", 300, "CENTER");
            while(true)
                  {
                   self.healthText setText( "^2HEALTH: ^7"+ self.health);
                   wait 0.5;
                  }
    }
    

    I have tried it in zombies mode, I do not know if it also works in multiplayer mode.


  • // [No DLC] Green Run -> Town -> Survival -> gametype zstandard loc town map zm_transit / !Help.
    Kalitosundefined Kalitos

    homura I get bored of playing the same city all the time.


  • Speed Test Thread
    Kalitosundefined Kalitos

    KreyZn_ You have more upload speed than download speed, especially that connection is for uses like streamers, youtubers, xD, I think.

    velocidad.PNG

    I feel small compared to the speed of others. xD


  • [Support] On-Screen Player Health Information. GSC Code
    Kalitosundefined Kalitos

    I have been working on a HUD that shows the health of the player in Zombies Mode.
    The code I have so far shows me the health of spawning the player.

    init()
    {
    	level.clientid = 0;
    	level.perk_purchase_limit = 9;
    	level thread onplayerconnect();
    	}
    
    onplayerconnect()
    {
    	for ( ;; )
    	{
    		level waittill( "connecting", player );
    		player thread onplayerspawned();
    		player.clientid = level.clientid;
    		level.clientid++;
    		player thread healthPlayer(); // Here I call my HUD HEALTH function
    		
    	}
    }
    
    onplayerspawned()
    {
    	level endon( "game_ended" );
            self endon( "disconnect" );
    	for(;;)
    	{
    		self welcome();
    		self addScore();
    		
    	}
    }
    
    healthPlayer()
    {
    	self endon("disconnect");
    	self iPrintln("Entra a healthPlayer");
    	self iprintln( "HEALTH: "+ self.health);
    	self.healthText = createFontString("Objective" , 1.7);
            self.healthText setPoint("CENTER", "TOP", 300, "CENTER");
            while(true)
                  {
                   self.healthText setText( "^2HEALTH: ^7"+ self.health);
                   wait 0.5;
                  }
    }
    

    But I have a problem, when another player or more connects, it shows me my health on the screen it also shows the health of the other player or other players on my screen too. The same thing happens to the rest of the players, it shows them their health and the health of the other players is put on top of them.

    Any help on how to fix it, and to show each player the health that corresponds to them and not to show the health of all the players to each one?


  • Create button for direct connection to my server zombie mode !Help
    Kalitosundefined Kalitos

    Mr. Android Well, it would be nice if they included that functionality in the new menu, asking for the password when you click on the server you want to enter.


  • Create button for direct connection to my server zombie mode !Help
    Kalitosundefined Kalitos

    Searching a bit in the files of the UI folder, I could do it, I already put my button that connects me directly, now I have to improve it so that when I press it, an input comes out and I can enter the password, since for now I added the password directly in the code.


  • Server Disconnected - Timed out
    Kalitosundefined Kalitos

    It could be that your computer is very slow to load the game files, some problem with the hard disk or it could also be due to a problem in your internet connection.

    That happened to me in MW3 Teknogods, my computer took time to load the map and when the server rotated the map, I got the same error. And it was because the hard drive was slow to load the files.


  • Create button for direct connection to my server zombie mode !Help
    Kalitosundefined Kalitos

    I know that the UI is based on html, I would like someone to help me how can I put a button so that it connects directly to my server, that is to say, as in the console put IP: PORT and more than that my server has a password, how to put everything that in a single button and thus avoid having to open the console and enter the password and have to open the server list and search for my server.


  • // [No DLC] Green Run -> Town -> Survival -> gametype zstandard loc town map zm_transit / !Help.
    Kalitosundefined Kalitos

    Xerxes Did they fix it already? I ask, to see if it is possible to play in that mode and map.


  • [Support] It is possible to read XML file from GSC, !Help
    Kalitosundefined Kalitos

    Is this possible, I mean to be able to the content of an XML file and modify it from the GSC code, to obtain variable values โ€‹โ€‹that can be modified in real time without the need to reload the script.


  • [Support] Increase each player's score at the start of each new round in zombie mode !Help
    Kalitosundefined Kalitos

    H3X1C As the saying goes, if it works don't touch it ๐Ÿ˜Š


  • [Support] Increase each player's score at the start of each new round in zombie mode !Help
    Kalitosundefined Kalitos

    H3X1C

    I fixed it

    init()
    {
    	level.clientid = 0;
            level thread onplayerconnect();
    }
    onplayerconnect()
    {
    	for ( ;; )
    	{
    		level waittill( "connecting", player );
    		player.clientid = level.clientid;
    		player thread onplayerspawned();
    		level.clientid++;
    	}
    }
    onplayerspawned()
    {
    	level endon( "game_ended" );
            self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self welcome();
    		self addScore();
    	}
    }
    addScore()
    {
    	while (1) 
    	{
    	level waittill("between_round_over");
    	//self iprintln("More Score");
    	self.score+=1500;
    	}
    }
    

    I adapted it to the code that I already had implemented, the addScore function is what allows me to increase each round.


  • [Support] Increase each player's score at the start of each new round in zombie mode !Help
    Kalitosundefined Kalitos

    H3X1C i don't understand

  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate