Weapon Pickup

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).

Useful ?

Yes
35
83%
No
7
17%
 
Total votes: 42

User avatar
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Weapon Pickup

Post by hi_leute_gll »

U can do it with the bullets like Saavik described it. And then highlight the choosen bullet?
.hi._.leute._.gll. | iMTGmember
User avatar
Lady Saavik
Posts: 1763
Joined: Tue May 13, 2014 4:02 pm
Player profile: http://ddnet.tw/players/Lady-32-Saavik/
Mapper profile: http://ddnet.tw/mappers/Saavik/

Re: Weapon Pickup

Post by Lady Saavik »

it can be even one bullet, not full ammo
it's small, doesn't disturb
and only visible when you hold the weapon in freeze

it can't be more minimalist :D
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Weapon Pickup

Post by deen »

From what I can see the client does not have any information about which weapons it has. That's also why rotating the scroll wheel takes so long with high ping. When you push 1-5 you just tell the server to change weapon if you happen to have it. Will not be implemented.
User avatar
Lady Saavik
Posts: 1763
Joined: Tue May 13, 2014 4:02 pm
Player profile: http://ddnet.tw/players/Lady-32-Saavik/
Mapper profile: http://ddnet.tw/mappers/Saavik/

Re: Weapon Pickup

Post by Lady Saavik »

Too bad.
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: Weapon Pickup

Post by imp »

But can you implement that the cursor changes to the selected weapon when you are frozen and use the scroll wheel? It works when you are outside of freeze, so why shouldn't it work when you are frozen?
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Weapon Pickup

Post by deen »

imp wrote:But can you implement that the cursor changes to the selected weapon when you are frozen and use the scroll wheel? It works when you are outside of freeze, so why shouldn't it work when you are frozen?
It only works because the server tells you that you get that specific weapon. Try it on a high ping server and you will see that it takes long to switch. When you're frozen the server doesn't tell you what weapons you have.
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: Weapon Pickup

Post by imp »

And. When you collect a weapon the server will recieve the message that you got rocket (etc.)..right? Maybe you can add that the cursor changes then?
"Autopickup in freeze"
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Weapon Pickup

Post by deen »

I don't think so.
HMH
Posts: 145
Joined: Mon May 05, 2014 8:41 pm
Player profile: http://ddnet.tw/players/HMH/

Re: Weapon Pickup

Post by HMH »

Actually the client knows about the weapons it's got:
https://github.com/def-/ddnet/blob/DDRa ... s.cpp#L193
https://github.com/def-/ddnet/blob/DDRa ... rols.h#L25
And I think it's rather easy to implement this :)
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Weapon Pickup

Post by deen »

HMH wrote:Actually the client knows about the weapons it's got:
https://github.com/def-/ddnet/blob/DDRa ... s.cpp#L193
https://github.com/def-/ddnet/blob/DDRa ... rols.h#L25
And I think it's rather easy to implement this :)
Nice. So you want to implement it?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest