Тёмный

SMBX2 - Advanced Tutorials - How to make your own NPC Pack (Part 1) 

Emral
Подписаться 1,3 тыс.
Просмотров 20 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@ivanmegafanboy1981
@ivanmegafanboy1981 5 лет назад
Ok, time to remove my rust accumulated. How neat it is that there are still efforts to make a library of resources to use for beta 3? Very nice, this will be very useful.
@steveminecraft937
@steveminecraft937 4 месяца назад
how would i change the death sprite to something else?
@Sammymon
@Sammymon Месяц назад
Is there any easier method of making custom NPCs? If I can edit their size, health, death sprites, and other properties, that'd be really helpful. Everytime I tried to modify the size of an NPC, it just gave the sprite another head & glitches out. Then the health doesn't work... For example, I made a light green Goomba called; Goombario. Goombarios are just light green Goombas that are faster (Speed: 1.15x), size (x2), smarter (they don't walk off cliffs), & healthier (Requires 3 Hits to kill instead of 1) The speed works fine, and so does the cliff feature, but the health still does 1 hit, and the size just completely glitches out. I really want to use SMBX2 to make my own game sometime down the line as it has so much more features compared to SMBX 1.4.5, but I also want to use Custom NPCs for enemies, bosses, etc. If there is any easier method, could you perhaps guide me in the right direction or make a video about it please? Any help would be appreciated at this point. It's really confusing trying to follow along here & it seems rather outdated. Thanks!
@Coldcolor900
@Coldcolor900 5 лет назад
can you do a tutorial on custom powerups? im trying to make a double cherry
@LayerMM12P
@LayerMM12P 5 лет назад
Not really since there isn't a basegame framework for custom powerups, so it'd just be a duplicate of this epsiode ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yWfv8RkAKSI.html
@ruskii_is_off
@ruskii_is_off Месяц назад
hey, a little question, do you have a list of all the custom properties in an npc? if so, can you hand them over please? thanks
@officialteamsombie
@officialteamsombie 5 лет назад
thanks enjie
@husklyman
@husklyman 5 лет назад
In data/scripts/NPCs I try to find the script of the skewers for my custom npc, what name I need to search?
@LayerMM12P
@LayerMM12P 5 лет назад
skewers don't yet use the npc-n system, so the file is megaspike.lua. This file is unlikely to exist in future versions, when the NPC code gets transitioned to the npc-n system.
@hansiza9701
@hansiza9701 4 года назад
I want do do Superball flower but I don't know how
@dashelscott2152
@dashelscott2152 4 года назад
I can't seem to find certain npcs' lua files in data/scripts/NPCs, for example Larry Koopa doesn't seem to be there. Where are those located?
@LayerMM12P
@LayerMM12P 4 года назад
There are no lua files for NPC IDs below 293.
@thatdudewiththeplant
@thatdudewiththeplant 3 месяца назад
Hey bro, I am making my own bone goomba, how can I make it have a death sprite like the normal goomba?
@CPG7699
@CPG7699 3 месяца назад
why do you have a red snalicorn in your item box?
@eue550
@eue550 3 года назад
Hey! i know i'm kind of late to ask questions, but i did everything with the sprite image and the .ini file, but when i go to the editor to add a tileset, it does not appear. Anyone knows how to fix this? (and sorry for the poor english, i'm from brazil :P)
@SuperMarioWar17
@SuperMarioWar17 Год назад
I have a custom NPC I want to use but I can't get it to make it visible. Help?
@justanotherspookyskeleton
@justanotherspookyskeleton 9 месяцев назад
I'm trying to make a custom NPC that is pretty much just a coin with gravity, however when "iscoin" is set to true it doesn't fall. I fixed this by applying "v.speedY = 6" but now it doesn't collide with anything, it simply goes through walls and floors, is there any way i can fix this?
@LayerMM12P
@LayerMM12P 9 месяцев назад
coins have gravity if their .ai1 = 1 docs.codehaus.moe/#/reference/npc-ai#10-33-88-103-138-152-251-252-253-258-274-411-558-coin-or-any-other-npc-with-iscoin-set
@alonso1841
@alonso1841 2 года назад
I Will see the tutorial lather, because now i dont have time, but i Wanna to question somethings: It work in the beta 4? And the other question, can I Made the npc a boss? I say it survive to varius jumps, fireballs or Strong items I promise when i have time im goma see the 2 tutorials parts Sorry for my bad english
@thenewguyinred
@thenewguyinred Год назад
Hey can you help me? I'm having a hard time trying to add the Kirby's Mass Attack NPCs from your Collection File 5 on my level files. can you be very specific on how I add them in?
@godzillafan5977
@godzillafan5977 3 месяца назад
I downloaded a npc pack but it won't show up what folder do I put it in?
@owenwalker9734
@owenwalker9734 25 дней назад
He did another video on this, but you need to put it in a level file
@nariobrosshow
@nariobrosshow 3 года назад
Thanks
@KurttheKing
@KurttheKing 2 года назад
This is great! Question: is it possible to change an enemy's hitpoints, and if so, how?
@LayerMM12P
@LayerMM12P 2 года назад
Build a hitpoint system from scratch, using onNPCHarm and the data table to store a HP variable. Scripts like lighthitpoint.lua do this to apply to all NPCs.
@KurttheKing
@KurttheKing 2 года назад
@@LayerMM12P OK, thanks!
@bartoszpichura
@bartoszpichura Год назад
how to do it? @@LayerMM12P
@jess648
@jess648 5 лет назад
Hey uh Enji do you think it would be a good idea to make a new LunaLua library specifically for Touhou styled danmaku because there are a lot Touhou fans on the Talkhaus forum?
@LayerMM12P
@LayerMM12P 5 лет назад
I don't know? Create whatever is interesting to you.
@jess648
@jess648 5 лет назад
@@LayerMM12P I have no knowledge of Lua whatsoever. Guess i'll start now! The library would called like DanmakuX or something
@sydeguy1332
@sydeguy1332 Год назад
this is a good tutorial but i wanna make nsmbu mario but I dont know how to change the textures and add new frames so i can use all frames from the actual spritesheet. any advice??
@LayerMM12P
@LayerMM12P Год назад
NSMBU has so many frames you essentially need to use animatx2 and make your own spritesheet format. GLHF
@RealMrDude
@RealMrDude 3 года назад
hey Enjl. the custom sprite is not on its custom sprite proirity. it still in its dummy thing.
@LayerMM12P
@LayerMM12P 3 года назад
set the image argument in the ini file to fix that. press f8 to refresh in the editor afterwards. See 1:50 in the video.
@Ghost-Song7714
@Ghost-Song7714 3 года назад
Ok, but is there a video on how I can replace a character’s sprites with custom sprites? (I just wanna play as Kirby)
@LayerMM12P
@LayerMM12P 3 года назад
Copy the spritesheets to your episode folder and edit them in an image editing software. If you need to change the hitboxes use the data/pge/pge_calibrator.exe t ool.
@azzorava
@azzorava 2 года назад
@@LayerMM12P i tried doing this myself for a sprite sheet for little Mario but it always ended up not working and when ever tried to pick up somthing it justs goes below the player (do you know how i could fix this?)
@DanielFrias6388
@DanielFrias6388 Год назад
I'm testing the PGE editor for a new map under construction: Hello mate, how are you, Well it turns out that I am building a new configuration for my Super Mario Bros x, but I have a problem and it is the range of the items. To what extent would you advise me to use these ranges if it is the case of adding some new ones. I have been looking at your videos and they are very important when building a new configuration, only that in my case, when I start the game and the items added it gives me some errors about the limit range and that is that I have tried previous configurations and the limit of these ranges for the items is 100, what would you advise me to solve these problems.
@LayerMM12P
@LayerMM12P Год назад
There are no custom ranges for map items as of the writing of this reply.
@DanielFrias6388
@DanielFrias6388 Год назад
The problem starts when I start the game, an error appears where it says that there is a range limit on the items in the game, in those cases what I am looking for is the solution, I don't know if you knew about this kind of error, sorry.
@LayerMM12P
@LayerMM12P Год назад
@@DanielFrias6388 Again, the solution is to not mess with the configuration or try to add items outside of the limits.
@codysantocildes3178
@codysantocildes3178 5 лет назад
How do i open a lunalua file?
@seba2366
@seba2366 4 года назад
21:33 Sethbling?
@LayerMM12P
@LayerMM12P 4 года назад
Who?
@Bluemantopvids
@Bluemantopvids 4 года назад
Enjl sethbling
@StarPursuit
@StarPursuit 2 года назад
Is it possible to use NPCs from vanilla SMBX as a base for this? I'm looking to make a modified coin, but none of vanilla NPCs (including coins) have associated lua files in the game's files.
@LayerMM12P
@LayerMM12P 2 года назад
1.3 NPCs are coded in the SMBX source code, which uses Visual Basic 6 as its programming language. Coin code is basically everything with NPCIsACoin (equivalent to the iscoin npc config), as well as .Type = ID checks where ID is the exact ID you want to look for (like 10). github.com/smbx/smbx-legacy-source/blob/master/modNPC.bas
@StarPursuit
@StarPursuit 2 года назад
​@@LayerMM12P Well, since 1.3 NPCs can't easily be copy/pasted, would it instead be possible for me to use lua to add properties to existing NPCs? Specifically, I'd like to make the SMW blue coin give out 10 coins instead of 5, as well as playing the Dragon Coin sound effect instead of the normal coin sound.
@LayerMM12P
@LayerMM12P 2 года назад
​@@StarPursuit You can use these to change the value of a kind of coin, including Rupees. docs.codehaus.moe/#/reference/defines#coin-settings It is not possible to change the sound of i.e. the blue coin being collected, but you can have an onPostNPCKill function with an "if killedNPC.id == BLUE_COIN_ID and npcManager.collected(killedNPC, killReason) then" check, after which you do a SFX.play() to play the dragon coin sound. Must also remember to require npcManager at the top of the code.
@StarPursuit
@StarPursuit 2 года назад
@@LayerMM12P This works, but how can I set it up without overwriting a handler? If I use function onStart(), it overwrites the function onStart() which I already have in a different section of my luna.lua.
@LayerMM12P
@LayerMM12P 2 года назад
@@StarPursuit Merge the two. Put all the contents of your second onStart before the "end" of your first onStart.
@johwarly8279
@johwarly8279 Год назад
Is there a way to change the size of already existing NPCs in SMBX2? Specifically, making a small standard goomba that's already in the level editor super huge? Can this be done by simply increasing the gfx size and physical size to match? Or is it a bit more complicated than that?
@LayerMM12P
@LayerMM12P Год назад
You need to write a npc-n.txt file with some config options. Check the documentation for "npc config" or the data/_templates/npc-n.txt for reference. You could also look at the files of a level you like which does do something like what you described and try to dissect how it's done. NPC config has been the same since 2011.
@johwarly8279
@johwarly8279 Год назад
@@LayerMM12P Could one limit this to specific levels, or would changing things in this way result in the NPC changing size across ALL levels it is used in?
@LayerMM12P
@LayerMM12P Год назад
@@johwarly8279 just like with everything else smbx, files placed in the level folder affect only that level, while files placed in the episode folder affect all levels in the episode.
@johwarly8279
@johwarly8279 Год назад
@@LayerMM12P Thanks! On a different topic, have you by any chance made any custom Roto Disks as NPCs? I've asked a few others about this and they said they recall some packs of yours do contain one, but they're not sure. Specifically, that you made some Mario Forever or 38A style Roto Disks whose speed, direction and even movement pattern (circular, diamond, 3-leaf rose line & 4-leaf rose line) are customisable.
@LayerMM12P
@LayerMM12P Год назад
@@johwarly8279 check the toybox videos
@Fern_125
@Fern_125 4 года назад
hey can you help me ? i want to add a custom npc pack to smbx2 (a npc pack from the forums) i dont know how to add it or install, sorry for my bad english im chilean :P
@LayerMM12P
@LayerMM12P 4 года назад
There's a stickied topic for it on the forums
@elneanderthal7169
@elneanderthal7169 11 месяцев назад
What app is he using for the sprite sheet?
@LayerMM12P
@LayerMM12P 11 месяцев назад
getpaint.net
@elneanderthal7169
@elneanderthal7169 11 месяцев назад
@@LayerMM12P Thanks!
@nicolasalomone1518
@nicolasalomone1518 4 года назад
I have a dumb question how do i add this to my levels i i putted it in the folder but it did not appear And as extra i wanna add a pack that allows me to put secret walls like in nsmb for wii hope you help me enjil keep up the food work i love this game.
@drmekar
@drmekar 3 года назад
I can aswer your First Question. After putting everything (Image File, ini File, Lua Code) into the Folder, you also need to have a Tileset for it. Since it's not a Basegame NPCs Replacement, it doesn't appear in the Normal Categories.
@nariobrosshow
@nariobrosshow 3 года назад
Oh okay
@nariobrosshow
@nariobrosshow 3 года назад
How do you make a tile set
@nariobrosshow
@nariobrosshow 3 года назад
How do you make a Sprite sheet
@nariobrosshow
@nariobrosshow 3 года назад
Because mines won't let me remake the image
@luizdavidpaula2516
@luizdavidpaula2516 5 лет назад
Where do I download the SMBX2? (Sorry for my english)
@LayerMM12P
@LayerMM12P 5 лет назад
... the description? codehaus.moe link?
@luizdavidpaula2516
@luizdavidpaula2516 5 лет назад
@@LayerMM12P Thank you
@adzri3345
@adzri3345 5 лет назад
im tryna make a goombrat but im finding it hard any tips
@LayerMM12P
@LayerMM12P 5 лет назад
Goombrat is literally goomba (iswalker) with cliffturn. docs.google.com/spreadsheets/d/1arkr_h1r1ZABZFpc22mcbi2N8QDw3hjNsb_zA0BCKJk/edit#gid=1557876631
@adzri3345
@adzri3345 5 лет назад
@@LayerMM12P sorry im an idiot
@adzri3345
@adzri3345 5 лет назад
@@LayerMM12P hey is there a way to make a custom death animation/sprite coz i tried and it just gave me an error
@LayerMM12P
@LayerMM12P 5 лет назад
Ask on the forums and describe there in more detail what you tried.
@adzri3345
@adzri3345 5 лет назад
@@LayerMM12P ok thanks
@LuigiFan23
@LuigiFan23 4 года назад
How to make custom semisolid platform and block?
@EdFanSus
@EdFanSus 5 лет назад
its es em bee ex
Далее
What Not to Make in Super Mario Bros. X (SMBX) 2
15:34
Просмотров 129 тыс.
Тренд Котик по очереди
00:10
Просмотров 335 тыс.
The Most Impressive Scratch Projects
11:00
Просмотров 4,9 млн
This Level Editor Puts Mario Maker 2 to Shame
6:51
Просмотров 88 тыс.
SMBX 1.4.5 MEGA NPC PACK by Slash-18
15:53
Просмотров 5 тыс.
AI Plays Minecraft Forever (and dies)
23:22
Просмотров 373 тыс.
Make Your Own Raycaster Part 1
16:52
Просмотров 426 тыс.