Guild icon
DDraceNetwork
DDraceNetwork / questions
For newcomers to ask questions and get help. Also check https://wiki.ddnet.org/wiki/FAQ
Between 2024-08-01 00:00 and 2024-08-02 00:00
Avatar
Avatar
шизофренfк
Does anyone have any knowledge about creating servers and what kind of hosting is needed, as well as how to program servers and add all sorts of different addons?
i can tell you but lets move to #off-topic (edited)
Avatar
What's this thing?
Avatar
hand
Avatar
Are there any cmds to turn off particles?
Avatar
Jupstar ✪ 2024-08-01 11:59
you can replace particles with empty/transparent textures
11:59
other than that no
👍 1
Avatar
mapping question: let's say i have a greyscaled block which i colored through a layer setting is there an easy way to take just a grey block and then add some overlay to it so it looks exactly like the first one did? or is it even always possible?
Avatar
Jupstar ✪ 2024-08-01 12:14
it feels like your question is your answer
12:15
u have a grey block which you colored by changing the layer color now you have a grey block and want to color it like the one before
12:16
but generally if in design mode you can use 2 layers
12:16
the second is an overlay
12:16
design = non-entities
Avatar
Avatar
Jupstar ✪
it feels like your question is your answer
i felt like it too, but i just cant do it for some reason xD
12:22
like you cant just copy the color cuz you will need to lower the opacity
Avatar
Avatar
Gazebr
like you cant just copy the color cuz you will need to lower the opacity
Jupstar ✪ 2024-08-01 12:25
yeah if you really want to match the color 1:1 it's not easy
Avatar
Avatar
Jupstar ✪
yeah if you really want to match the color 1:1 it's not easy
well i would be fine with something very close to it, but when i slide the color randomly it feels like i could never make it xD
12:29
like its always darker or always less purply idk
Avatar
Jupstar ✪ 2024-08-01 12:30
do you have the final color as RGB value? if you use the layer color it's simple match: target_rgb = texture_rgb * layer_rgb
Avatar
Avatar
Jupstar ✪
do you have the final color as RGB value? if you use the layer color it's simple match: target_rgb = texture_rgb * layer_rgb
what does texture rgb mean here? isnt it just white since i didnt modify it through a layer? or do you mean that i need to check a color of some part of the grey block?
Avatar
Avatar
Gazebr
what does texture rgb mean here? isnt it just white since i didnt modify it through a layer? or do you mean that i need to check a color of some part of the grey block?
Jupstar ✪ 2024-08-01 12:34
yes the second one is true
12:34
the graphics backend fetches a pixel from the grey block and then does the math
12:35
that is how GPUs do it internally
12:35
so for every pixel it is done independially
12:35
bro word too hard
Avatar
ok i need a notepad for this lmao
12:36
why is color so hard
Avatar
Jupstar ✪ 2024-08-01 12:42
two more things:
  • if you add transparency in the layer it gets impossible how the color looks like, because it depents on the background
    • i dunno what you meant with overlay in your original question, but if you mean that you first render the grey block and then a semi transparent purple quad, then the math there is:
