Jump to content

Recommended Posts

Posted

Hello!  Is there a way that I can access a Village structure so I can create new buildings?  I DO NOT mean adding new modded buildings to a village:  I want to be able to essentially "expand" villages that have been generated.  I've looked through the events, but I couldn't find one that pertains to my situation.  Any ideas?

Posted

I don't think that's what I need.... I was thinking of just saving the mapping or whatever villages use when they generate for the modulation and then just referencing that whenever I need it, but I'm not entirely sure that this is something that you can do without editing base classes...... :P  I might be able to do it with reflection whenever a village generates but I'm not entirely sure if this would work.

Posted

It is modulated by randomness and bounding boxes.

A village is built from a start piece, then the generator iterates over a list of weighted structure pieces.

See StructureVillagePieces class.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

By using this site, you agree to our Terms of Use.