Building smoke fix

Discussion in 'Art' started by Empty, Aug 15, 2009.

  1. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    I do it because everything is fucking ugly and nobody else apparently has any sense of taste, so I have to do it myself.

    I'd just as soon not have to.
     
  2. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    It's scary coz it's true.
     
  3. Maxaxle

    Maxaxle Member

    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    0
    [/unrelated conversation]
    [flaming buildings ingame]
    Two words: DO WANT. Seriously, that's freakin' awesome.
     
  4. rataplan

    rataplan Member

    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    It's giving Empires like an extra dimension.
    Freaking Awesome!
     
  5. John Shandy`

    John Shandy` Member

    Messages:
    744
    Likes Received:
    0
    Trophy Points:
    0
    Thanks so much. This is very helpful in combating fps issues (I play Empires on a laptop, it used to run great, but Orange Box gives it a few issues).
     
  6. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    v2 is coming along nicely, I have a higher res smoke and fire texture, unfortunately it's more demanding (possibly moreso than the old smoke) so I'm not going to get it added officially like the first release since we have low end people and v1 looks fine.

    Screens on the way :o

    I'm also doing muzzleflashes to fuck with Chris :3

    [​IMG]


    Screens don't do it justice, it has a nice flash, some directed fire-ish things, directed smoke and it looks pretty nice.

    Like this:
    http://media.photobucket.com/image/muzzleflash/EGG-HEAD-OF-DOOM/NEWgunmuzzleflash.jpg

    The alignment is 90% correct, but there are cases where it looks bad due to alignment, but there's nothing I can do.

    There's also an issue with the shotgun pistol, it makes about 12 muzzleflashes stacked, the net effect is the smoke looking bad and the flash being super bright, but it's weirder that the shotgun pistol makes directed fire so...

    [​IMG]

    [​IMG]

    I've also tweaked the turret damage effect, I increased the sparks for demo purposes, you can see it spawns on random locations on the model rather than the centre of the turret/camera. Smoke still spawns at the centre though. There won't be as many sparks in the next release :P
     
    Last edited: Sep 27, 2009
  7. Jessiah

    Jessiah Member

    Messages:
    2,947
    Likes Received:
    0
    Trophy Points:
    0
    Tiny fires just don't look right IMO. It's always bugged me since the first fire 'smoke' was released. They look random and out of place and tiny. Steadily increasing inferno would be far better.
     
  8. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    I'm sorry but any particle effect larger than that will be ridiculously expensive or ugly unless it's an explosion (shortlived). The larger an effect the harder it is to make it cheap, which is why emp_silo's nuke never got finished.

    The placement of the fires is another thing however.

    And there's absolutely no way to scale it up as things are damaged further.
     
  9. Vessboy

    Vessboy Member

    Messages:
    1,519
    Likes Received:
    0
    Trophy Points:
    0
    so a constant smoke with periodic explosions of flame in variing sizes?
     
  10. John Shandy`

    John Shandy` Member

    Messages:
    744
    Likes Received:
    0
    Trophy Points:
    0
    I tried the original version, but I honestly haven't noticed much of a performance boost. Oh well, I guess I'll keep them for a while, maybe I just haven't given them enough of a chance.
     
  11. Reef

    Reef Member

    Messages:
    795
    Likes Received:
    0
    Trophy Points:
    0
    The more the building it's damaged the more smoke emitters is attached to it. IO think when the health decreases We could turn off old smoke and turn on the new one smoothly (at first small smoke, then big smoke, then smoke with flames, for example).
     
  12. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    At the very least the cost is the same for a prettier effect.

    Sure I can make more smoke and fire because there's multiple emitters being switched on/off but I can't hook it up to make the effects larger or more spread out, there'll just be more smoke and fire. I tried to make it spawn fire and smoke across the entire model but it lagged and looked terrible.

    Without further code support this is as good as it gets.

    And I can do intermittent explosions but honestly I like fire and smoke better because you know whether it's being shot (rather than random explosions) and you can tell what needs repairing and what needs active defending etc.
     
    Last edited: Sep 28, 2009
  13. Reef

    Reef Member

    Messages:
    795
    Likes Received:
    0
    Trophy Points:
    0
    So what is that You would need to make it even better? Scale the effect so it's larger?
     
  14. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    I could possibly use control points to scale the effect up, there's no 'scale effect' command however. I could also get seperate effects put together and trigger each effect based on how damaged a structure is
     
  15. spellman23

    spellman23 Member

    Messages:
    861
    Likes Received:
    0
    Trophy Points:
    0
    more smoke and randomly appearing fires as dmg increases.
     
  16. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    We already have that spellman.
     
  17. Reef

    Reef Member

    Messages:
    795
    Likes Received:
    0
    Trophy Points:
    0
    So the building first smokes, then smokes more (...) and then when it's even more damaged it starts to burn? Sounds reasonable. Easy to code.

    What do other people think about this?
     
  18. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    im ok with that because it sounds more logical.

    Imagined scenario:
    Starts to A smoke source at 80% health
    ... more smoke ...
    Deletes a smoke source(assuming flame has smoke built in) and Starts A flame at building 50% health.
    ... less smoke more flames (more flames means the flames get bigger too[when code is added to scale flames]) ...
    max flames at 10% health.
     
  19. spellman23

    spellman23 Member

    Messages:
    861
    Likes Received:
    0
    Trophy Points:
    0
    was just clarifying. Some people seemed a bit confused.


    Swapping in flames as damage goes up sounds like a really cool idea. So start with small amounts of smoke, and eventually the smoke has fires under them with enough dmg, saying that this building is screwed. And scaled flames. mmmm. Maybe even do a StarCraft in the red=constant dmg system? Oh, that's a gameplay idea, sry, wrong forum.
     
  20. Empty

    Empty Member

    Messages:
    14,912
    Likes Received:
    11
    Trophy Points:
    0
    Believe it or not the art is important to gameplay.
    My muzzleflashes make ambushes easy to foil, my fire makes damaged structures easy to see at distance (the smoke goes surprisingly high) LTs have a huge advantage over AFVs due to their shape etc.

    And if I could I'd make buildings only catch fire after a certain point, but that's not currently possible. Talk to a dev and maybe it'll get leeway.
     

Share This Page