1 (edited by Tigra 2010-04-29 12:31:06)

Topic: [SUGGESTION] New ways of using dynamic camera / docking camera

Hello my friends. ^)

All we know that dynamic camera is a very useful thing. But most of us do not use it, because it creates problems for movement and for close combat. Yesterday I've tried to do something with it and realized some new ways of using dynamic camera. Here they are:

1. Dynamic camera by click - http://www.youtube.com/watch?v=fz_HRt0yUtU
Camera moves only when linked button is pressed.

First, press F1 and type:
bind mouse3 "+camera_click"
This will bind dynamic camera for mouse's middle button.

Next, set some settings (type in the F1 menu):
cl_dynamic_camera_by_click 1
cl_mouse_max_distance 400
cl_mouse_deadzone 0
cl_mouse_followfactor 60

2. Jumping mode of dynamic camera - http://www.youtube.com/watch?v=e3XGlTd6R90
Camera moves to the max position at once.

Settings (type in the F1 menu):
cl_dynamic_camera_jumping_mode 1
cl_mouse_max_distance 400
cl_mouse_deadzone 0
cl_mouse_followfactor 60

3. Docking camera - http://www.youtube.com/watch?v=UBuEeCRtHB0
Camera docks to the sides.

Settings (type in the F1 menu):
cl_docking_camera 1
cl_mouse_max_distance 400
cl_mouse_deadzone 200
cl_mouse_followfactor 100

Binaries for Windows and sources - http://www.sendspace.com/file/9q22ze

Let's discuss it. smile

2

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

Indeed... do you really think we've got time to switch camera ingame ?

Not Luck, Just Magic.

3 (edited by Tigra 2010-04-29 12:32:05)

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

Hm.. yes I do. It could be helpful for deffers for example.

4

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

That's a very interesting thing, it might need some time to get used to it, but i believe it can make a huge difference for deffers. But I am not sure if the right way to do it is to create a mod, because some of the functions (like docking, which i believe is not possible in the vanilla client) might be considered cheating. I have not made up my mind about that so much, thus I am not that sure here.
But even without a mod, you can bind 2 buttons to switch on/off dyn cam. This can be really usefull, I think, I'll probably try it out when I have some time. It would be nice to have some field reports about this thing.

5

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

ghost91 wrote:

That's a very interesting thing, it might need some time to get used to it, but i believe it can make a huge difference for deffers. But I am not sure if the right way to do it is to create a mod, because some of the functions (like docking, which i believe is not possible in the vanilla client) might be considered cheating. I have not made up my mind about that so much, thus I am not that sure here.
But even without a mod, you can bind 2 buttons to switch on/off dyn cam. This can be really usefull, I think, I'll probably try it out when I have some time. It would be nice to have some field reports about this thing.

I can't do nothing more useful that quoting this post. By the way, I think the first 2 functions could be integrated in the official client in the next version, they seems to be really useful and well-done.

Support Staff - ESL.eu Teeworlds Admin

6

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

I don't think that a mod is needed for this. I got it working with two config files!
Simply make the files put the text in it - or change it to your values -  and execute the command in the console with "exec dynacam_enable.cfg".


Enable Config: (dynacam_enable.cfg)

cl_mouse_max_distance 400
cl_mouse_deadzone 0
cl_mouse_followfactor 60
bind mouse3 "exec dynacam_disable.cfg"

Disable Config: (dynacam_disable.cfg)

cl_mouse_max_distance 400
cl_mouse_deadzone 0
cl_mouse_followfactor 0
bind mouse3 "exec dynacam_enable.cfg"


Only one thing can't be done with config files:
You have to press the mousebutton to enable and to disable you can't hold it.

7 (edited by Tigra 2010-04-29 14:17:26)

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

ghost91 wrote:

some of the functions (like docking, which i believe is not possible in the vanilla client) might be considered cheating.

Yep, i'm not sure too. I've tried to play with docking camera and that wasn't so easy. Some field reports:
1. swiching docking mode is a long time operation. You have no time to do that during the fight. You need a safe place and some time to do that.
2. docking mode gives an advantage on the long distance, but if you will be hooked or enemy will attack you from your back, you will die very fast and easy.

I believe it needs to consider more field reports from different players to be sure is it cheat or not, do we need it or not. In my opinion docking camera could be a very nice part of the game and I would prefer to consider it as not cheating.

PS I posted sources here, becouse some players may need it to test in their operating systems and client-mods. Even if we will accept this as a cheat, it is easy to recognize players with enabled docking camera. And that isn't so useful for real cheaters, they will rather use zoom hack, which is much more powerfull and invisible for spectators.

8

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

mhm, i didnt worked by me.

Programming is similar to sex. If you make a mistake, you have to support it for the rest of your life.

9

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

I could use this, but there's no way to get it.

10

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

I dont have any problems with close combat and dyn cam, and I actually dont understand why you shouldnt let dyn cam on always

mushoku-no

11

Re: [SUGGESTION] New ways of using dynamic camera / docking camera

siimon wrote:

I dont have any problems with close combat and dyn cam, and I actually dont understand why you shouldnt let dyn cam on always

I personally can't play with dynamic cam on, I feel like throwing up after a couple of minutes.

Not Luck, Just Magic.