Jump to content

Home

Extended CTF server.cfg


MatrixCPA

Recommended Posts

Although it doesn't cover EVERY possible cvar, I'd expect this to work in most cases. Now, some of the values are up to personal taste (like force or no force, saber only or not...etc) I just provide the template with comments. If something doesn't make sense, just ask. ;)

 

// Server Information

seta sv_hostname "Server Name" //As it appears in the server list

seta g_motd "My MOTD"

sets Administrator "Admin Name"

sets CPU "My CPU"

sets Clan "My Clan"

sets Email "myemail@mywebsite.com"

sets Connection "OC192" // I wish

sets URL "www.mywebsite.com"

sets Location "wherever"

seta sv_zone "CTF" // For info only

seta g_needpass "0" // 0=No 1=Yes - For info only. Does not password server.

 

// Passwords

seta g_password "" // Leave emtpy for no pass

seta rconPassword "myrconpass" // Used to remote admin server

seta sv_privatePassword "myprivatepass" // Used to access private slots

 

// Basic Server Settings

seta sv_pure "1" // Pure setting enforces pk3 file checks

seta sv_maxRate "7000" // Generally between 5000-10000. Max 25000

seta sv_minPing "0" // This ping or higher to connect. 0 = disabled

seta sv_maxPing "0" // This ping or lower to connect. 0 = disabled

seta sv_floodProtect "1" // Helps keep clients from flooding server

seta sv_maxclients "20" // Max number of connected players

seta g_maxGameClients "0" // Max number of non-spectactors. 0 = disabled

seta sv_privateClients "4" // Number of private slots. Access with sv_privatepassword

seta sv_timeout "120" // Time (in seconds) server waits for packet before disconnecting clients - values of 60 to 120 are reasonable

seta g_allowvote "0" // Allow clients to vote for map/rules changes (0=No/1=Yes)

 

// Logging - You'll want to change at least g_logfile to something other than 0 if you want stats

seta g_logfile "0" // 0=None, 1=Buffered, 2=Continuous, 3=Append

seta g_log "games.log" // Default location is ~/.jkii/base/

seta g_logSync "1" // 1=Write complete lines

seta g_statLog "0" // Probably similar to g_logfile. Untested.

seta g_statLogFile "stats.log"

 

// Game Settings

//

// g_gametype

// 0 = Free For All

// 1 = Holocron

// 2 = Jedi Master

// 3 = Duel

// 5 = Team Free For All

// 7 = Capture the Flag

// 8 = Capture the Ysalimari

seta g_gametype "7"

seta capturelimit "8" // Flag captures by a single team to end the round

seta timelimit "20" // Time limit for round if capturelimit not hit

seta g_weaponDisable "0" // 65531 = saber only -- SEE BELOW

seta g_duelWeaponDisable "0" // Same as g_weaponDisable, but for duels

seta g_forcePowerDisable "0" // Selectively disable force powers. 32767 = no force -- SEE BELOW

seta g_privateDuel "0" // Allow players to enter private duel (FFA/Holocron Only)

seta g_saberLocking "1" // Allow saber locks to occur

seta g_maxForceRank "7" // Affects number of points players receive for force powers - Max = 7

seta g_forceBasedTeams "0" // If on, Rebellion must use light force powers while Empire must use dark force powers

seta g_forceRegenTime "200" // Time to regen full force power. Default 200 = 20 seconds

seta g_spawnInvulnerability "3000" // Time invulnerable after spawn. Default 3000 = 3 seconds

seta g_friendlyFire "0" // Can hurt teammates 0=No/1=Yes

seta g_friendlySaber "0" // Can hurt teammates with idle saber 0=No/1=Yes

seta g_doWarmup "1" // Set to enable warmup before round.

seta g_warmup "30" // Warmup before round stats. Must enable g_doWarmup.

seta g_teamAutoJoin "0" // Force players to join a team when entering

seta g_teamForceBalance "1" // Force players to join team with fewer players

seta g_redteam "Empire" // Can customize the name of the red team

seta g_blueteam "Rebellion" // Can customize the name of the blue team

seta g_autoMapCycle "1" // Auto rotates maps. Set to 0 for custom rotation and replace map command with custom info

 

// Disable Force Powers/Weapons

//

//Value for g_disableForcePower - add up what you DON'T want

//NOTE: THIS IS BROKEN AND WILL DISABLE THINGS YOU DON'T INTEND

//Use 32767 for no force or leave it at zero..for now.

//1 Heal [light]

//2 Jump

//4 Speed

//8 Push

//16 Pull

//32 Mind Trick [light]

//64 Grip [dark]

//128 Lightning [dark]

//256 Dark Rage [dark]

//512 Protect [light]

//1024 Absorb [light]

//2048 Team Heal

//4096 Team Energize

//8192 Drain [dark]

//16384 Seeing

//

//Values for g_disableWeapon -- add up what you DON'T want

//1 No Weapon (not used)

//2 Stun Baton

//4 Sabre (doesn't work)

//8 Bryar Pistol

//16 Stormtrooper Rifle

//32 Disruptor

//64 Bowcaster

//128 Repeater

//256 DEMP Gun

//512 Flechette Rifle

//1024 Rocket Launcher

//2048 Thermal Detonators

//4096 Trip Mines

//8192 Detonator Packs

 

// Banning

seta g_banIPs "" // List of IP's to be banned

seta g_filterBan "1" // Enable Ban by Ip

 

map ctf_bespin // remove for custom rotation - requires add'l settings

Link to comment
Share on other sites

Can anyone help me setup a way to configure and allow bots to even up team games?

 

I have tried playing with a lot of the bot_**** variables and cannot get a consistant result of bot/human player ratios.

 

Basically I want to run a server with 6 open slots total - 4 public and 2 private.

 

I also have it setup to change gametypes by "rcon exec <Insert Gametype Here>

 

What I need is for Team based games to have bots join to even up teams but also leave when a human player joins.... Additionally I'd like to setup a minimum number of 2 players for Duel games so people that join up will have something to do while they wait for another human opponent to join.

 

The above CFG setting posted by MatrixCPA is something I plan on using as a base for all my cfg files as it seems to be the most complete setup minus bot configuration

 

Any help is much appreciated!

 

CRCError

Link to comment
Share on other sites

The cvar that will accomplish what you're looking for is:

 

seta bot_minplayers X

 

..where the server will add bots until the total number of humans and bots is equal to X. When a human joins, a bot leaves and when a human leaves, a bot is added to maintain that number. It can be less than the maximum number of player slots--and frequently is.

 

I've been goofing around with the bot settings a bit more lately--because people have been asking about them. I should have a bit more to discuss shortly.

Link to comment
Share on other sites

MatrixCPA,

 

You've been a great help to the JK2 community from what I've seen in this forum - among other gaming communities as well...

 

Thanks for taking time to share you knowledge and trying to answer my noob questions!

 

CRCError

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...