texture_rgb * (1 - purple_quad_*alpha*) + puple_quad_rgb * purple_quad_*alpha* which is how alpha blending is applied
Avatar
so im doing the first formula rn, if this doesnt work ill just record a video of what im trying to do xD
12:44
sry brain too smol
Avatar
Heres what im trying to do xD
12:57
and the question is can you always do it 1:1 (or close to it) and if yes how
Avatar
Jupstar ✪ 2024-08-01 12:57
so you want the second as your result?
Avatar
ye, my goal is to have the right one look the same as the left one (which i already colored how i like)
13:02
guys how do i fix this
13:02
i tried different rendereres
Avatar
Jupstar ✪ 2024-08-01 13:02
Avatar
there still arent numbers on cps
Avatar
Jupstar ✪ 2024-08-01 13:02
wolframalpha gave these as possible solutions
13:03
i dont have wolframalpha pro, else i could give you a better plot xd
13:04
r is the alpha of your color p is the rgb value
13:04
should mention that xd
Avatar
wait but is there an alpha value? like if its not transparent then you cant see the block at all
13:04
oh ok i see xD
Avatar
Avatar
user56173
there still arent numbers on cps
settings > ddnet > show text entities
Avatar
Avatar
Jupstar ✪
wolframalpha gave these as possible solutions
wait am i stupid or you cant even construct a line which has both alpha and rgb values on it? xD
Avatar
Avatar
tux
settings > ddnet > show text entities
ty <3
🐱 1
Avatar
Avatar
Gazebr
wait am i stupid or you cant even construct a line which has both alpha and rgb values on it? xD
Jupstar ✪ 2024-08-01 13:08
well you can only approximate it. the p values are R, G and B and for all values you'd need a different alpha value
13:08
ah and alpha must be multiplied by 255
13:08
sadly the graph is too small to get good data from it xD
13:09
tbh just try it out by hand
13:09
it wont be perfect anyway
Avatar
doesnt it work like that? so i picked p values yet there wont be an alpha value to match?
Avatar
Jupstar ✪ 2024-08-01 13:10
i also just noticed, i have to normalize the colors too
13:10
forgot that
Avatar
wait i think i did it in reverse
Avatar
Jupstar ✪ 2024-08-01 13:11
13:12
13:12
i am getting better at this
Avatar
yeah im also getting better at understanding what this means xD
Avatar
Avatar
Gazebr
Heres what im trying to do xD
archimede67 2024-08-01 13:15
why use old version
Avatar
Jupstar ✪ 2024-08-01 13:17
well dunno how to force that thing to give approximate solutions
13:17
too hard for me, didnt use it in many years xd
Avatar
Avatar
archimede67
why use old version
parallax zoom ruined my background which is a tee-wide line
Avatar
Avatar
Gazebr
parallax zoom ruined my background which is a tee-wide line
archimede67 2024-08-01 13:19
it's been removed afaik
13:19
did you try latest version?
Avatar
havent tried new client in a while, so ye might be
Avatar
Jupstar ✪ 2024-08-01 13:19
it's not configurable anymore at least
Avatar
archimede67 2024-08-01 13:20
the editor has changed as well so it might be best to be up to date
Avatar
Avatar
tux
settings > ddnet > show text entities
i cant ifnd that
Avatar
Avatar
user56173
i cant ifnd that
Jupstar ✪ 2024-08-01 13:21
btw if you have problems with tater client, ask tater
13:21
this is for ddnet client
Avatar
i dont
Avatar
fair, tho im a noob in the editor so probably wont use new stuff but ye if the bg is fixed why not
Avatar
Avatar
user56173
i dont
Jupstar ✪ 2024-08-01 13:23
which then?
Avatar
Avatar
Jupstar ✪
which then?
ddnet omg
13:23
😿
Avatar
Avatar
user56173
Click to see attachment 🖼️
Jupstar ✪ 2024-08-01 13:24
you want to tell me that this is ddnet?
ddnet 1
Avatar
Avatar
Jupstar ✪
you want to tell me that this is ddnet?
i just launched ddnet and the same problem occured
Avatar
its t-client or something similar
Avatar
the client is irrelevant
Avatar
but the freeze indicator is originated from t-client
Avatar
Avatar
user56173
i just launched ddnet and the same problem occured
Jupstar ✪ 2024-08-01 13:24
13:25
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
i swear that wasnt there before
Avatar
Jupstar ✪ 2024-08-01 13:25
Avatar
you just updated my game
13:25
i know it
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
i dont get the memo xD i assumed the orange line was the red value but i guress not? tho green doesnt quite work anyway
Avatar
Avatar
user56173
i swear that wasnt there before
Jupstar ✪ 2024-08-01 13:25
because u didnt use ddnet 😂
Avatar
Avatar
Jupstar ✪
because u didnt use ddnet 😂
the client is irrelevant
Avatar
t-client modified entityrendering a LOT with outlines and stuff
Avatar
its here in the modified client too
Avatar
so it's absolutely not irrelevant LOL
Avatar
Avatar
meloƞ
so it's absolutely not irrelevant LOL
dude
13:26
i had launched ddnet before asking
13:26
same problem
Avatar
Avatar
Gazebr
i dont get the memo xD i assumed the orange line was the red value but i guress not? tho green doesnt quite work anyway
Jupstar ✪ 2024-08-01 13:26
well blue is R, orange is G, green is B
Avatar
and that setting fixed it thx
Avatar
Jupstar ✪ 2024-08-01 13:26
that already is pretty confusing
Avatar
Avatar
Gazebr
i dont get the memo xD i assumed the orange line was the red value but i guress not? tho green doesnt quite work anyway
Jupstar ✪ 2024-08-01 13:30
yeah the plot is shit, i think you cannot just take a sample of the graph like that
13:30
x axis is p, y is r
13:30
just forget about that
13:30
it's useless
Avatar
its a cool graph tho xD
13:35
well adding an overlay should be different from changing layer color since you can make black part more green, but you cant do it through the second way
Avatar
Jupstar ✪ 2024-08-01 13:42
3d makes more sense
13:42
😂
13:42
ok i stop, this is leading to nowhere
Avatar
what does the third dimension even represent xDD
Avatar
Jupstar ✪ 2024-08-01 13:43
plot 125/255*(1-r) + p_x*r = 42/255 , 127/255*(1-r) + p_y*r = 87/255, 135/255*(1-r) + p_z*r = 44/255 where 0<=r<=1 and 0<=p_x,p_y,p_z<=1 i try this rn
13:43
but it doesnt understand what i want
13:44
maybe it cant even do smth like that, no idea
Avatar
isnt it 4 variables lol
Avatar
Jupstar ✪ 2024-08-01 13:46
yeah
13:46
i simply doesnt work in 2d or 3d
13:46
i think you need at least 4d
Avatar
i guess pick some r like 0.8 or something
Avatar
ddnet mapping justatest
Avatar
Jupstar ✪ 2024-08-01 13:47
i cannot imagine otherwise how a plot should even look like
Avatar
Avatar
Gazebr
i guess pick some r like 0.8 or something
Jupstar ✪ 2024-08-01 13:47
the problem is that it needs to plot for all r that exist all 3 other variables
Avatar
Avatar
manikoo
ddnet mapping justatest
yes, very ddnet very mapping
Avatar
Jupstar ✪ 2024-08-01 13:47
shit i suck at math, but since wolframalpha also sucks i am fine with it
13:48
but cant you like pick one alpha and see if the solution exists?
13:48
or rather see the range
Avatar
Jupstar ✪ 2024-08-01 13:48
yeah but approximation is probably hard
13:48
a plot kinda shows the approximation as graph
13:48
the problem here is simply that there are too many unknown
13:50
i mean there simply is no solution, so just do it by hand
Avatar
Avatar
Gazebr
i dont get the memo xD i assumed the orange line was the red value but i guress not? tho green doesnt quite work anyway
Jupstar ✪ 2024-08-01 13:50
this was closer than i thought
13:50
😂
Avatar
also wait, when you add transparent layer above the block does it multiply, not add?
Avatar
Jupstar ✪ 2024-08-01 13:50
i'd count that as win
Avatar
Avatar
Jupstar ✪
two more things:
  • if you add transparency in the layer it gets impossible how the color looks like, because it depents on the background
    • i dunno what you meant with overlay in your original question, but if you mean that you first render the grey block and then a semi transparent purple quad, then the math there is:
