View Issue Details

IDProjectCategoryView StatusLast Update
0006315The Dark ModDef / Setuppublic04.09.2023 02:43
ReporterBikerdude Assigned Tonbohr1more  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version10 (21H2)
Product VersionSVN 
Target VersionTDM 2.12Fixed in VersionTDM 2.12 
Summary0006315: atdm:lamp_electric_square_3_lit_unattached - mistakes in def
DescriptionThis looks like an old light entity def as I have found a few mistakes in it -

- model is 'simple_square1_hanging.lwo' and should be 'simple_square1_unattached.lwo'
- description has the line 'square electric lamp with spiky antenna on top' this need to be removed.
- place holder light texture is currently commented out, should be 'lights/tdm_lanternlight'

Currently -

"
atdm:lamp_electric_square_3_lit_unattached
{

    "inherit" "atdm:static_electric_light_lit_quiet_base"
    "model" "models/darkmod/lights/non-extinguishable/simple_square1_hanging.lwo"
    "editor_setKeyValue model" "models/darkmod/lights/non-extinguishable/simple_square1_unattached.lwo"
    "editor_displayFolder" "Lights/Model Lights, Static/Switchable/Electric/Outdoor"
    "_color" "0.91 0.77 0.46"

    "skin" "lights/hlamp_colorme"
    "skin_lit" "lights/hlamp_colorme"
    "skin_unlit" "lights/hlamp_unlit"
    // need a better light texture
    //"texture" "lights/tdm_lanternlight_4fold_small_snd"
    "editor_usage" "An unlit wall-mounted, square electric lamp with spiky antenna on top. Can be toggled on/off when linked from a switch."

    "editor_setKeyValue light_center" "-19.7 0 -6"
}
"

Should be (and I have corrected the old place holder light texture -

"
atdm:lamp_electric_square_3_lit_unattached
{
    "inherit" "atdm:static_electric_light_lit_quiet_base"
    "model" "models/darkmod/lights/non-extinguishable/simple_square1_unattached.lwo"
    "editor_setKeyValue model" "models/darkmod/lights/non-extinguishable/simple_square1_unattached.lwo"
    "editor_displayFolder" "Lights/Model Lights, Static/Switchable/Electric/Outdoor"
    "_color" "0.91 0.77 0.46"

    "skin" "lights/hlamp_colorme"
    "skin_lit" "lights/hlamp_colorme"
    "skin_unlit" "lights/hlamp_unlit"
    "texture" "lights/tdm_lanternlight"
    "editor_usage" "An unlit wall-mounted, square electric lamp. Can be toggled on/off when linked from a switch."

    "editor_setKeyValue light_center" "0 0 -4"
}"

Additional InformationIf you so inclinded you could replace the other matching life def aswell -

Currently -

"
atdm:lamp_electric_square_3_lit
{
    "inherit" "atdm:static_electric_light_lit_quiet_base"
    "model" "models/darkmod/lights/non-extinguishable/simple_square1_hanging.lwo"
    "editor_setKeyValue model" "models/darkmod/lights/non-extinguishable/simple_square1_hanging.lwo"
    "editor_displayFolder" "Lights/Model Lights, Static/Switchable/Electric/Outdoor"
    "_color" "0.91 0.77 0.46"

    "skin" "lights/hlamp_colorme"
    "skin_lit" "lights/hlamp_colorme"
    "skin_unlit" "lights/hlamp_unlit"
    // need a better light texture
    //"texture" "lights/tdm_lanternlight_4fold_small_snd"
    "editor_usage" "An unlit wall-mounted, square electric lamp with spiky antenna on top. Can be toggled on/off when linked from a switch."
    "light_center" "-19.7 0 -6"
    "editor_setKeyValue light_center" "-19.7 0 -6"
}
"

Changed to -

"
atdm:lamp_electric_square_3_lit
{
    "inherit" "atdm:static_electric_light_lit_quiet_base"
    "model" "models/darkmod/lights/non-extinguishable/simple_square1_hanging.lwo"
    "editor_setKeyValue model" "models/darkmod/lights/non-extinguishable/simple_square1_hanging.lwo"
    "editor_displayFolder" "Lights/Model Lights, Static/Switchable/Electric/Outdoor"
    "_color" "0.91 0.77 0.46"

    "skin" "lights/hlamp_colorme"
    "skin_lit" "lights/hlamp_colorme"
    "skin_unlit" "lights/hlamp_unlit"
    "texture" "lights/tdm_lanternlight"
    "editor_usage" "An unlit wall-mounted, square electric lamp. Can be toggled on/off when linked from a switch."
    "light_center" "-19.7 0 -6"
    "editor_setKeyValue light_center" "-19.7 0 -6"
}
"
TagsNo tags attached.

Activities

nbohr1more

nbohr1more

04.09.2023 02:42

developer   ~0016056

Rev 16827

Created:

atdm:lamp_electric_square_3_lit_unattached_new

atdm:lamp_electric_square_3_lit_new

so that there is no risk of breaking existing missions

Issue History

Date Modified Username Field Change
01.09.2023 10:35 Bikerdude New Issue
04.09.2023 02:42 nbohr1more Note Added: 0016056
04.09.2023 02:43 nbohr1more Assigned To => nbohr1more
04.09.2023 02:43 nbohr1more Status new => resolved
04.09.2023 02:43 nbohr1more Resolution open => fixed
04.09.2023 02:43 nbohr1more Product Version TDM 2.11 => SVN
04.09.2023 02:43 nbohr1more Fixed in Version => TDM 2.12
04.09.2023 02:43 nbohr1more Target Version => TDM 2.12