project-navigation
Personal tools

Author Topic: [CLOSED] smoke grenades and frame rate [FIXED]  (Read 31606 times)

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
Re: smoke grenades and frame rate
« Reply #15 on: June 17, 2012, 11:01:58 pm »
I think I'm seeing some smoke on the second floor if there's a smoke grenade below, smoke does not seem to go through walls though.
Thats what i ment. Reduced speed of the smoke probably will fix it, but it will maybe look a bit odd but ill see what i can do.

Offline Charlie

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: smoke grenades and frame rate
« Reply #16 on: October 29, 2012, 12:13:30 am »
I suffer from the same issue - i7 quad-core CPU, 8GB RAM. The game seems to be capped at 50FPS. If I drop a smoke grenade, most of the time my FPS drops dramatically, sometimes as low as 6FPS. Unplayable.

The workaround: edit ufoai/base/ufos/ptl_misc.ufo, find "particle smokefield_smoke" and scroll about 17 lines down until you find "physics  true", and change the "true" to "false".

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
Re: smoke grenades and frame rate
« Reply #17 on: October 29, 2012, 11:05:25 am »
I suffer from the same issue - i7 quad-core CPU, 8GB RAM. The game seems to be capped at 50FPS. If I drop a smoke grenade, most of the time my FPS drops dramatically, sometimes as low as 6FPS. Unplayable.

The workaround: edit ufoai/base/ufos/ptl_misc.ufo, find "particle smokefield_smoke" and scroll about 17 lines down until you find "physics  true", and change the "true" to "false".
Read the thread more carefully, i already posted a fix: http://ufoai.org/forum/index.php/topic,6755.msg53820.html#msg53820
ATTENTION: Use the new file that is attached to this post. Just unpack it into the UFO:AI directory.
« Last Edit: November 10, 2012, 02:25:15 pm by Crystan »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: [CLOSED] smoke grenades and frame rate [FIXED]
« Reply #18 on: December 02, 2012, 11:31:02 am »
Crystan, are there changes you've made in your file other than changing the physics to false for the smoke effect? If so, could you specify them? Since the file can change at any time during 2.5-dev, it is easy for some (like myself) to make the one-line change when I play. I can be sure I've got all the latest changes.

Offline Crystan

  • Project Artist
  • Captain
  • ***
  • Posts: 572
  • UFO:AI Lead Sound Artist
    • View Profile
    • http://crysea.cr.funpic.de/
Re: [CLOSED] smoke grenades and frame rate [FIXED]
« Reply #19 on: December 02, 2012, 11:47:09 am »
Nope, thats all what i did.