- is wind already ingame?
- is it randomly generated?
- is the direction randomly generated?
- is it possible to add it to data definitions? (in terms of power generation!)
- if that isnt possible, is it possible to call it throu event?
wind :P
wind :P
i know wind was added in 0.8. aswell as the ability to call direction and speed.
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Re: wind :P
Not to forget the clouds. (Btw with low resolution the clouds-shadow look ugly.)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: wind :P
Well, from source it should be three doubles, game.windspeed, game.windorientation, and game.windorientationchange. I can't tell that it does much more than move the clouds a bit right now...or where windspeed might change but, that should allow the creation of a wind turbine, with some extra coding (and maybe a bit of testing). Wind orientation seems to between 0 and 1, and windorientationchange is simply added to the orientation (every tick?) with a random chance (randomGenerator() < 0.001, whatever that chance may be) of being inverted (starts at 0.0001 and don't see it changing anywhere else)
Short: so currently (from what I can see) the wind speed never changes, wind orientation changes from 0-1 based on the addition of windorientationchange which starts at 0.0001 and can be randomly multiplied by -1 to reduce the orientation instead of increasing it.
off topic..hm you can also write to game.tick (of course there is a comment: // to be used with care, lol)
Short: so currently (from what I can see) the wind speed never changes, wind orientation changes from 0-1 based on the addition of windorientationchange which starts at 0.0001 and can be randomly multiplied by -1 to reduce the orientation instead of increasing it.
off topic..hm you can also write to game.tick (of course there is a comment: // to be used with care, lol)
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net