Page 1 of 1

The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 11:06 am
by Jashthefuntime
Hi,i've recently downloaded the pre-build of beta 4 and i find it really cool. i've started using mario editor recently and i thought of making separate backgrounds for the hills so i could do custom looks of the hills. It was finally the time for me to use the dummies but i saw something weird...in beta 3 there were alot of dummy png files in the background folder but here there is only one dummy. can anyone tell me if there is something i have to do for replace 4 of the dummies?If they are still working on it and there is no way then i will return to beta 3 even if i have to say bye to the clear pipes and amazing things that are in this new version

Re: The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 11:34 am
by 1AmPlayer
Jashthefuntime wrote:
Sun Jun 16, 2019 11:06 am
Hi,i've recently downloaded the pre-build of beta 4 and i find it really cool. i've started using mario editor recently and i thought of making separate backgrounds for the hills so i could do custom looks of the hills. It was finally the time for me to use the dummies but i saw something weird...in beta 3 there were alot of dummy png files in the background folder but here there is only one dummy. can anyone tell me if there is something i have to do for replace 4 of the dummies?If they are still working on it and there is no way then i will return to beta 3 even if i have to say bye to the clear pipes and amazing things that are in this new version
the dummy sprites are used across all that currently has no image yet, so they're still there.

Re: The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 11:36 am
by Electriking
You can replace images in the 751-1000 range for BGOs, blocks and NPCs (as these won't be used by the devs). To make the image appear correctly in PGE, you will need to make a background-n.ini/block-n.ini/npc-n.ini files. You will need to include some information I.E for block-751.ini:

[block]
image = "block-751.png"
name = "New block"
group = "Special"
category = "New Blocks"

You can change the properties of BGOs by creating a background-n.txt file. To change how blocks function, you will need to do that in a luna.lua file. To give NPCs AI, you will need to create an npc-n.lua file and to change some other properties an npc-n.txt file.

The handbook gives some infromation about the .ini, background-n.txt, npc-n.lua and npc-n.txt files. Enjl's Lua tutorial videos includes videos about making NPCs as well. As for blocks you should check newblocks.lua in the blocks folder in the scripts folder to see how certain fuctionalities are given.

Re: The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 11:48 am
by Jashthefuntime
thanks for the help. Even if i don't know how to script,i'll take that extra help you gave me of the function thing. i can't know if i will ever learn the lua scripting

Re: The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 11:53 am
by ElmerMouseFan34
Jashthefuntime wrote:
Sun Jun 16, 2019 11:48 am
thanks for the help. Even if i don't know how to script,i'll take that extra help you gave me of the function thing. i can't know if i will ever learn the lua scripting
I think the lua scripts are needed just for the custom NPCs. The BGO don't need them (but I could be mistaken).

Re: The dummies in SMBX2MAGLX3

Posted: Sun Jun 16, 2019 12:03 pm
by Enjl
https://docs.google.com/document/d/1uOd ... fkqzuzb4lh

More people need to actually read this document.