Welcome Guest [Log In] [Register]






Shoot a firework rocket ~ Winners!
Make a forum zoo!

Welcome to The Round Table. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Object on grid
Topic Started: May 14 2018, 06:52 PM (73 Views)
Lucoshi
Member Avatar


I'm coding some objects but am having some problems. I want to have an object be aligned to a 1x1 grid, but still be placeable in the same tile multiple time, so say if I have an object on the corner of a tile, I want to be able to rotate it into all four directions and be able to place it in that exact same tile.

Currently the objects are on the grid, but I can't place multiple of them on the same tile. I looked around in the files of placement hacks but those just get the objects off of a grid. Is this the only solution?

I'm guessing it's somewhere in the <ZTPlacementData> or <BFGCollisionData> lines but I can't seem to figure it out.

Thanks in advance!

Current Line of code
Edited by Lucoshi, May 14 2018, 07:37 PM.
Offline Profile Quote Post Goto Top
 
SLGray
Member Avatar


Have you looked at Snwoleo's hacks? I can place a plant or tree multi-times in the same grid.
Edited by SLGray, May 15 2018, 02:17 AM.
Offline Profile Quote Post Goto Top
 
Lucoshi
Member Avatar


Can't seem to find what does the trick but Snowleo's Combi patch does indeed make it work! Thanks!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Help & Support · Next Topic »
Add Reply