LunaLua Offical Thread - SMBX Usermod Framework

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?

Shall I steam some LunaLua live development?

Yes
200
92%
No
17
8%
 
Total votes: 217
lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Tue Feb 09, 2016 8:22 pm

I redux hud in lua, yep almost all hud and in HD, when the player is changed the hud will change depending of the
game of the character :) the HUD will be highly configurable and can be modified with my Cheats Menu I presented
previously :) (can be standalone also!) I forgot to say it's a W.I.P. no release for now but maybe soon :D

PS: Time clock is not working I dont know how to get the real time clock in Lua (I mean the death clock)
and Dragon Coins also not sure how to add this functionnality if some one have an idea :D
Gauge, Reserve and bomb also not working but maybe in a later version :D

I present SmartHud HD 2016


TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 12:16 am

lotus006 wrote:I redux hud in lua, yep almost all hud and in HD, when the player is changed the hud will change depending of the
game of the character :) the HUD will be highly configurable and can be modified with my Cheats Menu I presented
previously :) (can be standalone also!) I forgot to say it's a W.I.P. no release for now but maybe soon :D

PS: Time clock is not working I dont know how to get the real time clock in Lua (I mean the death clock)
and Dragon Coins also not sure how to add this functionnality if some one have an idea :D
Gauge, Reserve and bomb also not working but maybe in a later version :D

I present SmartHud HD 2016

I need somebody to help me its kinda request make a Metroid style in HD I'll show you an image that I want it to look like you see the stars changes to hearts
Spoiler: show
Image
please and make it perfect on make sure its compatible for Windows 10 cuz I have that

I know to you what type of LunaLUA_0.7.3-beta oh it will function in and before I forgot make sure Mario every time you get hurt and blinks

I need somebody to help me its kinda request make a Metroid style in HD I'll show you an image that I want it to look like you see the stars changes to hearts

please and make it perfect on make sure its compatible for Windows 10 cuz I have that

I know to you what type of LunaLUA_0.7.3-beta oh it will function in and before I forgot make sure Mario every time you get hurt and blinks the next thing is it has to be in the center the next thing is I don't know how to create code LunaLUA because I'm not that good at all that is why I want somebody to do it for me

if you are getting confused here it example of a video here



Image
Last edited by TvGameSmwSmbx on Wed Feb 10, 2016 4:07 pm, edited 1 time in total.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Wed Feb 10, 2016 12:43 am

@ TvGameSmwSmbx

Sure I can try it thanks for the suggestion :D
and its compatible with 7 and 10 and should with xp dont worry :P
this shouldnt be hard to do! but just few question for you about this Hud,

1 star = 99 Energy ? , and what is the "Bx[ ]" thing beside the clock and
about the multiplier at the right where is x171 what is based on ?
and the small dot under the clock what is for ?

TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 12:51 am

lotus006 wrote:@ TvGameSmwSmbx

Sure I can try it thanks for the suggestion :D
and its compatible with 7 and 10 and should with xp dont worry :P
this shouldnt be hard to do! but just few question for you about this Hud,

1 star = 99 Energy ? , and what is the "Bx[ ]" thing beside the clock and
about the multiplier at the right where is x171 what is based on ?
and the small dot under the clock what is for ?

you talking about the number data stuff streaming

99 live full is for Mario to survive
Last edited by TvGameSmwSmbx on Wed Feb 10, 2016 12:55 am, edited 1 time in total.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Wed Feb 10, 2016 12:54 am

the red letters changing B to A and the red circle also beside the red square on the middle top

TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 12:56 am

that's a kind of bug that's still needs to be fixed in

any more questions you want to ask

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Wed Feb 10, 2016 12:58 am

and about the star at the left and the score multiplier ?

TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 12:59 am

lotus006 wrote:and about the star at the left and the score multiplier ?

This for your life the amount of life that you have

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Wed Feb 10, 2016 1:03 am

I know be more specific ,
1 star , its equal to 99 energy ?
and the Score Multiplier ? is based on what ?

TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 1:06 am

lotus006 wrote:I know be more specific ,
1 star , its equal to 99 energy ?
and the Score Multiplier ? is based on what ?
I know what does that mean that is your high score

and the next thing is the coin as well as to collect

Edit I send you a message telling you the proper way I might not be on my computer in case to let you know because I'll be sleeping cuz I was up all night and please work on it because I'm pretty worried right now like badly Sophie's I want to do because I'm kinda working on a project this is why I won this created for the reason why

TvGameSmwSmbx
Banned
Posts: 22
Joined: Wed Jan 08, 2014 11:41 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby TvGameSmwSmbx » Wed Feb 10, 2016 4:08 pm

@lotus006

Here it goes whose the star is for the 99 life for Mario to survive and the number in the score is your high score in Japanese drawing is the coin collector and the AB is your streaming

