Announcement

Collapse
No announcement yet.

About bots

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    About bots

    Yes. I' a noob and even worst I'm french, and i just rent a server their things i understand and some I'm lost

    1: where does i add bot in the ini file i dint find the line?

    2: how do i build a maplist of costom maps?

    #2
    First off, do you have the access to a GUI? I guess not, so...

    Bots aren't added in the INI. They are added on server startup. To start the server, you have to have a .BAT file or similar. In there, you will see something like:

    Code:
    @echo off
    :10
    ucc server %1 %2 %3 %4 %5 %6 %7 %8 %9 -log=server.log
    copy server.log servercrash.log
    goto 10
    You need to change this to something like this:

    Code:
    @echo off
    :10
    ucc server DM-Antalus?bAutoNumBots=True -log=server.log
    copy server.log servercrash.log
    goto 10
    And the maplist is in your UT2004.ini file, under these headings:
    Code:
    [Default * MaplistRecord]
    Where * is the name of the game type, like DM, CTF, AS etc.

    Comment


      #3
      Mine look like thais:

      mlds file:

      cd $GAME_HOME
      echo "mlds.sh: Game loop initializing..."

      while true
      do
      echo "mlds.sh: To exit loop hit CTRL-C"
      sleep 5
      echo "mlds.sh: Starting Server"
      cd System;./ucc-bin server DM-Curse4?game=XGame.xDeathMatch ?MaxPlayers=$SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir;cd ..
      echo "mlds.sh: Server Exited"
      echo "mlds.sh: To exit loop hit CTRL-C"
      echo "mlds.sh: Sleeping for 15 seconds"
      sleep 15
      echo "mlds.sh: Loop Restarting now"
      done


      So if i follow you i need to add the bots command it should look like this

      cd $GAME_HOME
      echo "mlds.sh: Game loop initializing..."


      while true
      do
      echo "mlds.sh: To exit loop hit CTRL-C"
      sleep 5
      echo "mlds.sh: Starting Server"
      cd System;./ucc-bin server DM-Curse4 ?bAutoNumBots=True game=XGame.xDeathMatch ?MaxPlayers=10SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir;cd ..
      echo "mlds.sh: Server Exited"
      echo "mlds.sh: To exit loop hit CTRL-C"
      echo "mlds.sh: Sleeping for 15 seconds"
      sleep 15
      echo "mlds.sh: Loop Restarting now"
      done


      It would be kind if you tell me if i undersatnd you?

      Comment


        #4
        Yes, almost like that. You missed a few points though:
        Code:
        cd $GAME_HOME
        echo "mlds.sh: Game loop initializing..."
        
        while true
        do
        echo "mlds.sh: To exit loop hit CTRL-C"
        sleep 5
        echo "mlds.sh: Starting Server"
        cd System;./ucc-bin server DM-Curse4?bAutoNumBots=True;game=XGame.xDeathMatch;MaxPlayers=$SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir;cd ..
        echo "mlds.sh: Server Exited"
        echo "mlds.sh: To exit loop hit CTRL-C"
        echo "mlds.sh: Sleeping for 15 seconds"
        sleep 15
        echo "mlds.sh: Loop Restarting now"
        done

        Comment


          #5
          Great Thanks, if i want to add mutators, if i understand will go on:

          cd system;./ ---------------line separated by a coma


          cd System;./ucc-bin server DM-Curse4?bAutoNumBots=True;ProSniperRifle_MOD_TDM_X: game=XGame.xDeathMatch;MaxPlayers=$SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir;cd ..



          So if i want that sniper mutator that how it should appears, i modify the weapon files.


          and all the echo lines stay the same

          What a GUI by the way ?

          -------------

          Please a bout maps:

          I upload them with all their suppots
          so i would like to know where do i list them ?

          and i try that and it din't work...

          [[Default DM MaplistRecord]]
          DefaultTitle=Default DM
          DefaultGameType=XGame.xDeathMatch
          DefaultActive=0

          [DefaultTDM MaplistRecord]
          DefaultTitle=Default TDM
          DefaultGameType=XGame.xTeamGame
          DefaultActive=1
          DefaultMaps=DM-MPC-CHRISTMAS-TOWN
          DefaultMaps=DM-Wicked_Complex
          DefaultMaps=DM-MPC-FIRE-STATION
          DefaultMaps=DM-ZahltagSniper
          DefaultMaps=DM-Colonial.ut2
          DefaultMaps=DM-MountainTownPT.ut2
          DefaultMaps=DM-MPC-BARROOM
          DefaultMaps=DM-SniperCamp(Day).ut2
          DefaultMaps=DM-DesertIsle.ut2
          DefaultMaps=DM-UrbanBayRev1
          DefaultMaps=DM-MPC-BASEMENT
          DefaultMaps=DM-MPC-SNIPER-VILLAGE.ut2
          DefaultMaps=DM-MPC-GREATROOM

          --------------------------------------

          we are a clan of snipers and i want them to play UT 2004 to
          and i want to build a snipers server and this programing is very different
          Thanks you very much for your help and the time you spend doing it

          Comment


            #6
            GUI = graphical user interface

            Comment


              #7
              Again not quite that. If you want to add mutators, you have to tell the game that the actor is a mutator:

              cd System;./ucc-bin server DM-Curse4?bAutoNumBots=True;mutator=ProSniperRifle_MO D_TDM_X;game=XGame.xDeathMatch;MaxPlayers=$SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir; cd ..

              Comment


                #8
                I think i got it now...

                Ok i think i got it not. so to add a mutator i have to add:

                mutator=(name of the mutator);mutator=(name of the mutator);mutator=(name of the mutator);

                so with the mutators on it should look like that:

                cd System;./ucc-bin server DM-Curse4?bAutoNumBots=True;mutator=ProSniperRifle_MO D_TDM_X;mutator=edo_chute1;mutator=BloodLossLite;g ame=XGame.xDeathMatch;MaxPlayers=$SLOTS ini=ut2004.ini multihome=${GAME_IP} port=${GAME_PORT} -nohomedir; cd ..

                So that would make the game with the snipers gun (has i modify to) then the parachute and the blood trail.

                Comment


                  #9
                  cd System;./ucc-bin server DM-Curse4
                  should i let that map on if i use a modify map list?

                  Comment


                    #10
                    Yea, just like that, just make sure there are no spaces.
                    Yes, you should change the map name if you use another map. This map will be your "fallback" map - the server will restart to it if it crashes for some reason.

                    Comment


                      #11
                      Thanks you very much my friend, i hope i'll see you on the server one day.

                      Comment


                        #12
                        No problem, glad to help

                        Comment


                          #13
                          Faster way to add bots to your server

                          Download your ut2004 ini file and at the bottom and just before the last paragraph you gone add this:


                          [UnrealGame.UnrealMPGameInfo]
                          BotMode=5
                          MinPlayers=4
                          EndTimeDelay=4.000000
                          BotRatio=1.000000

                          This will add 4 bots

                          Then on the server i found them realy easy
                          And i was looking to increse the game play
                          So i found that by adding this to the server:

                          In your ut2004 ini file
                          in the section : [Engine.GameInfo]
                          GameDifficulty=3.000000

                          So the bots will act like they do in the solo game
                          GameDifficulty=1.000000: Easy, GameDifficulty=7.000000: Professional.

                          That the easyest way i found that do the job well

                          Comment

                          Working...
                          X