History chat

9 replies [Last post]
daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Now history chat appears only when it's my turn to play or computer's, can you make it available always when I press the history key ?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 16 weeks 2 days ago. Offline
Joined: 2006-11-27
Posts: 576

hm? works for me... Probably, you've modified key bindings for one of the teams

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Yes, I modified it because the ` key is not a simple key for my keyboard, I need to press also Alt, so it doesn't work in game. It's possible to change the default key to...dot '.' ?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 16 weeks 2 days ago. Offline
Joined: 2006-11-27
Posts: 576

you may redefine it in sources Smile

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Ok, I'll try it!Can you tell me what file should I modify?

EDIT: I found it!It's bind.cpp, right?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 16 weeks 2 days ago. Offline
Joined: 2006-11-27
Posts: 576

nope.. uKeys.pas, 96

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

oh...so what I modified?? :O Ok, thank you!I must modify the number in line:
DefaultBinds[ 96]:= 'history';
right? But how can I obtain the right number? For example, I want to substitute it with '\', what number should I insert?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 16 weeks 2 days ago. Offline
Joined: 2006-11-27
Posts: 576

92
You may find [mono]SDLK_BACKSLASH = 92[/mono] definition in SDL_keysym.h

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Thank you Smile

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Sorry UnCORr, I tried what you said, modifying uKeys.pas, but it doesn't work. History chat appears always only when it's my time to play.

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]