1

Topic: [GUIDE] Tuning Server (modding) + Full commands list

Hello !
I will now show you all how to fully mod (tune) a server!

==========
The Start Stuff
==========
1) Start off by making a new CFG file
1.1) Call it "teewars2.cfg" - without quotes.
2) Put in this just as a start:

sv_name Sample DM Server
sv_gametype dm
sv_warmup 10
sv_map dm2
sv_maprotation dm2 dm6
sv_max_clients 8
sv_scorelimit 20

==========
The Tuning
==========
1) Open your teewars2.cfg
2) This is a full list of commands + explanation:
http://pvpede.be/imuu/thumbs/660495tutorialtuning.png

3) When you have found out what you wanna change, then just go inside your teewars2.cfg, and then add:
tune OPTION_HERE

4) Example:

tune laser_damage 20
tune hook_length 650
tune grenade_speed 1500
tune laser_bounce_num 120
tune laser_bounce_delay 10
tune gravity 0.30
tune ground_control_speed 20
tune laser_reach 10000000

5) Save & Close & Run the server

- Done.



==========
Epilogue
==========
I just wanna thank the developers of this awesome game, and I wanna thank [P4D] Some for telling me how-to-use the tune option.


Thanks,
Pvpede

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

2

Re: [GUIDE] Tuning Server (modding) + Full commands list

THANKS big_smile

I'm german and my english is bad!!

3

Re: [GUIDE] Tuning Server (modding) + Full commands list

I think I know some explanations of the unknown commands (only a guess):

laser_bounce_cost = How many damage gets lost with every bounce (for example for laser_bounce_cost 1: 5 dmg laser without bounce, 3 dmg laser with 2 bounces)

"weapon"_lifetime = How long will the bullets exist. In combination with "weapon"_speed it influences how long the shots are (for example gun_lifetime 2: your bullets will stay 2 seconds in game->your shot will be longer)(no influence on laser, therefore is laser_reach)

ground_friction = If higher, you can stop faster on ground or how many speed you loose if you are on ground

air_friction = How many speed you loose when you're in air

I only guessed the explanation of the name, it must be tested!

4

Re: [GUIDE] Tuning Server (modding) + Full commands list

How do you mod the amount of doublejumps one can make?

I need to figure out something to put here.

5

Re: [GUIDE] Tuning Server (modding) + Full commands list

I think this also is hardcoded, but I'm not sure. In this case, you also have to patch the servers source.

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

6 (edited by ShootMe 2008-03-25 19:00:13)

Re: [GUIDE] Tuning Server (modding) + Full commands list

dublejumping is hardcoded into the game no tuning variables to change it. only way to give unlimited jumps is through modding.

laser_bounce_cost is the extra added cost to the energy of the laser when it bounces. Each laser starts out with 800 energy and can only travel 800 units because of it. The bounce cost will reduce this energy even more each time it bounces.

ground_friction changes how fast you slow down when no movement inputs are active(not pressing left or right)

air_friction same as ground friction only while in the air

ground_jump_impulse amount of force imparted on a tee when he jumps from the ground

air_jump_impulse amount of force imparted on a tee when he double jumps

shotgun_speddiff is how each bullet is affected in the spread of 5 bullets. Higher values will cause the outermost bullets to slow way down compared to innermost bullets.

7 (edited by Roanoke 2008-04-05 05:32:20)

Re: [GUIDE] Tuning Server (modding) + Full commands list

What about infinite ammo/health and changing gun reload times?

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

8

Re: [GUIDE] Tuning Server (modding) + Full commands list

Roanoke wrote:

What about infinite ammo/health and changing gun reload times?

You're gonna modify the source, then .

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

9

Re: [GUIDE] Tuning Server (modding) + Full commands list

i think this topic needs stickying

10

Re: [GUIDE] Tuning Server (modding) + Full commands list

When i try using that it says invalid command:tune any other modding commands that might work?

11

Re: [GUIDE] Tuning Server (modding) + Full commands list

You sure you're using the Rcon console on F2, not the Console on F1?

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

12

Re: [GUIDE] Tuning Server (modding) + Full commands list

How do I make a specific person not die? Like regenerate the health.

Thanks

I'll be smarter if you try to be nicer. (lol big_smile )

13

Re: [GUIDE] Tuning Server (modding) + Full commands list

Mod the source.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

14

Re: [GUIDE] Tuning Server (modding) + Full commands list

Could you explain more, please? smile

I'll be smarter if you try to be nicer. (lol big_smile )