View Issue Details

IDProjectCategoryView StatusLast Update
0005034The Dark ModDef / Setuppublic09.07.2022 18:49
ReporterVanishedOne Assigned ToDragofer  
PrioritynormalSeveritynormalReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.07 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
Summary0005034: Missing assets for sparks.fx
DescriptionIn the file fx/sparks.fx, fx/sparks references a D3 light material lights/sparks_sound that doesn't exist in TDM. It produces what I think is the 'default' white square outline when used presently.

fx/smallsparks references nonexistent particle decls particles/smallfiresparks.particle and particles/smallbluesparks.particle (yes, ending in .particle rather than .prt; I haven't seen that before). It appears to be copied directly from D3.
Additional Informationfx/sparks is copied from D3, but at some point between 2.05 and 2.07 the sound it references was changed from electrical_sparks to security_camera_spark, which makes me think it's recently been intended for use with the func_securitycamera changes. I see idSecurityCamera supports fx_damage and fx_destroyed spawnargs. Though I also notice an idSecurityCamera::AddSparks() was added that uses a spawned particle emitter, so I'm not sure whether there are still plans involving fx/sparks.

This is the lights/sparks_sound decl from D3:

table spark_neontable1 { { 1.3, 0, 0, 0, 0, 1.3, 0, 0, 0, 0, 1.3, 0, 0, 1.1, .075, 1.15, 1.22, 1.3, 1.3, 1.45, 1.52, .6, .67, .75, .82, .9, .95, 1, 0, 0, 0, .3, 0, 0, 0, 0, 0, 0, 0, .3, 0, 0, 0, 0, 0, 0, 0, 0, 1, .6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, .3, 0, 0, 0, 0 } }

lights/sparks_sound
{
    {
        map lights/duolight02grey.tga
        colored
        clamp

        red ( spark_neontable1 [Parm4 + (time * (1 * Parm3)) ]) * Parm0 * sound * 2
        green ( spark_neontable1 [Parm4 + (time * (1 * Parm3)) ]) * Parm1 * sound * 1.8
        blue ( spark_neontable1 [Parm4 + (time * (1 * Parm3)) ]) * Parm2 * sound * 1
    }
}

TDM has no texture lights/duolight02grey.tga (lights/duolight01 might be the nearest thing).
TagsNo tags attached.

Activities

VanishedOne

VanishedOne

17.08.2019 14:28

reporter   ~0011819

It turns out the .particle extension is from the era of engine development seen in D3's leaked E3 demo, when the particle system was very different.
Bikerdude

Bikerdude

26.12.2020 14:46

reporter   ~0013252

Can the above workaround be done for 2.09?
Dragofer

Dragofer

02.07.2022 16:54

developer   ~0014957

Last edited: 02.07.2022 16:55

Rev 16510. Fully restored fx/sparks. No released FMs or assets (.map or .def) make use of this FX currently.
Deleted fx/smallsparks due to missing Doom3 assets.

Issue History

Date Modified Username Field Change
09.05.2019 19:38 VanishedOne New Issue
17.08.2019 14:28 VanishedOne Note Added: 0011819
26.12.2020 14:46 Bikerdude Note Added: 0013252
02.07.2022 16:54 Dragofer Assigned To => Dragofer
02.07.2022 16:54 Dragofer Status new => resolved
02.07.2022 16:54 Dragofer Resolution open => fixed
02.07.2022 16:54 Dragofer Note Added: 0014957
02.07.2022 16:55 Dragofer Note Edited: 0014957
09.07.2022 18:49 Dragofer Fixed in Version => TDM 2.11
09.07.2022 18:49 Dragofer Target Version => TDM 2.11