View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003376 | The Dark Mod | Coding | public | 14.04.2013 04:27 | 18.02.2019 21:09 |
Reporter | grayman | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | TDM 1.08 | ||||
Summary | 0003376: Player lantern goes out when crouched under a low ceiling | ||||
Description | When the player is crouched, passing through an area with a low ceiling (i.e. ductwork), the player lantern will go out when headroom gets below a certain level. The player lantern's distance from the ground should change when the player is crouched. For example, if its height is half the player's height when he's standing, it should be half his height when he's crouched. | ||||
Tags | No tags attached. | ||||
Attached Files | bug3376.map (26,808 bytes)
Version 2 // entity 0 { "classname" "worldspawn" "shop_skip" "1" "editor_drLastCameraPos" "116.738 146.536 62.0999" "editor_drLastCameraAngle" "-14.4 222 0" // primitive 0 { brushDef3 { ( 0 0 1 -59 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.734375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 -42 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 0 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 1 0 -100 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -210 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 55 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.734375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 0 1 -55 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 69.96875 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 -42 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 1 0 -100 ) ( ( 0.015625 0 185.96875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -210 ) ( ( 0.015625 0 69.9375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 16 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 186.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 38 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 2 { brushDef3 { ( 0 0 1 -55 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.734375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 0 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 1 0 -100 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -210 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 16 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.734375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 -4 ) ( ( 0.015625 0 254.71875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 3 { brushDef3 { ( 1 0 0 -42 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 186.9375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 0 ) ( ( 0.015625 0 4.40625 ) ( 0 0.015625 186.28125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 1 0 -100 ) ( ( 0.015625 0 3.5 ) ( 0 0.015625 186.9375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -210 ) ( ( 0.015625 0 253.34375 ) ( 0 0.015625 186.9375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 12 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 185.96875 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -16 ) ( ( 0.015625 0 1.28125 ) ( 0 0.015625 185.96875 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 4 { brushDef3 { ( 0 0 1 -136 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 1 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 -320 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 -64 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 128 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 5 { brushDef3 { ( 0 0 1 -128 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 1 0 -200 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 -4 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 -64 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 6 { brushDef3 { ( 0 0 1 -128 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 1 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 -200 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 -4 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 -320 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 7 { brushDef3 { ( 0 1 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 511.984375 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 511.984375 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 -12 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 -320 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 511.984375 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 -64 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 511.984375 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 1 4 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 8 { brushDef3 { ( 0 0 1 -128 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 -4 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 -328 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 -64 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 1 0 320 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 9 { brushDef3 { ( 0 0 1 -128 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 1 0 -192 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 0 -1 -4 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 0 -1 0 -320 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( -1 0 0 -72 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 ( 1 0 0 64 ) ( ( 0.00390625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/plaster/framed_02_double" 0 0 0 } } // primitive 10 { brushDef3 { ( 0 0 1 -88 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 31.6875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -480 ) ( ( 0.0625 0 32.3125 ) ( 0 0.0625 1.28125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 1.28125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 160 ) ( ( 0.0625 0 31.6875 ) ( 0 0.0625 1.28125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 26.59375 ) ( 0 0.0625 1.28125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 80 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 31.3125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 11 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 31.6875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -488 ) ( ( 0.0625 0 32.3125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 32.3125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 26.59375 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 480 ) ( ( 0.0625 0 32.6875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 12 { brushDef3 { ( 0 1 0 -480 ) ( ( 0.0625 0 32.3125 ) ( 0 0.0625 0.28125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 0.28125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -56 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 32.3125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 160 ) ( ( 0.0625 0 31.1875 ) ( 0 0.0625 0.28125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 26.59375 ) ( 0 0.0625 0.28125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 1 48 ) ( ( 0.0625 0 37.40625 ) ( 0 0.0625 32.6875 ) ) "textures/common/caulk" 0 0 0 } } // primitive 13 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 114.53125 ) ( 0 0.0625 31.875 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 114.53125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 114.53125 ) ( 0 0.0625 32.125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 152 ) ( ( 0.0625 0 31.875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 77.46875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -160 ) ( ( 0.0625 0 31.125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 14 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 38 ) ( 0 0.0625 32.375 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -480 ) ( ( 0.0625 0 31.625 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 38 ) ( 0 0.0625 31.625 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 160 ) ( ( 0.0625 0 32.375 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 434 ) ( ( 0.0625 0 26 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -442 ) ( ( 0.0625 0 38 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 15 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 38 ) ( 0 0.0625 23.875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -480 ) ( ( 0.0625 0 40.125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 38 ) ( 0 0.0625 40.125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 160 ) ( ( 0.0625 0 23.875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 570 ) ( ( 0.0625 0 26 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -578 ) ( ( 0.0625 0 38 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 16 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 106.90625 ) ( 0 0.0625 31.6875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -400 ) ( ( 0.0625 0 32.3125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 106.90625 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 106.90625 ) ( 0 0.0625 32.3125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 85.09375 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 392 ) ( ( 0.0625 0 32.6875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } // primitive 17 { brushDef3 { ( 0 0 1 -80 ) ( ( 0.0625 0 109.40625 ) ( 0 0.0625 31.6875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -360 ) ( ( 0.0625 0 32.3125 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -570 ) ( ( 0.0625 0 109.40625 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 0 -1 -48 ) ( ( 0.0625 0 109.40625 ) ( 0 0.0625 32.3125 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 442 ) ( ( 0.0625 0 82.59375 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 352 ) ( ( 0.0625 0 32.6875 ) ( 0 0.0625 0.78125 ) ) "textures/common/caulk" 0 0 0 } } } // entity 1 { "classname" "func_static" "name" "func_static_1390" "model" "func_static_1390" "noclipmodel" "1" "origin" "21 -208 36" "solid" "0" // primitive 0 { brushDef3 { ( 0 0 1 -19 ) ( ( 0 0.03125 111.71875 ) ( -0.03125 0 124.0625 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -17 ) ( ( 0.03125 0 127.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 119.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 18 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 193.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 119.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 62.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 193.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 16 ) ( ( 0.015625 0 127.578125 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 2 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 127.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 62.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 193.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 16 ) ( ( 0.015625 0 251.796875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 3 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 127.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -20 ) ( ( 0 -0.03125 111.71875 ) ( 0.03125 0 3.625 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 119.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 19 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 62.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } } // entity 2 { "classname" "func_static" "name" "func_static_1398" "model" "func_static_1398" "noclipmodel" "1" "origin" "21 -108 36" "solid" "0" // primitive 0 { brushDef3 { ( 0 0 1 -19 ) ( ( 0 0.03125 111.71875 ) ( -0.03125 0 127.1875 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -17 ) ( ( 0.03125 0 124.03125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 122.71875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 18 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 192.25 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 122.71875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 63.59375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 192.25 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 16 ) ( ( 0.015625 0 126.015625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 2 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 124.03125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 63.59375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 192.25 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 16 ) ( ( 0.015625 0 253.359375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 3 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 124.03125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -20 ) ( ( 0 -0.03125 111.71875 ) ( 0.03125 0 0.5 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 122.71875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 19 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 63.59375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } } // entity 3 { "classname" "func_static" "name" "func_static_1400" "model" "func_static_1400" "noclipmodel" "1" "origin" "21 14 36" "solid" "0" // primitive 0 { brushDef3 { ( 0 0 1 -19 ) ( ( 0 0.03125 111.71875 ) ( -0.03125 0 3 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -17 ) ( ( 0.03125 0 120.21875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 126.53125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 18 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 190.34375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 126.53125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 65.5 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 190.34375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 16 ) ( ( 0.015625 0 124.109375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 2 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 120.21875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 65.5 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 190.34375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 16 ) ( ( 0.015625 0 255.265625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 3 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 120.21875 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -20 ) ( ( 0 -0.03125 111.71875 ) ( 0.03125 0 124.6875 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 126.53125 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 19 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 65.5 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } } // entity 4 { "classname" "func_static" "name" "func_static_1401" "model" "func_static_1401" "noclipmodel" "1" "origin" "21 98 36" "solid" "0" // primitive 0 { brushDef3 { ( 0 0 1 -19 ) ( ( 0 0.03125 111.71875 ) ( -0.03125 0 5.625 ) ) "textures/common/caulk" 0 0 0 ( 1 0 0 -17 ) ( ( 0.03125 0 117.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 1.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 18 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 189.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 1.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 66.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 189.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 1 0 0 16 ) ( ( 0.015625 0 122.796875 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 2 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 117.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 -18 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 66.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -19 ) ( ( 0 -0.015625 183.859375 ) ( 0.015625 0 189.03125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( -1 0 0 16 ) ( ( 0.015625 0 0.578125 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } // primitive 3 { brushDef3 { ( 1 0 0 -17 ) ( ( 0.03125 0 117.59375 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 1 0 -2 ) ( ( 0.015625 0 195.515625 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 -1 -20 ) ( ( 0 -0.03125 111.71875 ) ( 0.03125 0 122.0625 ) ) "textures/common/caulk" 0 0 0 ( -1 0 0 -17 ) ( ( 0.03125 0 1.15625 ) ( 0 0.03125 119.96875 ) ) "textures/common/caulk" 0 0 0 ( 0 -1 0 -2 ) ( ( 0.015625 0 183.859375 ) ( 0 0.015625 251.984375 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 ( 0 0 1 19 ) ( ( 0 0.015625 183.859375 ) ( -0.015625 0 66.8125 ) ) "textures/darkmod/metal/flat/tiling_1d/steel_heavily_scratched" 0 0 0 } } } // entity 5 { "classname" "info_player_start" "name" "info_player_start_1" "origin" "20 144 2" "angle" "270" } // entity 6 { "classname" "light" "name" "ambient_world" "_color" "0.06 0.06 0.06" "light_center" "0 0 0" "light_radius" "7777 7777 7777" "nodiffuse" "0" "noshadows" "0" "nospecular" "0" "origin" "539 461.5 45.5" "parallel" "0" "texture" "lights/ambientlightnfo" } // entity 7 { "classname" "atdm:playertools_lantern" "name" "LanternEasy" "diff_0_nospawn" "0" "diff_1_nospawn" "1" "diff_2_nospawn" "1" "inv_map_start" "1" "origin" "463 441.5 60.5" } // entity 8 { "classname" "atdm:playertools_lantern" "name" "LanternHard" "diff_0_nospawn" "1" "diff_1_nospawn" "0" "diff_2_nospawn" "1" "inv_map_start" "1" "origin" "463 425.5 60.5" } // entity 9 { "classname" "atdm:playertools_lantern" "name" "LanternExpert" "diff_0_nospawn" "1" "diff_1_nospawn" "1" "diff_2_nospawn" "0" "inv_map_start" "1" "origin" "463 409.5 60.5" } | ||||
Look for physicsObj.IsCrouching() in idPlayer::Move(). The lantern is attached to the player's hip, whose height is not affected by crouching. The lantern origin should be adjusted according to the eye height, so that height of lantern when crouched / height of lantern when standing equals height of eye when crouched / height of eye when standing |
|
Me thinks it would be much better to fix the problem with the animation (that the hip is not moved when you crouch indicates that the player is not using a "crouch animation", but instead is still standing?) instead of mucking with the lantern. If the lantern is bound to the hip, and the hip does not move, then anything else bound to the hip will also not move. Also, fixing the origin of the attached lantern from the SDK code is not easy (one would first need to find out if a lantern is attached, but how to reliable detect the lantern while not missing other attached items that could also be probematic), nor is it that easy from the script side (because the script side has atm no way to find out wether an actor is crouched/kneeling except by peeking at the current animation). |
|
"Me thinks it would be much better to fix the problem with the animation " If you know anyone who can fix the animations, let me know. |
|
I've tried to look up the animations in game, but didn't remember how to enable the thief-model rendering. Enabling the shadow shows that the shadow "ducks" when crouched, so it seems the animations are ok. So, how do we find out if the hip "is not affected by crouching" as grayman says? Shouldn't it be affected, because when you crouch, your head goes down too? Or is the camera position "faked" independently from the crouch-animation? Also, a testmap would be nice. "if the headroom goes below a certain value" is a bit unspecific. What is this value and what would be the one we want it to work for? |
|
I attached a test map. Turn on the lantern. Crouch down at either end of the duct. Mantle up into the duct and walk to the other end. Light goes out while inside the duct, but it might flash occasionally. |
|
"Enabling the shadow shows that the shadow "ducks" when crouched, so it seems the animations are ok." The player animations are terrible hacks. When the player crouches, the animation actually just translates the knee joints (and possibly hips) downwards, sinking them into the legs. It doesn't attempt to simulate crouching at all. I haven't looked at them for years, but the last time I did there was some hurdle to just replacing them with better animations. I forget what it was. |
|
If the hips are going down into the legs, then is it possible that the lantern's light source is embedded in the legs, which is why it goes dark? | |
I don't know for sure that they do. But if they did, the going dark should happen all the time when you crouch. I've only experienced this issue in very tight spaces like vents. This sounds more like it's clipping into world geometry. |
|
Ah, ok, if the "animation" is just some fake translation, then it might well be that "hip position while standing + 10 units offset for light" is not translated down enough for "hip position while crouch-faked + 10 units" so the lantern clips into the ceiling. (We had a similiar case that it clipped into walls while you crouched through ducts because it was too far out from the player hip). I'm a bit unsure if we really should just postpone this until someone can fix the animations (which might well be never) or do some other faking on top of the current fake to fix this issue in the meantime. I don't really like to pile special case on special case, only to have it fail for the next special case again. Oh well. One quick fix would be to see if attaching the light with an offset of say "+5" instead of "+10" will fix it, while not making the light to low while standing. That would be quick and easy. |
|
This still happens in 2.06. That said, you can barely enter this vent in 2.06. Grayman's original solution sounds the best though. |
|
IMO binding the lantern to the head origin is a good idea. It might not be super realistic, but it should be transparent for players. Also the lantern seems to go through walls when you're very close. It looks like it's bound to left hip, there is a difference when you're turning around standing nearby such wall. Head level + slight offset to the back should do the trick. | |
I've uploaded an alternative lantern binding in the other tracker entry linked above (0004977). As far as my tests concern (with the above linked testmap, too) there doesn't seem to be anymore clipping issues. Maybe someone else could test it and second the observation. | |
Date Modified | Username | Field | Change |
---|---|---|---|
14.04.2013 04:27 | grayman | New Issue | |
14.04.2013 19:31 | grayman | Note Added: 0005297 | |
12.05.2013 13:30 | tels | Assigned To | => tels |
12.05.2013 13:30 | tels | Status | new => assigned |
12.05.2013 13:30 | tels | Target Version | => TDM 2.00 |
12.05.2013 13:35 | tels | Note Added: 0005419 | |
12.05.2013 13:35 | tels | Assigned To | tels => |
12.05.2013 17:15 | Springheel | Note Added: 0005424 | |
12.05.2013 17:37 | tels | Status | assigned => new |
13.05.2013 12:21 | tels | Note Added: 0005443 | |
13.05.2013 13:40 | grayman | File Added: bug3376.map | |
13.05.2013 13:41 | grayman | Note Added: 0005444 | |
13.05.2013 13:42 | grayman | Note Edited: 0005444 | |
13.05.2013 15:17 | Springheel | Note Added: 0005445 | |
13.05.2013 15:45 | grayman | Note Added: 0005448 | |
13.05.2013 16:01 | Springheel | Note Added: 0005449 | |
13.05.2013 16:02 | Springheel | Note Edited: 0005449 | |
13.05.2013 21:07 | tels | Note Added: 0005452 | |
02.08.2013 20:31 | Springheel | Target Version | TDM 2.00 => |
28.09.2017 01:09 | nbohr1more | Note Added: 0009356 | |
27.01.2019 17:59 | STiFU | Relationship added | related to 0004977 |
31.01.2019 19:52 | Judith | Note Added: 0011528 | |
31.01.2019 20:29 | Obsttorte | Note Added: 0011530 | |
18.02.2019 21:09 | STiFU | Relationship added | has duplicate 0002079 |