Sorry for the confusion you see I'm not. Good with typing sometimes if I know I try my best to give you a good example and if it still confused I might look up a video on youtube for it before I forgot the little box that is your item stuff
Spoiler: show
Image
Spoiler: show
Spoiler: show
Spoiler: show
Image


I'm really sorry for this if you know if things are so confusing and the next thing is I'm not. Need in English I listen to a lot of different mean in different languages and I don't speak. Proper sometimes please make this for me because I'm working on a project and I needed this

plus I try my best to give you an information

if you still don't understand I have a friend in the Smw website he's helping me giving me information

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Fri Feb 12, 2016 5:09 pm

TvGameSmwSmbx wrote:@lotus006

Here it goes whose the star is for the 99 life for Mario to survive and the number in the score is your high score in Japanese drawing is the coin collector and the AB is your streaming

Sorry for the confusion you see I'm not. Good with typing sometimes if I know I try my best to give you a good example and if it still confused I might look up a video on youtube for it before I forgot the little box that is your item stuff
Sorry for not replying sooner but I see your msg and I will soon try to do this :)


I have a question to Kevsoft:

I find (never see before maybe the others they have) in the menu the hand and the hand can interact in the game when the demo is running
maybe we can get offset of this hand to have a menu working in game and also implanting right click and left click :)
is that can be possible ? and if you have this offset adress can you post them ?

Thanks in advance :D

Kevsoft
Ripper II
Ripper II
Posts: 375
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby Kevsoft » Sat Feb 13, 2016 1:46 am

lotus006 wrote: I find (never see before maybe the others they have) in the menu the hand and the hand can interact in the game when the demo is running
maybe we can get offset of this hand to have a menu working in game and also implanting right click and left click :)
is that can be possible ? and if you have this offset adress can you post them ?
Would be possible. I just would need to investigate that.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Sat Feb 13, 2016 9:38 am

Kevsoft wrote:
lotus006 wrote: I find (never see before maybe the others they have) in the menu the hand and the hand can interact in the game when the demo is running
maybe we can get offset of this hand to have a menu working in game and also implanting right click and left click :)
is that can be possible ? and if you have this offset adress can you post them ?
Would be possible. I just would need to investigate that.
I just started to play around Cheat Engine and I found the Hand Position X but I can't find for the Y :(

Code: Select all

 mem(0x0615C5510, FIELD_DFLOAT)  -- Hand Position X

Nat The Porcupine
Monty Mole
Monty Mole
Posts: 123
Joined: Tue Nov 10, 2015 2:55 pm

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby Nat The Porcupine » Sat Feb 13, 2016 10:00 am

I don't suppose there's any way as of yet to load custom player animation configurations from an ini file into smbx the same way that "loadHitboxes" can for player hitbox configurations, is there?

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby lotus006 » Sat Feb 13, 2016 11:44 am

Nat The Porcupine wrote:I don't suppose there's any way as of yet to load custom player animation configurations from an ini file into smbx the same way that "loadHitboxes" can for player hitbox configurations, is there?
Probably but we need for someone who write this api for us :D for now I dont think so :(

yay I find the offsets value of the X and Y Pos of the hand :D, now I need to find offsets value of buttons pressed !

Code: Select all

mem(0x00B2C128, FIELD_WORD) -- Hand X Pos
mem(0x00B2C12C, FIELD_DFLOAT) -- Hand Y Pos

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby PixelPest » Sat Feb 13, 2016 11:58 am

How can I destroy a spawned NPC when it collides with a block? Can't find anything in the documentation. The NPCs are spawned using Lua at random intervals.

underFlo
Wart
Wart
Posts: 4456
Joined: Mon Jul 14, 2014 10:44 am
Flair: sup im lesbiab
Pronouns: They/She
Contact:

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby underFlo » Sat Feb 13, 2016 12:05 pm

Code: Select all

for _,v in pairs(NPC.Get(NPCID,player.section) do
	if Blocks.getIntersecting(v.x - 1,v.y - 1,v.x + v.width + 1,v.y + v.height + 1) ~= {} then
		v:kill()
	end
end

PixelPest
Link
Link
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby PixelPest » Sat Feb 13, 2016 12:07 pm

Spinda wrote:

Code: Select all

for _,v in pairs(NPC.Get(NPCID,player.section) do
	if Blocks.getIntersecting(v.x - 1,v.y - 1,v.x + v.width + 1,v.y + v.height + 1) ~= {} then
		v:kill()
	end
end
Thanks Spinda.

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

Re: LunaLua Offical Thread - SMBX Usermod Framework

Postby Emral » Sat Feb 13, 2016 12:08 pm

There's also NPC.collidesBlock(Bottom/Left/Top/Right), which are boolean values for each direction.

If you wanna kill NPCs at the ceiling you can check for
if NPC.collidesBlockTop then
v:kill()
end


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari