View Issue Details

IDProjectCategoryView StatusLast Update
0005899The Dark ModSoundpublic09.07.2022 13:20
Reporterthebigh Assigned ToObsttorte  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
PlatformpcOSlinux mintOS Version20.2
Product VersionTDM 2.09 
Fixed in VersionTDM 2.11 
Summary0005899: Sound bug leaning against rotated door
DescriptionPut a door that's not oriented perfectly north-south or east-west, but have it rotated say 45 degrees off the grid. Now lean against it to listen to what's on the other side. The sound won't stop when you stop leaning but will follow you around, and will only stop when you walk away and lean in the other direction.

This is 2.10 beta 5, but the dropdown menu here only lets me select 2.09.
Steps To ReproduceSee attached map
TagsNo tags attached.

Activities

thebigh

thebigh

02.02.2022 11:19

reporter  

lean_bug.map (16,076 bytes)   
Version 2
// entity 0
{
"classname" "worldspawn"
// primitive 0
{
brushDef3
{
( 0 0 1 -252 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -360 ) ( ( 0.02604166604578495 0 0.3125 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -64 ) ( ( 0.02604166604578495 0 7.66053886991358e-15 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 -64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.02604166604578495 0 7.66053886991358e-15 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 248 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -68 ) ( ( 0.02604166604578495 0 -0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -60 ) ( ( 0.02604166604578495 0 3.108624468950438e-15 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 64 ) ( ( 0.02604166604578495 0 0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 32 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.006510416511446238 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 -1.221245327087672e-15 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -360 ) ( ( 0.02604166604578495 0 -0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -68 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 -64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 60 ) ( ( 0.02604166604578495 0 4.791666507720947 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -360 ) ( ( 0.02604166604578495 0 -0.1041666641831398 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 92 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 -64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 1 -96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -60 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 -68 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -68 ) ( ( 0.02604166604578495 0 3.108624468950438e-15 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 64 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -360 ) ( ( 0.02604166604578495 0 3.552713678800501e-15 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 64 ) ( ( 0.02604166604578495 0 -4.791666507720947 ) ( 0 0.01302083302289248 -2.220446049250313e-16 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 -68 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -68 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 6
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -68 ) ( ( 0.02604166604578495 0 -0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.01302083302289248 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -68 ) ( ( 0.02604166604578495 0 -3.552713678800501e-15 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 64 ) ( ( 0.02604166604578495 0 0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 24 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.006510416511446238 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 7
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -68 ) ( ( 0.02604166604578495 0 -0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 64 ) ( ( 0.02604166604578495 0 0.1041666641831398 ) ( 0 0.01302083302289248 0.8854166269302368 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -24 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/common/caulk" 0 0 0
( 1 0 0 -32 ) ( ( 0.02604166604578495 0 -4.440892098500626e-16 ) ( 0 0.01302083302289248 0.0520833320915699 ) ) "textures/common/caulk" 0 0 0
( 0 0 -1 200 ) ( ( 0.02604166604578495 0 0 ) ( 0 0.006510416511446238 0.0520833320915699 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 8
{
brushDef3
{
( 0 1 0 -184 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 176 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 1 -188 ) ( ( 0.01953125 0 -1.4210854715202e-14 ) ( 0 0.009765625 0 ) ) "textures/common/caulk" 0 0 0
( -1 0 0 16 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 9
{
brushDef3
{
( 0 1 0 -184 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 176 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 188 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 1 -224 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/common/caulk" 0 0 0
}
}
// primitive 10
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -184 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 176 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 224 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/common/caulk" 0 0 0
}
}
// primitive 11
{
brushDef3
{
( 0 1 0 -184 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 176 ) ( ( 0.01953125 0 0.15625 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 1 -188 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/common/caulk" 0 0 0
( 1 0 0 32 ) ( ( 0.01953125 0 -2.96875 ) ( 0 0.009765625 -4.440892098500626e-16 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 12
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -364 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -60 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 360 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 13
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -302 ) ( ( 0.01953125 0 -1.665334536937735e-16 ) ( 0 0.009765624999999997 3.33066907387547e-16 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 12 ) ( ( 0.01953125 0 0.078125 ) ( 0 0.009765625 2.842170943040401e-14 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 280 ) ( ( 0.01953125 0 1.110223024625157e-16 ) ( 0 0.009765624999999997 4.440892098500626e-16 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 -64 ) ( ( 0.01953125 0 0 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 14
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.01953125 0 0.9765625 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 1 0 -250 ) ( ( 0.01953125 0 -2.220446049250313e-16 ) ( 0 0.009765624999999993 -2.664535259100376e-15 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 1 0 0 -60 ) ( ( 0.01953125 0 0.9765625 ) ( 0 0.009765624999999997 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 0 -1 96 ) ( ( 0.01953125 0 0.9765625 ) ( 0 0.009765625 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( 0 -1 0 234 ) ( ( 0.01953125 0 2.220446049250313e-16 ) ( 0 0.009765624999999993 -2.442490654175344e-15 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
( -1 0 0 36 ) ( ( 0.01953125 0 -0.9765625000000284 ) ( 0 0.009765624999999997 0 ) ) "textures/darkmod/stone/flat/rough_marble_dark01" 0 0 0
}
}
// primitive 15
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.0390624994179234 0 0 ) ( 0 0.0390624994179234 0 ) ) "textures/common/nodraw" 0 0 0
( 0 0 -1 96 ) ( ( 0.0390624994179234 0 0 ) ( 0 0.0390624994179234 0 ) ) "textures/common/nodraw" 0 0 0
( -0.7071067811865476 -0.7071067811865476 0 195.1614716074871 ) ( ( 0.01953124970896169 0 0.02762135822850897 ) ( 0 0.0195312497089617 4.440892098500626e-16 ) ) "textures/common/nodraw" 0 0 0
( 0.7071067811865476 0.7071067811865476 0 -199.4041122946064 ) ( ( 0.0195312497089617 0 0 ) ( 0 0.0195312497089617 0 ) ) "textures/editor/visportal" 0 0 0
( -0.7071067811865475 0.7071067811865475 0 -216.3746750430835 ) ( ( 0.0390624994179234 0 0 ) ( 0 0.0390624994179234 0 ) ) "textures/common/caulk" 0 0 0
( 0.7071067811865476 -0.7071067811865476 0 144.2497833620557 ) ( ( 0.03906249941792361 0 0.05524271645697354 ) ( 0 0.03906249941792328 -2.842170943040401e-14 ) ) "textures/common/caulk" 0 0 0
}
}
}
// entity 1
{
"classname" "info_player_start"
"name" "info_player_start_1"
"angle" "90.000000"
"origin" "32 -32 136"
}
// entity 2
{
"classname" "light"
"name" "light_1"
"light_center" "0 0 0"
"light_radius" "320 320 320"
"origin" "0 0 136"
}
// entity 3
{
"classname" "info_tdm_objective_location"
"name" "exit"
"model" "exit"
"origin" "-2 327 170"
// primitive 0
{
brushDef3
{
( 0 0 1 -79 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0.6875 ) ) "textures/common/clip" 0 0 0
( 0 1 0 -31 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0 ) ) "textures/common/clip" 0 0 0
( 1 0 0 -61 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0 ) ) "textures/common/clip" 0 0 0
( 0 0 -1 -78 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0 ) ) "textures/common/clip" 0 0 0
( 0 -1 0 -31 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0 ) ) "textures/common/clip" 0 0 0
( -1 0 0 -61 ) ( ( 0.0390625 0 0 ) ( 0 0.0390625 0 ) ) "textures/common/clip" 0 0 0
}
}
}
// entity 4
{
"classname" "atdm:lamp_electric_grill__short_lit"
"name" "atdm_lamp_electric_grill__short_lit_1"
"origin" "24 354 172"
"light_center" "0 -4 0"
"light_radius" "220 220 220"
"model" "models/darkmod/lights/non-extinguishable/grill_light_short.lwo"
"s_shader" "light_flicker_104"
}
// entity 5
{
"classname" "info_locationseparator"
"name" "info_locationseparator_1"
"origin" "62 290 172"
}
// entity 6
{
"classname" "atdm:mover_door"
"name" "func_static_1"
"model" "func_static_1"
"origin" "12 267 172"
// primitive 0
{
brushDef3
{
( 0 0 1 -76 ) ( ( 0.0195312497089617 0 0 ) ( 0 0.0195312497089617 0 ) ) "textures/darkmod/wood/boards/green_planks" 0 0 0
( 0 0 -1 -76 ) ( ( 0.0195312497089617 0 0 ) ( 0 0.0195312497089617 0 ) ) "textures/darkmod/wood/boards/green_planks" 0 0 0
( -0.7071067811865476 -0.7071067811865476 0 -3.535533905932738 ) ( ( 0.009765624854480849 0 0 ) ( 0 0.009765624854480849 0 ) ) "textures/darkmod/wood/boards/green_planks" 0 0 0
( 0.7071067811865476 0.7071067811865476 0 -3.535533905932709 ) ( ( 0.009765624854480849 0 0 ) ( 0 0.009765624854480849 0 ) ) "textures/darkmod/wood/boards/green_planks" 0 0 0
( -0.7071067811865476 0.7071067811865476 0 -37.47665940288701 ) ( ( 0.0195312497089617 0 -0.02762135822854539 ) ( 0 0.01953124970896164 -2.486899575160351e-14 ) ) "textures/common/caulk" 0 0 0
( 0.7071067811865476 -0.7071067811865476 0 -37.47665940288704 ) ( ( 0.01953124970896158 0 -0.02762135822847256 ) ( 0 0.01953124970896166 -7.105427357601002e-15 ) ) "textures/common/caulk" 0 0 0
}
}
}
lean_bug.map (16,076 bytes)   
Obsttorte

Obsttorte

01.07.2022 09:06

developer   ~0014933

reproduceable in your test map on windows 10
Obsttorte

Obsttorte

01.07.2022 11:17

developer   ~0014935

Fixed with revision 9970
stgatilov

stgatilov

09.07.2022 10:17

administrator   ~0014974

You also added new script functions.

Are you sure it should be called "isPeakLeaning" and not "isPeekLeaning"?
Peak leaning is... when you lean by maximum allowed angle?...
I see that there is so-called "peek entity", so I suppose it should be "peek".
stgatilov

stgatilov

09.07.2022 10:20

administrator   ~0014975

Also, I think it is a bad practice to add script events just because "why not? maybe they'd be useful".

In this particular case, getSecondaryListenerLoc event is just wrong: it returns coordinates in meters.
The reason this value is in meters is that sound system works in meters, but everything else works in doom units.
If you have such and event, it should return coordinates in doom units too.
stgatilov

stgatilov

09.07.2022 10:23

administrator   ~0014976

To honest, I think the best fix would be to convert m_SecondaryListenerLoc member to doom units.
It is totally wrong to store coordinates in gameplay code in meters.

Then, you need to find all usages and remove meters-to-doom or add doom-to-meters conversion at each usage.
Obsttorte

Obsttorte

09.07.2022 10:29

developer   ~0014977

Regarding the peak vs. peek thing you are obviously right. Mixed them up and will correct that.

Regarding the script event: The return distance should indeed be in doom units. It actually didn't came to my mind that they could use meters here (I know they use it for some scalar values, although I have no clue why). Will fix that either.

The main reason for adding the event was for simple debugging. So I didn't add it because "why not?", but haven't removed it afterwards because "why?". ;)
But as we are at it, why is it a bad practise? Having the player to peek at a door could easely be a mission objective, and this function gives the mapper the required information. We also have script functions for other stuff rarely used, if ever.
Obsttorte

Obsttorte

09.07.2022 10:36

developer   ~0014978

Fixed with rev 9986.
stgatilov

stgatilov

09.07.2022 13:20

administrator   ~0014982

To be honest, I think "second listener pos" is internal value.

For instance, there is no event for "primary listener pos", because it is not a gameplay value.
Speaking of gameplay, there is player's origin, player's head position, etc.

I wonder if there is better value for the case of peeking too.
Like e.g. GetListenLoc...

Issue History

Date Modified Username Field Change
02.02.2022 11:19 thebigh New Issue
02.02.2022 11:19 thebigh File Added: lean_bug.map
01.07.2022 09:06 Obsttorte Assigned To => Obsttorte
01.07.2022 09:06 Obsttorte Status new => confirmed
01.07.2022 09:06 Obsttorte Note Added: 0014933
01.07.2022 11:09 Obsttorte Assigned To Obsttorte =>
01.07.2022 11:10 Obsttorte Assigned To => Obsttorte
01.07.2022 11:10 Obsttorte Status confirmed => assigned
01.07.2022 11:17 Obsttorte Status assigned => resolved
01.07.2022 11:17 Obsttorte Resolution open => fixed
01.07.2022 11:17 Obsttorte Fixed in Version => TDM 2.11
01.07.2022 11:17 Obsttorte Note Added: 0014935
09.07.2022 10:17 stgatilov Note Added: 0014974
09.07.2022 10:20 stgatilov Note Added: 0014975
09.07.2022 10:20 stgatilov Status resolved => assigned
09.07.2022 10:23 stgatilov Note Added: 0014976
09.07.2022 10:29 Obsttorte Note Added: 0014977
09.07.2022 10:36 Obsttorte Note Added: 0014978
09.07.2022 10:36 Obsttorte Status assigned => resolved
09.07.2022 13:20 stgatilov Note Added: 0014982