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
Destiny
Volcano Lotus
Volcano Lotus
Posts: 572
Joined: Tue Apr 22, 2014 2:40 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Destiny » Wed Jul 29, 2015 9:49 am

Luigifan2010 wrote:why don't you have drivers installed
A faggot formatted my PC without knowing what he was doing.

Axiom
Foo
Foo
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Axiom » Wed Jul 29, 2015 12:28 pm

Sirius wrote:
Luigifan2010 wrote:why don't you have drivers installed
A faggot formatted my PC without knowing what he was doing.
well why don't you reinstall them

Destiny
Volcano Lotus
Volcano Lotus
Posts: 572
Joined: Tue Apr 22, 2014 2:40 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Destiny » Wed Jul 29, 2015 1:02 pm

Luigifan2010 wrote:
Sirius wrote:
Luigifan2010 wrote:why don't you have drivers installed
A faggot formatted my PC without knowing what he was doing.
well why don't you reinstall them
I don't have them

Axiom
Foo
Foo
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Axiom » Wed Jul 29, 2015 1:04 pm

...
why don't you just download them from the manufacturer's website....

Destiny
Volcano Lotus
Volcano Lotus
Posts: 572
Joined: Tue Apr 22, 2014 2:40 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Destiny » Wed Jul 29, 2015 1:29 pm

i have a shitty intel 945g the only driver i found tells me i have 10.3.1.1550 version and the one being installed is 6.14.10.4926

fuck i hate being so noob i dont even know if im making it right

probably not

Imaynotbehere4long
Boomerang Bro
Boomerang Bro
Posts: 1389
Joined: Thu Jan 23, 2014 3:00 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Imaynotbehere4long » Wed Jul 29, 2015 5:31 pm

Wohlstand wrote:
Imaynotbehere4long wrote:Just curious: is there a way to play custom music on the world map (like maybe an ini file that says "instead of "smb3-world1.mp3", play this")? All I can find relate to custom music in levels.
Spoiler: show
1) put "play this.ogg" file in your episode folder [you also can make subfolder and put file into it. For example, "World music"]
2) make music.ini file (or copy from smbx folder, it must be in the examples)
then add filename "play this.ogg" or "World music/play this.ogg" if you was put file into sub-folder:

Code: Select all

[world-music-1]
name="SMB3 World 1"
file="World music/play this.ogg"
full list of music ID's:
http://engine.wohlnet.ru/docs/_SMBX64/O ... 20list.pdf
if you wanna customize world music, make INI sections with "world-music-ID" (where ID put actual ID number of necessary music file), if you wanna customize special music (such P-Switch themes, credits music) feel free to put "special-music-ID" section, and "level-music-ID" to customize default level music files
Thanks, it worked! I had a feeling the solution was that simple...

SMBXxer
Panser
Panser
Posts: 1023
Joined: Fri Dec 20, 2013 4:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby SMBXxer » Thu Jul 30, 2015 4:34 am

I got this working, but then I tried to open a level, and I got a runtime error: Divide by Zero.
Help?

Wohlstand
Van De Graf
Van De Graf
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Wohlstand » Thu Jul 30, 2015 6:45 am

SMBXxer wrote:I got this working, but then I tried to open a level, and I got a runtime error: Divide by Zero.
Help?
Are you tried to open another level? or check level file in the notepad

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: Lucky Screenshot Thread 777

Postby MECHDRAGON777 » Thu Jul 30, 2015 4:33 pm

I can not delete this message, but I posted it in the wrong topic!
Last edited by MECHDRAGON777 on Thu Jul 30, 2015 7:21 pm, edited 1 time in total.

SuperYoshiLol
Koopa
Koopa
Posts: 18
Joined: Sun Jan 26, 2014 6:34 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby SuperYoshiLol » Thu Jul 30, 2015 5:07 pm

Sorry for bumping if I did.
But as I can see with the 1.3.0.2 thing, it uses a .org format for music.
Just for safety I recommend you change that due to '.org' being used by orgmaker for developing music in Cave Story and Azarashi made by Pixel. Unless that's what this is using. But I just thought it would safe to let ya' know.

SMBXxer
Panser
Panser
Posts: 1023
Joined: Fri Dec 20, 2013 4:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby SMBXxer » Thu Jul 30, 2015 8:57 pm

