PDA

View Full Version : Spearhead Config


CrowKing
11-08-2002, 09:55 PM
Woooooo hooooooo!

I don't know if any of you fellas have checked the server.cfg that comes with the spearhead demo, but it is definately worth reviewing. Some of the new settings are awesome!

Closest to my heart is.....

1. A realism setting
2. A TK warning setting
3. A TK kicking setting

I haven't tried it yet, but I bet the ban command works now, too. Here's the sample config with comments that came with the demo:

-----------------------------------
// Server Name
// Name that will appear on the server browser
sv_hostname "Nameless Battle"

// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 1

// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1

// Realism
// Toggles realistic mode
set g_realismmode 0

// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.100000

// Team Damage
// Toggles friendly fire
set g_teamdamage 0

// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 10

// Max Players
set sv_maxclients 16

// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 0

// Frag Limit
// The score at which the player or team will win the current map.
fraglimit 0

// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 0

// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
set sv_team_spawn_interval 15

// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 0

// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 60

// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 900

// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
set sv_gamespy 1

// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0

// Allow Vote
// Enables players to call a vote.
set g_allowvote 1

// Flood Protect
// Limits amount of text a player can type
set sv_floodprotect 1

// Force Team Spectate
set g_forceteamspectate 1


set dmflags 0

set g_forceready 0

set g_forcespawn 0

// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 3

// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 3

// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5

// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 15

// Gravity
set g_gravity 512.000000

// Allow Join Time
set g_allowjointime 30

// Private Clients
// Clients that require a password to join
set sv_privateclients 0

// Password
// Allows you to set a password for the server
set sv_privatepassword ""

// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""

// Net Port
set net_port 12203

// Minimum Ping
set sv_minping 0

// Maximum Ping
set sv_maxping 0

// Maximum Rate
set sv_maxrate 0

// Map
// Starting map on the rotation.
map "dm/mp_malta_dm"

// Map Rotation List
sv_maplist "dm/mp_malta_dm obj/mp_druckkammern_tow"

11-08-2002, 10:24 PM
Just created a new section called "SpearHead"

Going to move this topic there.

11-08-2002, 10:28 PM
Could it be true, that last line has mixed map types.

On a side note, the voting is very easy and a cool feature. You can now vote to switch a map even when that map is a different game type. EA has done a very good job.

GrungeMan
11-08-2002, 11:27 PM
Yepp if you start with the DM map in the server rotation, it works with the mixing...so far anyway, guess we'll see if any bugs like spawn f*cks up or something but so far so good :D

Druid
11-09-2002, 03:24 AM
The command I'm most happy to see is
sv_pure 1

Although this one looks great to
// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 3

General_Death
11-09-2002, 06:57 AM
Looking good guys...some key features we needed.

Im still lost on this one...lol

// Minimum Ping
set sv_minping 0

11-09-2002, 08:29 AM
I did not spend too much time looking but I could not find the ban command! On my test server I setup :evil:

General_Death
11-09-2002, 10:15 AM
I tried running autokick...lol....motd works but everything goes crazy...lol

Almost worked...;)

GrungeMan
11-09-2002, 05:56 PM
anyone have any news on banning in spearhead yet?

CrowKing
11-09-2002, 06:11 PM
Banning is supposed to be there for the retail version, I've heard. I don't know about the demo.

11-09-2002, 06:52 PM
my fingers are crossed :D

General_Death
11-09-2002, 07:06 PM
anyone got the max ping to work yet?

HankScorpio
11-09-2002, 08:54 PM
Maxping seems to be working as usual for me. Remember it only applies to the client's challenge pings when connecting. Someone on a cable modem with a lousy computer/config can still connect and lag the server.

I didn't have any trouble getting autokick to function properly. When the CPU load spikes, the 'rcon status' command tends to fail but other than that, IP/Name banning still works, the ping tolerances work, and of course the annoucements work.

I decided not to run autokick for now, though. I've been trying to help players out by talking them through tweaking their graphics details and net settings instead of just kicking them. Of course, there's always the obvious 56kers connecting who I usually just kick. Hopefully after Tuesday they'll all go back to playing single-player. :P

General_Death
11-10-2002, 08:12 AM
opps...i forgot it was just the challenge....lol...I even have that as a comment in my sever.cfg file...lol

Serialkiller
11-10-2002, 11:20 AM
i just got a server and i need to set a password and stuff

11-10-2002, 11:24 AM
Same basic concept as MOH:AA
Check out my guide here:
http://www.mohadmin.com/nuke/modules.php?name=Content&pa=showpage&pid=14

This along with other guides can be found in the guides section of this site.

FredG
11-10-2002, 01:26 PM
I decided not to run autokick for now, though. I've been trying to help players out by talking them through tweaking their graphics details and net settings instead of just kicking them. Of course, there's always the obvious 56kers connecting who I usually just kick. Hopefully after Tuesday they'll all go back to playing single-player. :P

Could you post some of this tweeking info please?

HankScorpio
11-10-2002, 02:57 PM
Most of this information is based on my experiences with Allied Assault. The Spearhead demo appears to function a bit differently and I wouldn't be surprised if the retail version is different too. Most of the time when working with someone is just trial and error until we get it right.

The net connection selection has a lot to do with how smoothly the game runs for a aplyer. It sets the "rate" variable which is the maximum packets/second your client expects to receive. The netcode bases it's optimizations on the number so when it is set incorrectly you will have problems.

As a server admin, 'rcon status' will show you the net connection setting which the player has chosen. The following rates apply to the given choice:

LAN = 30000
xDSL = 25000
Cable = 20000
ISDN = 5000
56k = 4000
33.6k = 3000
28.8k = 2500

The rate for cable is too high for most situations. 8000 pkts/sec is the ideal setting for a normal sized game of 16 players. What I've done with my server is set maxrate to 8000 so when someone choses cable or high their actual rate will be set to 8000 at connect. As a player on cable you can also type 'rate 8000' in case the server doesn't have maxping set.

I've also seen problems when someone is on cable or higher but has left the setting to the default of ISDN. I typically try to help someone who I see set at a rate of 5000.

As for graphics performance tweaks, the easiest way to adjust these is to set everything to minimum and then work your way back up until you get the balance of appearance and performance which works for you. Sometimes people don't understand how to do this so you have to tell them in detail.

Video Options...

Resolution: 640x480
Color Depth: 16 bit
Texture Detail: Low
Texture Color Depth: 16 bit
Texture Filter: Bilinear
Wall Decals: Off
Weather Effects: Off

Advanced...

Shadows: None
Terrain Detail: Low Detail
Model Detail: Lowest
Effects Detail: Minimum
Curve Detail: Lowest
Static Decals: Off
Real Dynamic Lighting: Off
Full Entity Lighting: Off
Volumetric Smoke: Off

It's usually easy to spot someone with poor graphics performance when you spec them. They don't walk/run smoothly and when they fire the sound and video are not in sync. If they have a decent ping and they are doing this then it is their graphics settings.

Hope this all helps.

General_Death
11-10-2002, 04:34 PM
I tried running autokick...lol....motd works but everything goes crazy...lol

Almost worked...;)

LOL...spoke too soon...its that buggy Malta map. A server running that map will have major probs. The TOW map runs like a charm and Autokick works perfectly;)

Floyd
11-12-2002, 09:07 PM
.... Of course, there's always the obvious 56kers connecting who I usually just kick. Hopefully after Tuesday they'll all go back to playing single-player. :P

I hope that Spearhead does not mean the end of MOHAA for us 56K'ers! There are those of us who are unable to get broadband (other than satellite....and you talk about LAG in a game setting!) because of our location. Many of us are not too cheap or ignorant to have a broadband connection...its impossible or cost prohibitive. I checked into a $10K install and $2K/month T1 line. Sorry, but I'm not Bill Gates.

I have the fastest most up-todate computer hardware available, but only a good 56K connection. I don't like to lag a game anymore than I like to play in a laggy game!

I don't mean to get on a soap box here, but I feel I must speak out for us poor 56k souls.

If you autokick (which is fine by me), please let us know and give us a chance to leave on our own. I hate being kicked without at least a reason why. (People could ask, too). We are already a little testy from having to play with a disadvantage, and getting booted with not so much as a warning is akin to pouring salt into an open wound.

I'm off my soapbox now....

Thanks for a great forum guys!

Floyd, P.

Cleaner
11-13-2002, 01:23 AM
bahhh...too bad..no notice for you..heh