Jump to content

Forests: multiple brush types save as one brush type


Recommended Posts

Posted

Just wondering if other people experience this: I have a forest in my level, and have added four different brush types and painted trees on the level. When I save it and then reload, all my trees have reverted to the first brush type. Started looking into the code but haven't worked out what I'm missing yet.

Posted

Yep, looks like a section of T3D where I'm gonna have to allocate some time, that's for sure...


I did finally where the actual placement logic happens (ForestBrushTool::_paint) so I can dig into further enhancements like avoiding roads, at least.

  • 3 months later...
Posted

OMFG... not a T3D bug, nothing to see here, everything's going just fine...


It turns out if you happen to be in a hurry with your copying and pasting, and for some inexplicable reason neglect to assign unique InternalNames to each of your TSForestItemData datablocks... then you will get all the same datablock when you reload, because that's what it uses.


On to the next one...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...