Jump to content
  • 0
Sign in to follow this  
ImportBot

No Vehicle Spawn

Question

Originally Posted by xloneshadowx*:

 

So i made an infantry only server and i changed this vars.vehicleSpawnAllowed "false" but when i restart it the server it still says false but vehicles are in the game?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Originally Posted by Chilace*:

 

Post your game and server config "startup.txt".

Make sure you remove the "admin.password" variable from the config before posting.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites
  • 0

Originally Posted by xloneshadowx*:

 

Every time the server restarts it checks the box in procons to have vehicles.. think I figured it out do i have to put vars.preset INFANTRY?configs1.pngconfigs2.png


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites
  • 0

Originally Posted by Chilace*:

 

Some commands take effect immediately (can be changed at runtime).

Some commands take effect only after a round change.

Some commands must be put into Startup.txt to take effect at all (take effect only after server restart).

 

The game server will process the Startup.txt file during bootup.

Each line in that file will be executed as a remote administration command.

Anything after # sign to the end of line is considered a comment.

There is no need to quote the numeric and boolean argument types.

 

The vars.serverType and vars.preset commands is best placed at the top of Startup.txt.

 

vars.preset used to set the server preset: NORMAL, HARDCORE, INFANTRY, NOOB, CLASSIC or CUSTOM. You can also set the second argument to false. This will allow you to override any settings that will conflict with the preset.

So you need vars.preset INFANTRY false followed by vars.vehicleSpawnAllowed false

 

I advise you to familiarize yourself with the server documentation, which you can download here:

showthread....st-Server-Docs*

 

You can use this config as a template (uncomment the vars you need and change the values of others as you need):

Code:

vars.serverType RANKED
vars.preset NORMAL false
admin.password "My_pass"
punkBuster.activate
fairFight.activate
# vars.mpExperience ""
# vars.gamePassword ""
# vars.OutHighFrequency 60

vars.serverName "My best server"
vars.serverDescription "No rules"
vars.serverMessage "Welcome to our server"
reservedSlotsList.aggressiveJoin true
vars.commander false
vars.alwaysAllowSpectators true
vars.maxSpectators 2
vars.maxPlayers 66
vars.roundRestartPlayerCount 2
vars.idleBanRounds 0
vars.teamKillValueForKick 120
vars.teamKillValueIncrease 30
vars.teamKillValueDecreasePerSecond 2
vars.roundPlayersReadyBypassTimer 120  # 30-300
vars.roundPlayersReadyMinCount 1       # 0-33
vars.roundPlayersReadyPercent 33       # 0-100
vars.gunMasterWeaponsPreset 0          # 0-4

#    SERVER TYPE RELATED
vars.gameModeCounter 100        # 75-400 (Ranked) / 1-500  (Unranked)
vars.roundTimeLimit 300         # 50-300 (Ranked) / 0-900  (Unranked)
vars.vehicleSpawnDelay 100      # 25-400 (Ranked) / 1-300  (Unranked)
vars.roundLockdownCountdown 10  # 10-30  (Ranked) / 10-900 (Unranked)
vars.unlockMode "stats"         # all, common, none, stats (Unranked)

#    PRESET RELATED
vars.friendlyFire false
vars.idleTimeout 300            # 225-86400 (Ranked) / 0-86400 (Unranked)
vars.autoBalance true
vars.SkillBasedBalance true
vars.teamKillCountForKick 5     # 4-10 (Ranked) / 1-99 (Unranked)
vars.teamKillKickForBan 3       # 3-10 (Ranked) / 1-99 (Unranked)
vars.vehicleSpawnAllowed true
vars.regenerateHealth true
vars.onlySquadLeaderSpawn false
vars.minimap true
vars.hud true
vars.miniMapSpotting true
vars.3dSpotting true
vars.killCam true
vars.3pCam true
vars.nameTag true
vars.hitIndicatorsEnabled true
vars.playerRespawnTime 100      # 75-125 (Ranked) / 1-300 (Unranked)
vars.soldierHealth 100          # 60-125 (Ranked) / 1-300 (Unranked)
vars.bulletDamage 100           # 75-125 (Ranked) / 1-300 (Unranked)
vars.forceReloadWholeMags false
vars.roundStartPlayerCount 4    # 4-8    (Ranked) / 1-10  (Unranked)
vars.ticketBleedRate 100        # 75-125 (Ranked) / 1-300 (Unranked)
# vars.IsNoobOnlyJoin false     # NOOB Preset
# vars.isCompetitive false      # Obliteration competitive game mode

#      UNUSED VARS
# vars.roundWarmupTimeout 600
# vars.crossHair true

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites
  • 0

Originally Posted by xloneshadowx*:

 

alright thank you


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites
  • 0

Originally Posted by payver*:

 

So i made an infantry only server and i changed this vars.vehicleSpawnAllowed "false" but when i restart it the server it still says false but vehicles are in the game?

Do you mean by "restart it" the map or the server?

Yes., Procon saves only temporarily the option. At server restart the values in the startup.txt are taken, but by map restart it should take effect, even while the round is running. The vehicles don't respawn after destroy or appears at vehicles "true". I tested it once in BF3.

 

If you use Ultimate Mapmanager, it could also alter the serversettings if "Allow map-specific game presets_" is on.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites
  • 0

Originally Posted by Richaleoni*:

 

I had the same issue. Gameservers helped me with it. Change your 2 settings for vehicles in Startup.txt to this:

 

vars.vehicleSpawnAllowed false

vars.vehicleSpawnDelay 505

 

Restart your server and you will only see "transport" vehicles (buggys, jet ski, motor cycles, 4 wheelers) some will he a gunner spot but they are not in cover and can be killed easy. Hope it helps.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  



  • Our picks

    • Hi All,

      So I've been thinking about doing something like this for a while but I always talked myself out of it. I want to get some feedback on this idea and how many would think about using it if it was offered.

      In the past I know how hard it was for some users to get a MySQL database going and running the BFACP (since it's a bit requirement heavy in some cases). What I would be doing is offering to manage both of these for you.

      If enough interest was shown in something like this I would definitely think about doing it. Of course, I also know the risks I would be taking in something like this, but to list what I would be offering I guess is this.

      MySQL Hosting


      Daily backups of the database to a remote site & option to download it yourself.


      No limit on how big your database can be (within reason).




      BFACP Hosting (If running AdKats on your layers)


      This would run the newest version (v3.0)


      Will still be available to run on your own hardware


      Will have extra features that are not available for an open source setup (still need to think of good things )


      Able to use your own domain name with the proper DNS setup.




      Both Above



      Please let me know what you think of this idea and vote in the poll. Again not confirming anything like this will happen but if I get enough interest from the community for something like this then please let me know.

      Disclaimer: This will NOT be something affiliated with MyRCON but will be ran through it in terms of a payment processor.
      • 10 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.