Commit Graph

128 Commits (c00a8cf3c3a33a88c5a8aba152d06d9f483921a5)

Author SHA1 Message Date
Sven Eberhardt ed2e56c3fa Fix Loc_Space and allow direction parameter instead of just horizontal/vertical.
The old implementation was buggy as it would disallow the location if it had too much space (and PathFree2 returns nil). It also doesn't make sense to ask for a location that has space in either direction of a dimension because the location is not automatically adjusted to lie at the center of that space. For example, it would effectively cause fish to spawn directly at walls sometimes.
2015-07-31 00:42:01 -04:00
Sven Eberhardt 0d48105b46 Added shape library.
Also fixed some coconut tree reproduction issues.
2015-07-31 00:42:01 -04:00
Sven Eberhardt 56a21d549a Fix scenario saving of mosquito swarms. 2015-07-26 00:14:32 -04:00
Clonkonaut c813743018 New swarming insect: Mosquito!
Purely for decoration (no stinging). Mosquitos are nocturnal if you ever wonder.
2015-07-25 12:43:16 +02:00
Clonkonaut 23bbf666c6 Added placement and dying to insects. 2015-07-23 18:39:51 +02:00
Clonkonaut f8b5a9fca0 Complete rework of the butterfly. 2015-07-23 13:31:23 +02:00
Sven Eberhardt 221565952d Fix erroneous Piranha bite animation and associated savegame problem (#1352)
This caused animations to never end and thus excessive stacking of animation nodes until saving of the game would take very long or even crash.
2015-07-07 22:04:07 -04:00
Maikel de Vries 599d57c33a in c4script: SetCategory(0) -> SetCategory(C4D_None) 2015-03-02 22:24:25 +01:00
Maikel de Vries 346d5cd709 another batch of Graphics.png removals 2015-02-15 22:37:08 +01:00
Mark 850bf1b9d4 CreateObject/CreateObjectAbove (#1214)
Renamed CreateObject() to CreateObjectAbove() and replaced all occurrences in script files.
Added CreateObject(), the function may need a rewrite though, see comment in code.
Updated documentation
2015-01-11 19:02:03 +01:00
Maikel de Vries c6802b8776 increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Sven Eberhardt 2808a3983b Move FlightlessBird from Objects.ocd to Experimental.ocd.
Moved because it causes annoying errors on startup. It's not even a full definition and the material doesn't seem to be used anywhere.
2014-12-09 23:37:38 +01:00
Sven Eberhardt cbb321307f Scenario saving fixes: Layers, fishes, sproutberries.
Do not save sprout berries that are still attached to sprouts. Omit some unnecessary properties for fishes.
2014-08-14 17:18:26 +02:00
David Dormagen 3600e58198 fish: added a somewhat natural population control
Fishes will spawn roe at feeding locations. When a fish dies, another fish is spawned if roe is around.
2014-07-20 15:16:54 +02:00
Sven Eberhardt 32ca09a152 Coral, Fish and Piranha moved from Deep Sea Mining into Objects.ocd 2014-07-10 19:59:39 +02:00
Maikel de Vries 6ba0164c5b removed unnecessary defcore Value entries
Completely unneeded for structures and many other objects.
2014-05-26 21:38:32 +02:00
Sven Eberhardt 5094cc5c1b Reworked "Save as scenario" option in editor to write a script file instead of Game.txt. 2013-12-27 17:10:09 +01:00
Maikel de Vries 682f927fa5 Make butterflies appear with different colors 2013-08-13 21:40:52 +02:00
Matthias Rottländer 9ed8fcc2d4 Added model of the flightless bird 2012-11-15 15:56:40 +01:00
Maikel de Vries 6fcc0f6d2e Removed TimerCall in favour of AddTimer script implementation 2012-05-05 12:09:44 +02:00
Maikel de Vries 4a56f8d7c1 Replaced defcore values related to fire with properties 2012-04-28 16:17:38 +02:00
Maikel de Vries 16fa9cf341 Placement is now a property instead of DefCore value 2012-04-16 22:17:05 +02:00
Martin Plicht a4194c22e9 Replace 0 with nil wherever string/object/array is expected 2012-04-12 11:48:23 +02:00
Maikel de Vries 59c1aefad9 Objects: All Versions to 5,2,0,1 2011-10-01 10:54:15 +02:00
Maikel de Vries e2db1bc85a Actions default to COMD_Stop, Decel for float and swim procedures
With this change everything should behave as normal, still not a fan of these numerous float hacks.
2011-07-06 19:11:12 +02:00
Charles Spurrill 9e9e6005eb Butterfly works correctly and stuff 2011-05-31 11:36:01 -07:00
Charles Spurrill 7b7c1f5e89 Removed Clonk50.ocs, removed that damn wolf, and cleanup in tests 2011-05-31 09:36:58 -07:00
Armin Burgmeier 675c077ed2 Change .c4d extension to .ocd 2011-03-13 16:55:00 +01:00