Wohlstand wrote:
SMBXxer wrote:I got this working, but then I tried to open a level, and I got a runtime error: Divide by Zero.
Help?
Are you tried to open another level? or check level file in the notepad
I tried to open a SMBX level file.

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

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Kevsoft » Fri Jul 31, 2015 1:27 am

SuperYoshiLol wrote:Sorry for bumping if I did.
But as I can see with the 1.3.0.2 thing, it uses a .org format for music.
Just for safety I recommend you change that due to '.org' being used by orgmaker for developing music in Cave Story and Azarashi made by Pixel. Unless that's what this is using. But I just thought it would safe to let ya' know.
1.) Not sure if you messed something up, but I don't know that ".org" file format. Did you mean ".ogg"?
2.) And what's the problem with using the ogg file format? I don't understand your concerns.

lighthouse64
Charged Spiny
Charged Spiny
Posts: 1804
Joined: Sat Apr 26, 2014 6:28 am

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby lighthouse64 » Sat Aug 01, 2015 7:57 am

I have a question :3. How do I change the value of gravity from a negative to positive then positive to negative every time the player jumps?

HenryRichard
Birdo
Birdo
Posts: 2843
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby HenryRichard » Sat Aug 01, 2015 1:13 pm

lighthouse64 wrote:I have a question :3. How do I change the value of gravity from a negative to positive then positive to negative every time the player jumps?
Not too hard, it just doesn't work that well - I have difficulty moving on the ceiling.

Code: Select all

function onKeyDown(keycode, playerindex)
	if(keycode == KEY_JUMP) then
		gravity(gravity() * -1);
	end
end
EDIT:
Is there a way to check if the player is in the air?

SMBXxer
Panser
Panser
Posts: 1023
Joined: Fri Dec 20, 2013 4:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby SMBXxer » Mon Aug 03, 2015 6:47 pm

SMBXxer wrote:I got this working, but then I tried to open a level, and I got a runtime error: Divide by Zero.
Help?

PersonNamedUser
Birdo
Birdo
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby PersonNamedUser » Mon Aug 03, 2015 9:23 pm

How do i get this code to work?

Code: Select all

function onLoop()
   --if player is holding glow
if player.holdingNPC '158' then
 printText("Glow:Put me Down!", 0, 0)
end
Can someone give me a working code?

XerX
Foo
Foo
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby XerX » Mon Aug 03, 2015 9:25 pm

SuperMario12345 wrote:How do i get this code to work?

Code: Select all

function onLoop()
   --if player is holding glow
if player.holdingNPC '158' then
 printText("Glow:Put me Down!", 0, 0)
end
Can someone give me a working code?
if(player.holdingNPC == 158) then

PersonNamedUser
Birdo
Birdo
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby PersonNamedUser » Mon Aug 03, 2015 9:28 pm

XerX wrote:
SuperMario12345 wrote:How do i get this code to work?

Code: Select all

function onLoop()
   --if player is holding glow
if player.holdingNPC '158' then
 printText("Glow:Put me Down!", 0, 0)
end
Can someone give me a working code?
if(player.holdingNPC == 158) then
I mean a working full code

XerX
Foo
Foo
Posts: 1487
Joined: Fri Dec 20, 2013 3:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby XerX » Mon Aug 03, 2015 9:32 pm

SuperMario12345 wrote:
XerX wrote:
SuperMario12345 wrote:How do i get this code to work?

Code: Select all

function onLoop()
   --if player is holding glow
if player.holdingNPC '158' then
 printText("Glow:Put me Down!", 0, 0)
end
Can someone give me a working code?
if(player.holdingNPC == 158) then
I mean a working full code
Just replace that one line.

Code: Select all

function onLoop()
   --if player is holding glow
   if(player.holdingNPC == 158) the
      printText("Glow:Put me Down!", 0, 0)
   end
end

PersonNamedUser
Birdo
Birdo
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby PersonNamedUser » Mon Aug 03, 2015 9:45 pm

SuperMario12345 wrote:
XerX wrote:
SuperMario12345 wrote:How do i get this code to work?

Code: Select all

function onLoop()
   --if player is holding glow
if player.holdingNPC '158' then
 printText("Glow:Put me Down!", 0, 0)
end
Can someone give me a working code?
if(player.holdingNPC == 158) then
I mean a working full code
Just replace that one line.

Code: Select all

function onLoop()
   --if player is holding glow
   if(player.holdingNPC == 158) the
      printText("Glow:Put me Down!", 0, 0)
   end
end
[/quote]
For some reason it won't come up when i pick him up. What do i do?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari