Commit Graph

3318 Commits (b7ba9f2eb1e6095e036345c828b0ea478755f61e)

Author SHA1 Message Date
Maikel de Vries b7ba9f2eb1 correct updating after setting power level of storage 2015-02-04 10:35:15 +01:00
Maikel de Vries 5eef390b44 power priorities are updated before network balancing 2015-02-04 10:35:15 +01:00
Maikel de Vries 17c4049563 separate library for power storage 2015-02-04 10:35:15 +01:00
Maikel de Vries c0ff94eb75 normalize power values to multiples of ten
This makes it easier for internal calculations and that value of 10 now represents a single light bulb. It is advisable to only use multiples of 10 for production and consumption values.
2015-02-04 10:35:15 +01:00
Maikel de Vries e7fa8621e2 fix power consumption of elevator 2015-02-04 10:35:15 +01:00
Maikel de Vries 7f15d8646b simplify network power balancing 2015-02-04 10:35:15 +01:00
Maikel de Vries c5e36d8f1f fixed object placement in power test after rebase 2015-02-04 10:35:15 +01:00
Maikel de Vries 9d0e079d7d power library local variables in a single proplist
This prevents clashes, all libraries could use a single proplist named lib_*
2015-02-04 10:35:15 +01:00
Maikel de Vries 2c317888ca wind mill is only power producer for itself 2015-02-04 10:35:15 +01:00
Maikel de Vries 4914d73a82 fix power balance on adding an active power consumer 2015-02-04 10:35:15 +01:00
Maikel de Vries febf1234a9 always register power need in producer library even if zero 2015-02-04 10:35:15 +01:00
Maikel de Vries f9f790cbd6 fixed callbacks from the power library to producers and consumers 2015-02-04 10:35:15 +01:00
Maikel de Vries 86a7728650 add new power test for power producing pumps 2015-02-04 10:35:15 +01:00
Maikel de Vries fbe937b3e4 improve sawmill tree collection speed 2015-02-04 10:35:15 +01:00
Maikel de Vries eec38a9f17 reimplement power network handling by the flag library 2015-02-04 10:35:14 +01:00
Maikel de Vries ac5f9dbce7 correctly implement handling of steady power producers 2015-02-04 10:35:14 +01:00
Maikel de Vries 2d00588dff new power system (work in progress) 2015-02-04 10:35:14 +01:00
Sven Eberhardt a9ba6a3eb3 Gyro name change due to copyright considerations.
Also commit missing dialogue file.
2015-02-03 21:18:01 +01:00
Sven Eberhardt d7b9027a32 Add another NPC to crash landing.
Gyro talks about catapult usage. Dialogue by Pyrit.
2015-02-03 20:39:17 +01:00
Maikel de Vries 041532505b reduce lag when night by removing gamma change
The cool effect is then gone, but it has to be replaced anyways by shader effects.
2015-01-29 18:04:46 +01:00
Sven Eberhardt 7eab59df4f Crash Landing: Minor landscape rework. (#1138)
It's the second mission so it's supposed to be easy. But the huge firestone reservoir just beside the bottom granite were just inviting to blast through there.

Also removed some brick areas to make the pumping path less forced. You can now also reroute the lava lake into your starting caves if you want (although this is quite dangerous because you need a lot of space and you're screwed if it fails).
2015-01-28 23:05:19 +01:00
Sven Eberhardt eda637a108 Fix deep script recursion when lots of stacked dynamite boxes explode. (#1252) 2015-01-28 22:51:22 +01:00
Sven Eberhardt 7b8ffd79a4 Make Lava/DuroLava emit ambient light as a material property. (#1205) 2015-01-28 22:35:14 +01:00
Maikel de Vries 314680ae04 more materials for Chine scenario
This is needed for a succesful completion of this round through various strategies
2015-01-26 20:48:53 +01:00
Maikel de Vries d2214de19f rockfall spawns away from crew members 2015-01-26 20:38:50 +01:00
Maikel de Vries c92a5b5652 make dynamite box explode in lava 2015-01-26 18:50:47 +01:00
Günther Brammer a92c22a7b3 Merge various build system fixes and cleanups 2015-01-25 18:50:29 +01:00
Sven Eberhardt c5415aa330 DarkCastle: Fix cannoneer grabbing cannon in intro. (#1248) 2015-01-22 20:44:01 +01:00
Maikel de Vries 4311ea9aac no FoW for Overcast and Thunderous Skies 2015-01-20 19:35:05 +01:00
Maikel de Vries 4e9f054ca5 don't incinerate clonk with fire arrow when blocked by shield 2015-01-19 21:29:38 +01:00
Pyrit 576922dd5e Fix holes in landscapes that used the Granite-rock entry before.
Added Granite-granite with index 42 to the TEXMAP.TXT
2015-01-19 20:03:11 +01:00
Sven Eberhardt 9ac3bd6c1b Some new weapons for DarkCastle enemies. 2015-01-18 19:21:48 +01:00
Sven Eberhardt 3286095755 AI can use grenade launcher. 2015-01-18 19:13:10 +01:00
Sven Eberhardt 282b937a60 Fix null pointer when coniferous burns down. 2015-01-18 15:20:25 +01:00
Sven Eberhardt 4c4d4233bf Fix non-free BaseRespawn on neutral flagpoles.
It would try to buy clonks from player -1, which never worked.
2015-01-18 15:19:46 +01:00
Sven Eberhardt caec5939b0 Fix right-click buying when many items are available. 2015-01-18 15:18:39 +01:00
Sven Eberhardt 7e45475cbe Scenario saving: Concatenate multiple equal calls to CreateContents. 2015-01-18 14:28:10 +01:00
Sven Eberhardt c5af9bc7f2 Fix bomb arrow name. 2015-01-18 13:45:28 +01:00
Maikel de Vries 26aca1abe2 make the lava chunk a small light source 2015-01-18 12:50:53 +01:00
Maikel de Vries 8b5a1f7e18 fix AI test scenario 2015-01-18 12:47:00 +01:00
Sven Eberhardt 763f9de0ec Fix player knowledge in DeepSeaMining (#1239)
The section is switched when the first player joins, so the second player will initialize from the Scenario.txt of the intro section.
2015-01-17 23:10:55 +01:00
Sven Eberhardt f815d7ea6c Fix EditCursor selection and deselection callbacks when duplicating objects. 2015-01-17 22:53:21 +01:00
Sven Eberhardt 6fac0f0567 Clip AI guard range to landscape size. 2015-01-17 22:39:09 +01:00
Sven Eberhardt 4d1d869760 Add editor commands to clonks to enable enemy AI. 2015-01-17 22:36:19 +01:00
Sven Eberhardt f69872c401 AI guard range can be adjusted via drag+drop in editor.
Just select the clonk and move the corner markers.
2015-01-17 21:22:29 +01:00
Sven Eberhardt 7c19f0e0c3 Elevator adjusts case and rope position when moved in editor. 2015-01-17 21:21:27 +01:00
Sven Eberhardt 49c5b22591 Remove some empty graphics files. 2015-01-17 18:22:06 +01:00
Sven Eberhardt d33dfd6c55 Scenario Saving: Select between CreateObject/CreateObjectAbove and fix some unnecessery property saving issues.
* CreateObject for goals/rules/environment, rotated, contained and earth objects
* Allow properties to overwrite default behavior of CreateObject vs CreateObjectAbove
* Random initialization of seaweed phase instead of saving it
* Do not save color of ColorByOwner objects that have their owner color
* Fix block spacing between objects of same type if objects of different type occur inbetween but are not saved
2015-01-17 17:00:58 +01:00
Pyrit 742390fe92 Change default granite texture from rock to granite. 2015-01-16 01:03:11 +01:00
Pyrit e2f50324ee Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00