2025-07-24 17:39 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004567Spring engineGeneralpublic2014-10-04 09:51
ReporterJools 
Assigned Tocleanrock 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004567: Some cegs are visible outside line of sight
DescriptionSome CEGS are visible outside of line of sight, even thought they are defined not to be that in their tdf-definition file.

This is the UnitFire ceg, which is spawned when unit is damaged. It is set to be alwaysvisible = 0 and to not use airlos.

This thing actually also happens in spring 96.0, so it may just be that the airlos/los map is actually bigger than what is displayed as LOS area visually.
Steps To ReproduceEnable LOS-view, spawn core_goliath to self and enemy and shoot.
Additional InformationHere is the definition of that CEG:

[UNITFIRE]
{
    alwaysVisible=0;
    useAirLos=0;
    usedefaultexplosions=0;
    [spikes]
    {
    alwaysVisible=0;
    useAirLos=0;
        class=explspike;
        [properties]
        {
            dir=-1 r2,-1 r2,-1 r2;
            width=5;
            length=5; //60;
            alpha=1;
            alphadecay=0.75;
            color=1.0, 0.7, 0.3;

        }
        air=1;
        water=1;
        ground=1;
          count=4;
        alwaysVisible=0;
        useAirLos=0;
    }
    [exhale2]
    {
        class=CSimpleParticleSystem;
        [properties]
        {
        alwaysVisible=0;
        useAirLos=0;
        sizeGrowth=0.3;
        sizeMod=1.0;
        pos=0, 1, 0;
        gravity=0, 0.8, 0;
        
        Texture=smoke;
        airdrag=0.6;
        colorMap=1.0 0.6 0.2 0.01 0.01 0.01 0.01 0.2 0.05 0.05 0.05 0.2 0.0 0.0 0.0 0.01;

        particleLifeSpread=3;
        particleSpeedSpread=2;
        particleSizeSpread=1;
        
        particleLife=30;
        numParticles=1;
        particleSpeed=1;
        particleSize=2;
        
        
        emitVector=0, 1, 0;
        emitRot=80;
        emitRotSpread=20;
        directional=0;

        }
    air=1;
    water=1;
    ground=1;
    count=1;
    alwaysVisible=0;
    useAirLos=0;
    }

}
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013696

Jools (reporter)

A case to illustrate the issue: First an image with goliaths on fire: part of them are seen outside of LOS, but not all of them, as the second image with globallos shows:

Normal LOS: http://imgur.com/ZA8LD3P

Global LOS: http://imgur.com/f8Nm1lB

~0013700

jK (developer)

your images show nothing to me
+Notes

-Issue History
Date Modified Username Field Change
2014-09-30 01:22 Jools New Issue
2014-09-30 01:22 Jools File Added: screen00390.png
2014-10-02 20:07 Jools Note Added: 0013696
2014-10-03 07:54 jK Note Added: 0013700
2014-10-04 09:51 cleanrock Changeset attached => spring develop 4a01ac9e
2014-10-04 09:51 cleanrock Assigned To => cleanrock
2014-10-04 09:51 cleanrock Status new => resolved
2014-10-04 09:51 cleanrock Resolution open => fixed
+Issue History