Single Player Spawn Times

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Warm Pudgy

    #16
    Re: Single Player Spawn Times

    ok yar, it seems my MFT was corrupt
    fixed now though

    any ways heres some help with a few things in single player

    open up AIDefault.ai in the AI folder

    the key command to unlock the settings for single player is:
    aiSettings.overrideMenuSettings 1
    that will let you unlock commands to let you change how the game plays


    and you can add any of these lines you wish
    sv.soldierFriendlyFire 100
    sv.vehicleFriendlyFire 100
    sv.soldierSplashFriendlyFire 100
    sv.vehicleSplashFriendlyFire 100
    sv.ticketRatio 100

    these are the limit for how much you have to heal in % in order to get a point
    scoreManager.setHealScoreLimit 100
    scoreManager.setRepairScoreLimit 100
    scoreManager.setAmmoScoreLimit 100

    this is also the file that changes the ammount of bots in game, just follow the instructions in the file to do so

    btw, FFOLKES, i was wrong the hitting tilde and typing the command works

    as for that Sgt.CheM24 guy, if you look thru his other posts, this guy contributes nothing to the forum other than flaming/name calling/and generally other retarded 12 year old 1 sentance posts

    id say hes in due for a banning

    Comment

    • Magel

      #17
      Re: Single Player Spawn Times

      Originally posted by Sgt.CheM24
      I honestly think you are pretty sad if you only play singleplayer
      First of I dont only play single player, I do enjoy playing online. And even if I did only play single player the game is mine to enjoy how ever I want. Your comment added nothing to this thread and only aggervated other readers.

      iflabs]Quite simple.

      Go to your console window by pressing "~" on your keyboard.

      Now type each of these and hit enter.

      sv.spawntime 0
      sv.mandowntime 0

      There you go! Instant spawning!
      Thanks FFOLKES and iflabs, worked great. :)

      Comment

      • MG36CE Fan

        #18
        Re: Single Player Spawn Times

        you can edit a few files in the BF2 directory to change practically everything on SP.


        once I made instaspawning, with 64 bots, 6,000 tickets per team all on a 16 player SP Expert map.

        Comment

        • Second Gunman

          #19
          Re: Single Player Spawn Times

          Originally posted by Warm Pudgy
          and you can add any of these lines you wish
          sv.soldierFriendlyFire 100
          sv.vehicleFriendlyFire 100
          sv.soldierSplashFriendlyFire 100
          sv.vehicleSplashFriendlyFire 100
          sv.ticketRatio 100

          these are the limit for how much you have to heal in % in order to get a point
          scoreManager.setHealScoreLimit 100
          scoreManager.setRepairScoreLimit 100
          scoreManager.setAmmoScoreLimit 100

          this is also the file that changes the ammount of bots in game, just follow the instructions in the file to do so
          Questions:
          What do the soldierFriendlyFire, VehicleFriendlyFire, soldierSplashFriendlyFire, and vehicleSplashFriendlyFire do??
          Has anyone tried taking setBotSkill to a value higher than 1.0? I'll give that a try myself and see if it works, I'm just curious about that one.
          Is there a way to change the vehicle spawn times? Having no respawn time doesn't help if you have to wait 60 seconds for the chopper to respawn.....

          Comment

          • jdrou
            Member
            • Jul 2006
            • 1860

            #20
            Re: Single Player Spawn Times

            Originally posted by Second Gunman
            Has anyone tried taking setBotSkill to a value higher than 1.0? I'll give that a try myself and see if it works, I'm just curious about that one.
            Is there a way to change the vehicle spawn times? Having no respawn time doesn't help if you have to wait 60 seconds for the chopper to respawn.....
            AFAIK botSkill can't go higher than 1. I believe vehicle spawn times would need to be changed in the map files.

            Comment

            • FFOLKES

              #21
              Re: Single Player Spawn Times

              Correct. Vehicle spawn times can be changed by editing the gameplayobjects.con file.

              For example:

              bjectTemplate.create ObjectSpawner CPNAME_SK_64_gasstation_HeavyTank_0
              ObjectTemplate.activeSafe ObjectSpawner CPNAME_SK_64_gasstation_HeavyTank_0
              ObjectTemplate.modifiedByUser "kyron"
              ObjectTemplate.isNotSaveable 1
              ObjectTemplate.hasMobilePhysics 0
              ObjectTemplate.setObjectTemplate 1 RUTNK_T90
              ObjectTemplate.setObjectTemplate 2 USTNK_M1A2
              ObjectTemplate.minSpawnDelay 20
              ObjectTemplate.maxSpawnDelay 50

              Comment

              • Second Gunman

                #22
                Re: Single Player Spawn Times

                A couple of things, Ffolkes.......

                1. I found 107 gameplayobjects.con files, which one(s) should I edit?

                2. Exactly what did you change in the example you gave? Knowing absolutely nothing about the formating used in that file, it looks like you're: working on Karkand, the US uncap at the gas station, there are now 2 possible tanks that could spawn there (either M1A2 OR T90), and the tank can respawn anywhere between 20 and 50 seconds after it is destroyed. How close am I???

                Comment

                • FFOLKES

                  #23
                  Re: Single Player Spawn Times

                  I created a mod called Unlocks which is basically a copy of the BF2 mod with 64 player maps I downloaded or created. This is the file I edited.

                  C:\Program Files\EA GAMES\Battlefield 2\mods\Unlocks\Levels\Strike_at_Karkand\Server.zip \gamemodes\sp1\16\gameplayobjects.con

                  Here I changed the tank spawn to 3 seconds by changing the last two lines. If you want to edit a different vehicle and it doesn't have spawn delay lines then add them.

                  ObjectTemplate.create ObjectSpawner CPNAME_SK_64_gasstation_HeavyTank_0
                  ObjectTemplate.activeSafe ObjectSpawner CPNAME_SK_64_gasstation_HeavyTank_0
                  ObjectTemplate.modifiedByUser dgo
                  ObjectTemplate.isNotSaveable 1
                  ObjectTemplate.hasMobilePhysics 0
                  ObjectTemplate.setObjectTemplate 1 RUTNK_T90
                  ObjectTemplate.setObjectTemplate 2 USTNK_M1A2
                  ObjectTemplate.minSpawnDelay 3
                  ObjectTemplate.maxSpawnDelay 3

                  Here is a video that shows you the example above:

                  Comment

                  • Strecher

                    #24
                    Re: Single Player Spawn Times

                    Edit the ServerSettings.con file found here:

                    ...\My Documents\Battlefield 2\Profiles\Default\ServerSettings.con

                    Find sv.spawnTime 15

                    You can increase or decrease the number depending upon how long you want wait till spawn.

                    The make the ServerSettings.con read-only.
                    Originally borrowed from here.

                    Comment

                    Working...