1 (edited by Ikaron 2013-03-09 19:13:55)

Topic: [HELP] Server configuration hooks? Player hooking?

Hi there. I'm currently trying to develop a mod. It's all working fine so far, but I still have 2 questions:

1. Where can I add hooks to the configuration file? I've already found variables.h, and I know that the config is processed in the class CConfiguration - So, in which file is CConfiguration? How can I add a new integer/float config node?

- I'm stupid, I was missing the m_ in front of the variable name.
2. What method is called when a character attaches a hook to another one as well as to the ground? Didn't find it in character.cpp, gamecontroller.cpp and gamecontext.cpp...

Help would be pretty much appreciated.
Thanks for your time,
Ikaron

2

Re: [HELP] Server configuration hooks? Player hooking?

For this problem u need to lern tuning smile
1. You whrite in the autoexec.cfg this :
tune
2. You read these commandes for more tuning then you find what you want smile
Lien : https://www.teeworlds.com/?page=docs&am … rverTuning
3. you whrite after "tune " a commande
Example : tune hook_leght 280
Note : You have bad English so if you ask other thing Learn english please smile
Other QW ? Ask me smile

Discuusions ? Go away !

3 (edited by Broken 2013-03-26 19:47:52)

Re: [HELP] Server configuration hooks? Player hooking?

Lol,  heh2 your English is bad, and his is fine. Please don't criticize others. Plus, he's not talking about tuning.

4

Re: [HELP] Server configuration hooks? Player hooking?

sad you're a bad Broken heart Then tell me what he want !

Discuusions ? Go away !

5

Re: [HELP] Server configuration hooks? Player hooking?

He wants to know where in the programming it handles hooking.

I'm not trying to be mean heh2, but you should be nicer!