texture_rgb * (1 - purple_quad_*alpha*) + puple_quad_rgb * purple_quad_*alpha* which is how alpha blending is applied
Jupstar ✪ 2024-08-01 13:51
it does: texture_rgb * (1 - purple_quad_*alpha*) + puple_quad_rgb * purple_quad_*alpha*
13:51
where purple is now green xD
Avatar
i mean if we return to the full black example - you cant change its color though layer settings right?
13:52
but you can with overlay
Avatar
Avatar
Gazebr
i mean if we return to the full black example - you cant change its color though layer settings right?
Jupstar ✪ 2024-08-01 13:53
yes that is right
13:53
the layer color is multiplied
13:53
the overlay is added with the forular above
13:53
see the + sign 😄
Avatar
something tells me that it would be easier to do randomly and without aiming for 1:1 cuz like if you have a full white block with a black dot and change it to bright red in the layer, you cant replicate it with an overlay - either you wont see the black dot or the red wont be as bright
Avatar
Jupstar ✪ 2024-08-01 14:02
yeah it probably depends too hard on the change in the texture anyway
14:02
that is the annoying part about alpha blending
Avatar
where is the laser blocker?....
Avatar
Avatar
Teero
where is the laser blocker?....
this ?
Avatar
where?
Avatar
top row
Avatar
fuck thank you
Avatar
lmao
Avatar
Jupstar ✪ 2024-08-01 16:18
outdated
Avatar
hello how can i change mapres?
Avatar
What are these eyes for
Avatar
they are unused in DDNet afaik, these are "dead eyes" (edited)
Avatar
ou okey
Avatar
i can not spec
17:56
no like i can spec but i cant spec someone or multiview
Avatar
spec doesnt work on all maps
17:56
a
Avatar
ik
Avatar
bind x +spectate
Avatar
i cant swap people i spectating
17:57
i hold middle mouse button and theres nothing
Avatar
it does work for me
Avatar
Avatar
cofil75k
i hold middle mouse button and theres nothing
in f1 -> bind mouse3 +spectate and try again
Avatar
ok
Avatar
Is it possible to fix/update a skin later on after upload ?
Avatar
Avatar
DeKaeL
Is it possible to fix/update a skin later on after upload ?
yes
✅ 1
Avatar
Avatar
meloƞ
in f1 -> bind mouse3 +spectate and try again
thx :3
Avatar
but its better to fix all the bugs before uploading
18:05
thonk
18:07
also not sure about "updating" if its something that changes the look of the skin
Avatar
visual bugs can be fixed at all times, i wouldn't recommend changing existing skins to appear differently tho
Avatar
game crash wheni open settings
Avatar
Jupstar ✪ 2024-08-01 20:37
then dont open settings xd which settings did you open? (edited)
Exported 177 message(s)
Timezone: UTC+0