Trees and FeatureDefs

Trees and FeatureDefs

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Trees and FeatureDefs

Post by Argh »

Trees used to be a valid FeatureDef. Now they aren't. Have they been made entirely inacessible to Lua? The tree-planting features of World Builder (both procedural forests and hand-paint) has been broken for awhile, I disabled them, and I was thinking I'd fix it... but a review of the FeatureDefs reveals that treetype1 --> 16 simply aren't there any more.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Trees and FeatureDefs

Post by jK »

Tested it, everything fine here.

Your custom featuredefs must be broken. (does `/give treetype1` work?)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Trees and FeatureDefs

Post by Argh »

/give treetype1 fails, over here.

So... I'm not manipulating the featureDefs via Lua... maybe I'm missing a bitmap or something. I will check that out.

Aha! Was missing the grass textures. Apparently that was enough to break it.
Post Reply

Return to “Engine”