xyth Posted September 9, 2017 Share Posted September 9, 2017 Introducing a new way to power your base in 7D2D, Wind Power! Thanks to the amazing C# coding of HAL9000, an idea I had for adapting the solarPanel class to read wind speed instead of light level has become reality. The SDX Mod "WindPower" is available here: https://github.com/7D2D/Mods This mode allows you to place a windmill in the game and then use it like the other power sources in vanilla. The main difference is you do not (at this time) need to add any slot items to make it work (That may be added at a later date). It works based on windspeed. If the wind is strong enough, the windmill will rotate and generate power once turned on. This threshold is configurable in windMill.xml, under MinSpeed. The amount of power generated is determine by the setting WattsperMPH, so a setting of 5 would mean the windmill will output 5 watts for each mile per hour of wind speed in that area. So at a wind speed of 10, the windmill would produce 50 watts of power. This assumes the minimum speed is set to 10 or less. The MaxSpeed does not need to be adjusted, its related to the rotation animation and doesn't effect gameplay so leave it alone. MaxPower is the same as in vanilla, and caps the windmills maximum output. This mod requires SDX to install. iI you need help with that, I recommend you visit the tutorial website and follow the how to guide. I expect that eventually there will be other models released that will use this code; hopefully Pacco will make a few new ones to add to this one, which I made as a prototype for development and testing. Note: Now compatible with dedicated server! Enjoy! Link to comment Share on other sites More sharing options...
Darkstardragon Posted September 9, 2017 Share Posted September 9, 2017 Bravo, very nice xyth. I do seem to recall this being a feature in headbangerz, or am i mistaken? Anyway, its been sorely needed as batteries and gas powered motors arent always in supply. Link to comment Share on other sites More sharing options...
zLoki Posted September 9, 2017 Share Posted September 9, 2017 That looks so nice! That's going straight in to my game! Thanks for all the stellar hard work. Link to comment Share on other sites More sharing options...
three08 Posted September 9, 2017 Share Posted September 9, 2017 Nice work guys Link to comment Share on other sites More sharing options...
xyth Posted September 10, 2017 Author Share Posted September 10, 2017 Mod updated for compatibility with the dedicated server. Same mod for both client and server. Known issues that do not effect gameplay, simply compromises to get working on Dedi: 1. Blades will continue to turn even after power is turned off. 2. Informational log entries regarding tileentiies not found, these clear themselves and do not show up as yellow or red in the log. Thanks to HAL9000 for getting this to work on Dedi !!!! Link to comment Share on other sites More sharing options...
adreden Posted September 17, 2018 Share Posted September 17, 2018 Wow that is really cool, very random I found it but cool I'll have to give this a try at some point Link to comment Share on other sites More sharing options...
Spectral Force Posted September 18, 2018 Share Posted September 18, 2018 Can't believe this was posted over a year ago. I remember when it was being worked on. How time flies. Link to comment Share on other sites More sharing options...
insG_Drifter Posted December 22, 2018 Share Posted December 22, 2018 Can't believe this was posted over a year ago. I remember when it was being worked on. How time flies. So, been a bit of time and now that A17 has been released is anyone aware of plans to bring this up to date? Link to comment Share on other sites More sharing options...
ActiniumTiger Posted August 16, 2019 Share Posted August 16, 2019 So, been a bit of time and now that A17 has been released is anyone aware of plans to bring this up to date? yea ? Link to comment Share on other sites More sharing options...
insG_Drifter Posted August 17, 2019 Share Posted August 17, 2019 yea ? Given it has been about 8 months since I posted this, and given the fact there was not a single response, I am assuming its a dead stick.... Link to comment Share on other sites More sharing options...
xyth Posted August 19, 2019 Author Share Posted August 19, 2019 Maybe for A18. This needed as lot of custom code in A16, and might be easier in A18. Link to comment Share on other sites More sharing options...
insG_Drifter Posted August 20, 2019 Share Posted August 20, 2019 Maybe for A18. This needed as lot of custom code in A16, and might be easier in A18. Thanks for the reply xyth. I know nothing of the coding for things such as this so I will take your word on it. I believe this would be a nice addition and since I only play modded in this game anymore it would be a welcome one at that. Here's looking to A18... After the streamers get it of course... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.