Results 1 to 8 of 8

Thread: Several Mods

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    First mod is the adaptation I made for MeatBot, so it can be used in dedicated servers. I promised to post it, and here it is.
    I wrote most of the functions except for the most important one, but I'm giving credits to the people who helped me here:
    Dobriy from MODSonline;
    kung foo man;
    IzNoGod.

    It has been in BETA for a week in my server.
    I have also included 5 waypoint files that I made for custom maps (writting the file names to make it possible to find it through search engines):

    gob_icestation_tdm.wp
    mp_dustville_tdm.wp
    mp_gob_rats_tdm.wp
    mp_gob_subzero_tdm.wp
    mp_vovel_tdm.wp


    Notes:
    The list of necessary configurations is in bot_config.cfg;
    PB must be disabled.


    Notes on how it works:
    Once a player (not a bot) joins the game, the time limit set starts to count down;
    Once the last player leaves the game, the time is set to infinite.
    There is no score limit - the match cannot end if there are no players online to change the map;
    When the match ends, there is no score table, only +3 seconds after the winning team announcement. Why? Because if there is only 1 player left and he decides to quit the game while the score table is being shown, there will be no one to execute the command to change the map, and players who join after this time will not execute the command. This used to crash my server very very often (5~10 times a day).


    Possible changes (both untested):
    1) You can set a score limit if you want. You will need to add some code to the loop that checks for players to set the time limit. Keep setting the score of the teams and bots to zero while there are no players connected;
    2) You can set the score table to show up at the end of the match. Put the change map commands in a loop, so, it will execute the change map commands once a player joins the server. Not sure if it would work though, maybe the players would never stop reconnecting. Not sure, as I said, it's untested.


    [DOWNLOAD]
    Last edited by guiismiti; 3rd January 2014 at 01:34.
    set logfile 2

  2. The Following 3 Users Say Thank You to guiismiti For This Useful Post:

    agribilos (16th January 2021),Jeta1 (11th February 2015),Ni3ls (3rd January 2014)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •