1

Topic: [QUESTION] Dynamic Cam

I've got a question, how can i switch the Dynamic Cam on and of per bind?

Sry for my bad english I'm just 15^^

2

Re: [QUESTION] Dynamic Cam

It is possible only by trickery. U have to create two additional config files. Name them dynoff.cfg and dynon.cfg ( just an example ) and place them in teeworlds config dir ( ~/.teeworlds on linux )
dynoff.cfg:

[command to turn off dyn cam]
bind t "exec dynon.cfg"

dynon.cfg:

[command to turn on dyn can]
bint t "exec dynoff.cfg"

Then u can switch with the t key. Dont forget to add

bind t "exec dynon.cfg"'

into your settings.cfg

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

3 (edited by Thomas 2009-02-19 15:53:58)

Re: [QUESTION] Dynamic Cam

Thx^^

mmmh i tried it but it didnt work sad

i did it so how u said it to me

Sry for my bad english I'm just 15^^

4

Re: [QUESTION] Dynamic Cam

open config_directory.bat in the teeworlds root
copy settings.cfg
Paste it twice and rename it to dynon.cfg and dynoff.cfg

open dynon.cfg
  alter/add these values
    cl_mouse_deadzone 300
    cl_mouse_followfactor 60
    cl_mouse_max_distance 800
   
    bind e "exec dynoff.cfg"

open dynoff.cfg
  alter/add these values:
    cl_mouse_deadzone 0
    cl_mouse_followfactor 0
    cl_mouse_max_distance 400
 
    bind e "exec dynon.cfg"

save both files.

Open settings.cfg and add
  bind e "exec dynon.cfg"

save it, that's it

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

5

Re: [QUESTION] Dynamic Cam

Or :
bind X "cl_mouse_deadzone 300; cl_mouse_followfactor 60; cl_mouse_max_distance 1000" #dynamic camera ON
bind Y "cl_mouse_deadzone 0; cl_mouse_followfactor 0; cl_mouse_max_distance 400" #dynamic camera OFF

6

Re: [QUESTION] Dynamic Cam

I only can switch on dyn cam sad
did it exactly how u wrote it

Sry for my bad english I'm just 15^^

7

Re: [QUESTION] Dynamic Cam

aaah thx ubuntu you're my hero big_smile

Sry for my bad english I'm just 15^^

8

Re: [QUESTION] Dynamic Cam

ubu's way is working for me too, gj.
but i'd appreciate a working way with both binds at 1 key, for example e or q.
someone know how?
tried landils solution but didnt work hmm

9

Re: [QUESTION] Dynamic Cam

lol

guy just go in settings and change it
don't need command for this

UPDATE:
XDDD
only now i saw "per bind"
sorry

LOL

*SLEEPY*

*~°~~°~ Ryomou Wins... Flawless Victory ! ~°~~°~*
Support me: Subscribe!
[Fatality]

10

Re: [QUESTION] Dynamic Cam

xake wrote:

ubu's way is working for me too, gj.
but i'd appreciate a working way with both binds at 1 key, for example e or q.
someone know how?
tried landils solution but didnt work hmm

You cannot bind a "toggle dynamic cam" function in the pure Teeworlds client.

Not Luck, Just Magic.

11

Re: [QUESTION] Dynamic Cam

Dune wrote:
xake wrote:

ubu's way is working for me too, gj.
but i'd appreciate a working way with both binds at 1 key, for example e or q.
someone know how?
tried landils solution but didnt work hmm

You cannot bind a "toggle dynamic cam" function in the pure Teeworlds client.

Yes, you can just as torch described, but you need to use separate configuration files.

The solution is to use torch's template but mix Ubuntu's command where torch put [insert command here].

Here you go:


dynoff.cfg:

cl_mouse_deadzone 0
cl_mouse_followfactor 0
cl_mouse_max_distance 400
bind X "exec dynon.cfg"


dynon.cfg:

bind X cl_mouse_deadzone 300
cl_mouse_followfactor 60
cl_mouse_max_distance 1000
bind X "exec dynoff.cfg"

Then you can switch with the t key. Dont forget to add

bind X "exec dynon.cfg"'

Replace "X" with the key you'd like.
See torch's and Landil's posts for details on where to put the files.

12

Re: [QUESTION] Dynamic Cam

Magnet wrote:
Dune wrote:
xake wrote:

ubu's way is working for me too, gj.
but i'd appreciate a working way with both binds at 1 key, for example e or q.
someone know how?
tried landils solution but didnt work hmm

You cannot bind a "toggle dynamic cam" function in the pure Teeworlds client.

Yes, you can just as torch described, but you need to use separate configuration files.

The solution is to use torch's template but mix Ubuntu's command where torch put [insert command here].

Here you go:


dynoff.cfg:

cl_mouse_deadzone 0
cl_mouse_followfactor 0
cl_mouse_max_distance 400
bind X "exec dynon.cfg"


dynon.cfg:

bind X cl_mouse_deadzone 300
cl_mouse_followfactor 60
cl_mouse_max_distance 1000
bint X "exec dynoff.cfg"

Then u can switch with the t key. Dont forget to add

bind X "exec dynon.cfg"'

Replace "X" with the key you'd like.
See torch's and Landil's posts for details on where to put the files.

x= always same letter like p in every part, on as off or x= in on part p in off part o?

13

Re: [QUESTION] Dynamic Cam

torch wrote:

It is possible only by trickery. U have to create two additional config files. Name them dynoff.cfg and dynon.cfg ( just an example ) and place them in teeworlds config dir ( ~/.teeworlds on linux )
dynoff.cfg:

[command to turn off dyn cam]
bind t "exec dynon.cfg"

dynon.cfg:

[command to turn on dyn can]
bint t "exec dynoff.cfg"

Then u can switch with the t key. Dont forget to add

bind t "exec dynon.cfg"'

into your settings.cfg

2nd "binT" does not excist and with binD does not work why? sad

14

Re: [QUESTION] Dynamic Cam

he means bind, not bint. don't use capitals maybe.

also, no bumps please.