[NPC Pack] SMM Bob-Omb

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

[NPC Pack] SMM Bob-Omb

Postby Emral » Thu Jun 27, 2019 2:06 pm

Refurbished from Juggle Physics, updated to modern standards.

A download link can be found here:
https://drive.google.com/file/d/1WU8DMb ... sp=sharing

Demo:
https://www.youtube.com/watch?v=iuFO-R_ISsY
0:20

Installation instructions can be found in the handbook or in my thread.

Modifications and adaptations of the code is permitted. If you use this particular code as a basis for an enhanced version of these NPCs, please give credit.

NPC codes:
stunID: ID the NPC turns into when stunned (835 | 837)
radius: explosion area of effect radius (48 | 96)
timer: explosion timer (280)

smmbomb.lua:
smmbomb.registerHotNPC(id)
smmbomb.unregisterHotNPC(id)
Registers/unregisters an NPC ID from the "if the bomb touches this, it gets ignited" table. The default table includes the following IDs:
13,108,246,276,85,87,260,12,210,259,206,282, 356, 307, 308, 348, 351, 359, 358, 359, 362, 384, 385, 390, 402, 414, 589, 590, 667

Return to “LunaLua”

Who is online

Users browsing this forum: ShineBlaster and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari