2025-06-14 04:50 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001867Spring engineGeneralpublic2010-07-05 15:11
Reportersmoth 
Assigned TojK 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.81.2+git 
Target VersionFixed in Version0.81.2+git 
Summary0001867: Csimpleparticlesystem does not obey always visible
Descriptionreturn {
  ["industrial_smoke"] = {
    dirtg = {
      air = true,
      class = [[CSimpleParticleSystem]],
      count = 1,
      ground = true,
      properties = {
        airdrag = 0.7,
        alwaysvisible = true,
        colormap = [[0.25 0.20 0.22 1.0 0.0 0.00 0.02 1.0 0 0 0 0.0]],
        directional = true,
        emitrot = 90,
        emitrotspread = 0,
        emitvector = [[0, 1, 0]],
        gravity = [[0, 1 r2, 0]],
        numparticles = 2,
        particlelife = 25,
        particlelifespread = 20,
        particlesize = 1 ,
        particlesizespread = 3,
        particlespeed = 0.5,
        particlespeedspread = 6,
        pos = [[r-0.5 r0.5, 1 r2, r-0.5 r0.5]],
        sizegrowth = 1.5,
        sizemod = 1.0,
        texture = [[new_dirta]],
        useairlos = false,
      },
    },
    dirtw = {
      class = [[CSimpleParticleSystem]],
      count = 1,
      water = true,
      properties = {
        airdrag = 0.7,
        alwaysvisible = true,
        colormap = [[1 1 1 0.5 0.5 0.5 1 0.8 0 0 0 0.0]],
        directional = true,
        emitrot = 90,
        emitrotspread = 0,
        emitvector = [[0, 1, 0]],
        gravity = [[0, 0.1 r0.1, 0]],
        numparticles = 10,
        particlelife = 15,
        particlelifespread = 20,
        particlesize = [[7 r4]],
        particlesizespread = 2,
        particlespeed = 1,
        particlespeedspread = 6,
        pos = [[r-0.5 r0.5, 1 r2, r-0.5 r0.5]],
        sizegrowth = -0.2,
        sizemod = 1.0,
        texture = [[new_dirta]],
        useairlos = false,
      },
    },
  },

}


Will not show up unless a unit has LOS to it. which kinda breaks the point of the always visible tag.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004768

smoth (reporter)

That def was generated by YOUR fbi2lua code.

Also funny enough the tag works when give 1 as a value instead of true. Talk to lurker.

~0005060

jK (developer)

engine didn't supported lua-booleans
+Notes

-Issue History
Date Modified Username Field Change
2010-03-16 06:33 smoth New Issue
2010-03-19 19:12 smoth Note Added: 0004768
2010-07-05 15:11 jK Note Added: 0005060
2010-07-05 15:11 jK Status new => resolved
2010-07-05 15:11 jK Fixed in Version => 0.81.2+git
2010-07-05 15:11 jK Resolution open => fixed
2010-07-05 15:11 jK Assigned To => jK
+Issue History