Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-11-08 00:00:00Z and 2020-11-09 00:00:00Z
Avatar
can sb. tell me how the hook_attach_ground-Sound is played? I see that it's added with all Sounds and there is a network message for it, but I can't find any place where it's played
11:26
well this was hard to find
11:27
github-search didn't work there oO
Avatar
Yeah don't rely on github for searches
Avatar
Adding Sounds breaks the netcode :C
Avatar
why?
Avatar
because the server sends the events and no other infos or flags
13:51
so if you send the event GAMECORE_HOOK_ATTACH the hook sound is played
13:53
if i want to add a different sound to hook ice, i need to add a flag to gamecore for material or something like tthat
Avatar
You can do that, you just must not send this flag to old clients. Unfortunately flags and enums are not forward compatible... should be fixed for 0.8
Avatar
how does the network handle that? there is m_TriggeredEvents and I tried setting Event |= (Material << 16)
Avatar
the client throws out packets with flags it does not know
14:02
netobjs* with flags that it does not know
Avatar
this worked btw but opened the scoreboard
Avatar
huh
14:02
did you set another game flag by accident?
Avatar
yes but not by accident
14:03
if you hook ice you have HOOK_ATTACH + MATERIAL
14:04
in theory
Avatar
I am debugging the max ice speed currently, when going on a really really long ice plate you gain a lot of speed and ramp is going up
16:27
ramp*velspeed tops at 75 and then slowly declines, is that right?
Avatar
the speed is very weird in teeworlds
Avatar
yes
17:00
when you go really fast (have high velocity), the horziontal movement is eventually slowed to a halt
Avatar
why don't we fix this?
Avatar
well, a part of that is a feature
17:03
and you don't really go that fast in vanilla, so it's not really necessary
17:04
but I guess it can be fixed (just make sure not to break the feature)
Avatar
if(vel_next > vel_previous && vel_next*ramp < cur_speed) vel_next = vel_previous
17:04
just clip it to it's max value i think
Avatar
doesn't work, the actual speed isn't modified
17:05
(see how you gain back your speed when your velocity decreases again)
17:06
what would work is probably refining the function for ramp
17:06
that it is constant after a certain point instead of falling to 0
Avatar
any ideas for ice sliding sounds?
Avatar
slide knife over the ice cube (edited)
Avatar
I don't think there should be any sound
23:35
walking doesn't make sound
Exported 39 message(s)