How to create a Server Game Style config?

This section assumes that you have read “What are Server Game Style configs?.”


The best way to understand the mechanics behind Server Game Style Configs is to:
1. Download Default.cfg
2. Briefly examine the structure of the defaults
3. Read the comments.

Then examine how different Server Game Style configs make changes to various weapons and settings.

This may initially seem overwhelming but you can start slowly by examining just one weapon.

For example, compare how the BFG differs in the following configs:


PlusD.cfg

bfg {
ammo = 100;
cycle = 1200;
damage = 360;
knockback = 480;
selfDamage = 0.5;
splashDamage = 120;
splashKnockback = 160;
selfKnockback = 120;
radius = 200;
speed = 1250;
timeToLive = 3;
style = WPS_IMPACT_BFG | WPS_BFG_PANTS;
grenadeStyle = WPS_IMPACT_GRENADE;
grenadeCount = 7;
grenadeDamage = 120;
grenadeKnockback = 160;
grenadeSplashDamage = 40;
grenadeSplashKnockback = 60;
grenadeRadius = 65;
grenadeSelfKnockback = 280;
bounce = no;
gravity = no;
sky = no;
weight = 1.0;
firingWeight = 1.0;
}


PlusN.cfg

BFG {
Cycle = 1000;
Damage = 80;
Knockback = Damage;
Splash Damage = 0;
Splash Knockback = 0;
Radius = 0;
Self Damage = 0.5;
Self Knockback = 0;
Firing Knockback = 0;
Regen = 1000 + $xp_antySpamTime -1;
Speed = 1500;
Ammo = 5;
Ammo Limit = 5;
Style = WPS_IMPACT_BFG | WPS_BFG_PANTS;
Grenade Style = WPS_IMPACT_GRENADE;
Grenade Damage = 80;
Grenade Knockback = 180;
Grenade Splash Damage = 265;
Grenade Splash Knockback = 180;
Grenade Radius = 70;
Grenade Self Knockback = 200;
Bounce = no;
Gravity = no;
Time to Live = 100;
Sky = no;
Weight = 1.0;
Firing Weight = 1.0;
}


RULES:

1. Do not modify a Server Game Style configuration unless you rename it. And if you modify less than 25% of a configuration, please be a decent human being and acknowledge that your work is based on the config of a previous author.

2. Test the configuration for at least a week on your Server to identify any problems.

3. Post your configuration for others to use or imitate and to provide feedback.


Permanent link to this article: https://oa.goquake.com/how-to-create-a-server-game-style-config/