Commit Graph

48 Commits (92ed1537a0e79facded3c81f50f7767962d70d6f)

Author SHA1 Message Date
Maikel de Vries 509bdac5bc remove unused Rebuy property from objects 2015-12-28 10:21:49 +01:00
Clonkonaut f0a3213a82 Fix possible nullpointer in DetachObjects. 2015-12-16 01:27:33 +01:00
Clonkonaut 461d147859 Fixing my own stupid crap (coconut). 2015-12-12 16:16:24 +01:00
Clonkonaut f9f7d17208 Coconuts grow in the treetops, fall down after some time. 2015-12-12 16:08:34 +01:00
David Dormagen 603dd5fda9 coconut: handle ControlUse correctly
Otherwise, more clicking-logic is executed after eating the coconut (i.e. collecting items).
2015-12-08 21:50:12 +01:00
Clonkonaut 0e191f2ed6 Fixed mesh rotation. 2015-10-25 14:21:30 +01:00
Clonkonaut 8b65e9f1e2 Fixed mesh material. 2015-10-25 14:21:19 +01:00
Clonkonaut a01d7572c1 Merged the three new trees and the correct normals for Coniferous2 and 3 from the milestone repository.
Tree_Deciduous into Objects
Deco_Tree_Deciduous2 into Decoration
Deco_Tree_Deciduous2 into Decoration
2015-10-25 13:43:54 +01:00
Clonkonaut 989e70ccf6 Nicer picture transformation for trees (related to #1152). 2015-10-09 14:52:08 +02:00
Armin Burgmeier b8ed577c0f Rotate the OGRE coordinate frame by 90 degrees in X
Also rotate all meshes backwards so that everything keeps working. This should
make it more convenient for modellers to create new meshes.
See http://forum.openclonk.org/topic_show.pl?pid=29410#pid29410.
2015-10-03 11:39:08 -04:00
Sven Eberhardt b746dcc1d4 Fix infinite coconut jump (#1388).
Hit is called after force redirection so resetting xdir to its pre-hit value is a bad idea.
2015-09-17 22:38:29 -04:00
Clonkonaut c925351b15 Correct Z-sorting for trees. 2015-09-14 17:09:13 +02:00
Clonkonaut bd5e127b22 Added GetTreetopPosition for placement in treetops.
TODO rework coconut to utilize this.
2015-08-24 00:10:29 +02:00
Sven Eberhardt 0d48105b46 Added shape library.
Also fixed some coconut tree reproduction issues.
2015-07-31 00:42:01 -04:00
Clonkonaut 5d3fc9683f Another tree by Nachtfalter: Tree_Coniferous3 2015-07-25 12:59:22 +02:00
Clonkonaut d8dcb6e73b Reverted Tree_Coniferous to old tree because backwards compability.
New tree is Tree_Coniferous2
2015-07-25 12:53:11 +02:00
Clonkonaut 5bb56010e2 Tree Library rework, new tree added.
Tree Library: Moved a lot of superfluous duplications from trees to the library.
Added a new coniferous tree, moved the old to Coniferous2.ocd.
2015-07-23 14:54:38 +02:00
Maikel de Vries 97ee9b6fab trees shake a little when hit by an axe 2015-03-16 21:19:56 +01:00
Sven Eberhardt 282b937a60 Fix null pointer when coniferous burns down. 2015-01-18 15:20:25 +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 d977d913ce fixed interaction image for coconut tree 2015-01-11 09:17:14 +01:00
Maikel de Vries c6802b8776 increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Maikel de Vries f761aab26d make coconut less lethal 2014-10-02 20:37:34 +02:00
Clonkonaut b16bb3a917 Coconut Tree stops dropping coconuts when chopped (#1046). 2014-03-24 23:57:49 +01:00
David Dormagen a10c9316ef renamed DynamicParticles* to Particles* and CreateParticleEx to CreateParticle 2013-12-17 22:32:01 +01:00
Tobias Zwick 44f1887003 split up Plants library into crop (harvestable), tree (choppable) and plant (plant reproduction)
This should make the plants not overloaded with functionality so that odd stuff like #904 can happen. I think the plants need more cleanup still.
2013-12-05 11:23:22 +07:00
David Dormagen a4d27cd9a9 replaced Dust and Dust2 usages with new particle system 2013-11-26 21:24:56 +01:00
Martin Plicht 20404fefc4 Tree_Coniferous_Burned: Call KeepArea using ->~ since Tree_Coniferous_Burned does not actually have KeepArea (not including Library_Plant) 2013-10-14 07:12:38 +02:00
Tobias Zwick 8f752d1d9e clean up files, make non-transparent textures high-quality JPEGs 2013-05-26 16:48:12 +02:00
Armin Burgmeier f4ae57174c Disable depth_check for coniferous trees
As suggested by Andriel here:
http://forum.openclonk.org/topic_show.pl?pid=22853#pid22853

This should give a more correct rendering since the faces are ordered
already anyway for correct alpha blending. The problem otherwise is that
faces write to the depth buffer even if they are mostly transparent, and
nothing can go underneath.
2013-03-31 17:14:13 +02:00
Sven Eberhardt 4cdbd8641c Rebalanced wood usage so you need fewer trees to get a settlement started.
* Wind generator down to 3 wood, 1 metal
* Flagpole down to 3 wood, 1 metal
* Sawmill down to 1 wood, 4 rock
* Trees give 5 wood (that's still 2 wood with direct chopping) to make the sawmill even more efficient
* Reduce maximum number of trees by ~20%, because trees tend to cause so much lag
* Reduce amount of power needed by sawmill to make sure one wind generator is enough even with moderate wind conditions
2012-12-17 13:52:53 +01:00
Charles Spurrill 0db2b7f47d #858: Palm trees no longer drop coconuts after being chopped down 2012-11-05 18:09:21 -08:00
Armin Burgmeier 8cd4086a97 Drop all but first texture coordinate set from mesh files
The second set is not used in any mesh, and it is not implemented engine-wise
anyway. This gets rid of the FIXMEs message when a mesh with more than one
texture coordinate set is being loaded.
2012-10-28 12:18:18 +01:00
Charles Spurrill d018da592e new uv for coniferous tree 2012-10-23 21:18:22 -07:00
Felix Wagner 45a4651b67 Reenabled default damage reaction to coniferous (#820) 2012-10-15 01:58:00 +02:00
David Dormagen 2631e05daa added burned graphics for the Coniferous 2012-10-14 21:51:21 +02:00
Maikel de Vries 9a18538ac1 Coconut tree: fixed some more issues 2012-08-11 18:56:35 +02:00
Charles Spurrill 0afe958618 Fixed coconut tree to procreate properly 2012-08-09 17:41:46 -07:00
Charles Spurrill 5ddf912294 Added coconut/palm tree 2012-07-23 12:44:07 -07:00
Koronis c57f05a44f improved tree falling animation and sound 2012-07-22 21:15:49 +02:00
Felix Wagner e461e50f75 added foreground param to Tree_Coniferous' Place() 2012-06-07 18:29:07 +01:00
Maikel de Vries 5c351a0eae Made plant reproduction is more realistic
Plants don't grow as n! and prefer not to grow at the same location.
2012-05-06 13:33:39 +02: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
Bernhard Bonigl c836de2092 Reverted Trees offset to normal.
Backed out changeset: 3e1d78fa02b9
2012-04-21 17:11:49 +02:00
Bernhard Bonigl 1d57376875 Set Trees offset to the bottom. They actually grow UP now, instead from the center outwards. 2012-04-17 14:28:55 +02:00
Bernhard Bonigl 657782cfb6 Fixed Conifers changing rotation on 100 Con instead on construction
StartGrowth now applies a random time-offset so trees don't grow simultanously.
2012-04-17 14:06:40 +02:00
Maikel de Vries 21ba812d06 Moved Vegetation from Environment to Objects 2012-04-08 20:55:03 +02:00