Posted on 08-09-16, 12:23 am (rev. 3 by MK7tester on 08-09-16, 12:30 am)

Cheep-cheep
Forgot his password


Posts: 105/197
Since: 03-28-16

Last post: 247 days
Last view: 214 days
Hey, today i'll talk about how to use the GenerateChildren property in the level editor, which is used for many objects including Warp Boxes, Tanooki Tail Spinners, and Red Rings/Red Coins

ChildObj basically links objects to eachother for multiple different purposes, depending on the objects.

---

First of all, add your object that you will be using GenerateChildren with, in this case, I added a GroundRiserAttachment (Tanooki Tail Spinner) which is considered the "parent" object in this case.



Then, you want to go to the sidebar containing the objects properties. Click "Add Property" and put in "GenerateChildren" for the name and "C0 list" for the Value Type.



Then, GenerateChildren will appear on the sidebar within your objects properties. Click on it, and then click on the "..." button.



From here as you can see, you can edit the C0list. These are the child objects. You can add objects you want, and double click to edit their coordinates. In this case, the Sky Block is the children object of the Ground Riser Attachment. In similar cases, Red Coins would be the children object of Red Rings.



And believe it or not, that's pretty much it. GenerateChildren is a very handy feature for linking objects together. However, it is a bit frusterating that you can't move around the children objects without editing their coordinates. Oh well


Oh, one last thing. For WarpPorters, the child object is another WarpPorter. This will be the destination of the mystery box.
Posted on 09-17-16, 10:52 am
Normal user


Posts: 43/107
Since: 07-02-16

Last post: 93 days
Last view: 21 days
Cool. But there exist a really faster way to add Children objects. Just take a normal object, that should be used as a children. Make a right-click on the properties and copy the whole object. Now go to the object, that should contain the other object as children. Again, just make a right-click and paste the object, you just have copied, and it will automatically create generatechildren property with object
That makes it easier to add children objects, since it is annoying to edit children objects, even on the latest version.
Posted on 09-17-16, 05:20 pm

Cheep-cheep
Forgot his password


Posts: 173/197
Since: 03-28-16

Last post: 247 days
Last view: 214 days
Yeah, I wrote this tutorial a while ago, before I knew about that.