Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Water flow  (Read 1309 times)

teloft

  • Bay Watcher
  • We found the zirilid stream
    • View Profile
Water flow
« on: March 24, 2009, 10:59:49 am »

I dug out a 180 - 30 spaces channel to protect my fort, my FPS was going around 110, now just build a windmill and connected it to a screw pump to take water from the Brook to the water reservoir, as it is filling up, the FPS drops down to 15, (or hovering around 5 - 25)  it is unplayable.

Perhaps I was not smart to build a reservoir of this scale.

I was thinking that it would be easy to calculate the reservoir as one, instead of using each space on the map to calculate.  If water is flowing, to calculate how it would look like with different amount of water in it, and handle all the water flowing calculations for each body of water as one object.

I think it the flow of water while filling up my reservoir needs improvement.
Logged
We found the zirilid stream

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Water flow
« Reply #1 on: March 24, 2009, 01:27:08 pm »

I was thinking that it would be easy to calculate the reservoir as one, instead of using each space on the map to calculate.  If water is flowing, to calculate how it would look like with different amount of water in it, and handle all the water flowing calculations for each body of water as one object.

The game already does use shortcuts like this -- a body of water at uniform 7/7 depth is considered static, and water entering that body "teleports" to the other side.  However, yes, very large reservoirs are a bad idea.  You might want turn off weather and temperature in your init.txt, to boost your FPS, and leave the game running overnight so that the reservoir can finish filling, at which point your FPS should rise again.

Also, 15 isn't unplayable by any means, it's a pretty typical framerate for a mature fortress.
Logged

Jakkarra

  • Guest
Re: Water flow
« Reply #2 on: March 24, 2009, 06:05:39 pm »

Also, 15 isn't unplayable by any means, it's a pretty typical framerate for a mature fortress.

this is the reason im getting an alienware PC :P

on another note, im going to save up and donate to Mr. toady a fairly large sum, possibly around £1000, as ill have a few bob lying around after the Jump to Alienware.

(he wont mind sterling, will he? im english BTW)
Logged

arcane

  • Bay Watcher
    • View Profile
Re: Water flow
« Reply #3 on: March 24, 2009, 09:30:26 pm »

Also, 15 isn't unplayable by any means, it's a pretty typical framerate for a mature fortress.

this is the reason im getting an alienware PC :P

on another note, im going to save up and donate to Mr. toady a fairly large sum, possibly around £1000, as ill have a few bob lying around after the Jump to Alienware.

(he wont mind sterling, will he? im english BTW)

I'm reasonably certain that which ever bank the toad uses would gladly turn £1000 into local currency for a minor fee.
Logged

Jakkarra

  • Guest
Re: Water flow
« Reply #4 on: March 25, 2009, 11:23:58 am »

kk, tnx arcane.

it wont be anytime soon you understand. ill need to save. plus, im going to wait till the economy isnt fail, as itll be the equiv of $2000 when it goes bak to how it wus.
Logged

Eagle

  • Bay Watcher
  • [LARGE_ROAMING]
    • View Profile
Re: Water flow
« Reply #5 on: March 25, 2009, 04:43:17 pm »

Dude, just go pump some water for a while, then ignore the economy when you become legendary!

.......someone needs to turn economy off in the world's init.txt.....

Jakkarra

  • Guest
Re: Water flow
« Reply #6 on: March 25, 2009, 05:13:56 pm »

Dude, just go pump some water for a while, then ignore the economy when you become legendary!

.......someone needs to turn economy off in the world's init.txt.....

nice one,

i tried that, but its hardcoded  :'(
Logged

Smew

  • Bay Watcher
  • I'll kill you with my bear face.
    • View Profile
    • Deep Games for Deep Gamers
Re: Water flow
« Reply #7 on: March 25, 2009, 08:16:22 pm »


this is the reason im getting an alienware PC :P
Alienware won't handle this any better than a computer you build yourself, and the computer you build yourself will be cheaper in any case.
But hey, to each their own!

ShadeJS

  • Bay Watcher
    • View Profile
Re: Water flow
« Reply #8 on: March 25, 2009, 09:35:53 pm »


this is the reason im getting an alienware PC :P
Alienware won't handle this any better than a computer you build yourself, and the computer you build yourself will be cheaper in any case.
But hey, to each their own!

Plus DF is best served by a fast CPU that it can saturate (So dual core with two fast cores is nice, but Quad + cores with slower cores is 'worse'.), and a fast bus, with low latency on the bus and RAM. The video requirement is something / anything that has relatively bug-free drivers for a modern OpenGL implementation. That's pretty divergent from a modern PC (gaming or not).
« Last Edit: March 27, 2009, 02:07:30 am by ShadeJS »
Logged

Eagle

  • Bay Watcher
  • [LARGE_ROAMING]
    • View Profile
Re: Water flow
« Reply #9 on: March 25, 2009, 10:24:57 pm »

Basically, you gotta mix some high end parts with some low end parts to get optimum performance.

Derakon

  • Bay Watcher
    • View Profile
Re: Water flow
« Reply #10 on: March 25, 2009, 10:35:15 pm »

Low-end parts won't help; however, they won't necessarily hurt, either, depending on what it is they do.

In any event, building your own computer is not everyone's cup of tea.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Jakkarra

  • Guest
Re: Water flow
« Reply #11 on: March 26, 2009, 10:38:30 am »

oh, im building it....

just that its got the specs for an alienware, and only £860 (around $1600ish)

:P     

Love, jakkarra
Logged