Search found 1016 matches

Go to advanced search

by Hoeloe
Tue Oct 08, 2019 3:49 pm
Forum: LunaLua Help
Topic: Creating/Loading .SAV files in LunaLua
Replies: 8
Views: 217

Re: Creating/Loading .SAV files in LunaLua

It's 0x00B2C62A, and it's a FIELD_WORD address. This does just change the internal save slot, and won't do any file loading if you change it. I also have no idea how it'll react to being changed mid-game, nor how it'll react to values larger than 3.
by Hoeloe
Tue Oct 08, 2019 12:13 pm
Forum: LunaLua Help
Topic: P-Switch effect Toggles on and off during a level
Replies: 8
Views: 140

Re: P-Switch effect Toggles on and off during a level

What is data here? You never define that, so you'll probably get an error saying you were "attempting to index a nil value" - that is, you tried to do: data.timer when data doesn't exist. That doesn't make sense, since it can't look for the timer field inside something non-existent, so it'll just er...
by Hoeloe
Tue Oct 08, 2019 12:10 pm
Forum: LunaLua Help
Topic: Creating/Loading .SAV files in LunaLua
Replies: 8
Views: 217

Re: Creating/Loading .SAV files in LunaLua

The current save slot is stored in memory, and that can be read out and modified, yes (the function Misc.inEditor uses it, since the editor uses save slot 0). Similarly, it is possible to just load and manually parse the .sav file if you want to do that, but I would strongly suggest against trying. ...
by Hoeloe
Mon Oct 07, 2019 11:02 pm
Forum: LunaLua Help
Topic: P-Switch effect Toggles on and off during a level
Replies: 8
Views: 140

Re: P-Switch effect Toggles on and off during a level

So, the issue here is that you've misunderstood the documentation. Take a look at this again: Misc.doPSwitchRaw(boolean activate) See how it has 1) brackets after it, and 2) something inside those brackets? The brackets tell the program this is a function call - that means you're asking the program ...
by Hoeloe
Mon Oct 07, 2019 9:24 pm
Forum: LunaLua Help
Topic: P-Switch effect Toggles on and off during a level
Replies: 8
Views: 140

Re: P-Switch effect Toggles on and off during a level

You'll need to show your code, otherwise we can't tell you what the problem is.
by Hoeloe
Tue Sep 24, 2019 2:51 pm
Forum: LunaLua
Topic: SMBX2 PAL Release - Feedback, Questions and Bugs here!
Replies: 850
Views: 264016

Re: SMBX2 PAL Release - Feedback, Questions and Bugs here!

Wohlstand wrote:
Tue Sep 24, 2019 8:14 am
frozen smbx.exe
As I understand it, it's not just a "frozen" process that won't terminate properly.
by Hoeloe
Mon Sep 23, 2019 8:33 pm
Forum: Help and Support
Topic: Custom Character Blocks
Replies: 6
Views: 167

Re: Custom Character Blocks

Those were originally used by characters that have since been removed from the game. They don't currently do anything.
by Hoeloe
Fri Sep 20, 2019 9:05 am
Forum: LunaLua Help
Topic: Particles.lua???
Replies: 8
Views: 252

Re: Particles.lua???

Here's a list of all the particle effects that are built into the engine.

Image

You can also make your own using a custom .ini file in your level folder.
by Hoeloe
Mon Sep 16, 2019 9:27 pm
Forum: Help and Support
Topic: Custom NPCs won't stop jumping up & down
Replies: 23
Views: 320

Re: Custom NPCs won't stop jumping up & down

So what that code shows me is that you deleted two lines, not three. Please read what I said again: you should delete the 3 lines of code immediately below the comment I told you to delete the three lines below the comment - that doesn't include the comment itself. I even explained briefly what thos...
by Hoeloe
Mon Sep 16, 2019 9:24 pm
Forum: LunaLua Help
Topic: Shoot Bullets to player coordinate
Replies: 29
Views: 617

Re: Shoot Bullets to player coordinate

Enjl wrote:
Mon Sep 16, 2019 7:24 pm

So to disable jumping, you can just set:
player.keys.jump = KEYS_UP
You can do this just like you would with the KeysPressing fields, and I'd suggest you do.

player.keys.jump = false
by Hoeloe
Sun Sep 15, 2019 10:18 pm
Forum: Help and Support
Topic: Custom NPCs won't stop jumping up & down
Replies: 23
Views: 320

Re: Custom NPCs won't stop jumping up & down

I understood that it was causing the jumping, what's not easily understandable is how to get it to stop. As I mentioned earlier, you can't just delete lines of code without knowing what they do first, otherwise you could be deleting something vital & making the problem worse. As for the aggression ...
by Hoeloe
Sun Sep 15, 2019 9:23 pm
Forum: Help and Support
Topic: Custom NPCs won't stop jumping up & down
Replies: 23
Views: 320

Re: Custom NPCs won't stop jumping up & down

A suggestion would be to put comments for the coding in more layman's terms that even a non-programmer could understand. What part of "This makes the NPC jump when it touches the ground" do you think is not in layman's terms? Honestly, I'm not surprised you struggle to get help. You're always aggre...
by Hoeloe
Thu Sep 12, 2019 12:21 pm
Forum: General
Topic: Characters you would like to see by the time SMBX 2.0 is out of beta?
Replies: 29
Views: 1607

Re: Characters you would like to see by the time SMBX 2.0 is out of beta?

Cedur wrote:
Thu Sep 12, 2019 11:17 am
None at all. :twisted:
I too can't wait to play as Unnamed Collision Box.
by Hoeloe
Wed Sep 11, 2019 8:55 am
Forum: LunaLua Help
Topic: Adding custom sprite frames
Replies: 6
Views: 164

Re: Adding custom sprite frames

marquise wrote:
Wed Sep 11, 2019 4:06 am
by looking at the documentation
Oh I should also note that the documentation isn't fully up to date. The best places to find information are the handbook, this video series, and the Codehaus Discord server.
by Hoeloe
Wed Sep 11, 2019 8:35 am
Forum: LunaLua Help
Topic: Adding custom sprite frames
Replies: 6
Views: 164

Re: Adding custom sprite frames

For ducking in particular, one other solution to all these conditionals could be to use the "is ducking?" flag directly: I don't believe this will work for this case, since this appears to be trying to add a ducking frame to small Mario, who currently doesn't actually have a duck state. I don't bel...
by Hoeloe
Tue Sep 10, 2019 8:05 pm
Forum: LunaLua Help
Topic: Adding custom sprite frames
Replies: 6
Views: 164

Re: Adding custom sprite frames

First of all, if you're using onTick for setting the player's frame, I suggest using player:setFrame(23) rather than the memory address. Honestly, I suggest using that anyway. Also you should use player.keys.down rather than the outdated player.downKeyPressing As for making it not happen while you'r...
by Hoeloe
Tue Sep 10, 2019 7:26 am
Forum: Help and Support
Topic: A question regarding costumes.
Replies: 2
Views: 353

Re: A question regarding costumes.

Yes. Costumes do work for Uncle Broadsword, there just isn't a folder for them because there are none in the base game. Simply name a folder "unclebroadsword" in the costumes folder, and put your costumes there.
by Hoeloe
Tue Sep 10, 2019 6:56 am
Forum: LunaLua
Topic: SMBX2 PAL Release - Feedback, Questions and Bugs here!
Replies: 850
Views: 264016

Re: SMBX2 PAL Release - Feedback, Questions and Bugs here!

So that error message doesn't mean what you think it does. The issue is that you're trying to play an episode that makes use of "encrypt.dll", which is no longer supported in versions after Beta 3 for security reasons. Future versions of the engine will have a contingency in place to allow episodes ...
by Hoeloe
Fri Sep 06, 2019 6:50 pm
Forum: LunaLua
Topic: SMBX2 PAL Release - Feedback, Questions and Bugs here!
Replies: 850
Views: 264016

Re: SMBX2 PAL Release - Feedback, Questions and Bugs here!

Depreciated items are going to remain in the game, however there are newer versions of them that you should probably use instead if you're making a new level. What if you still want to use the depreciated items for alternative purposes (i.e. bgo-100 being used for an extra animated bgo slot)? Go nu...
by Hoeloe
Thu Sep 05, 2019 8:59 am
Forum: Help and Support
Topic: Backup Levels
Replies: 7
Views: 956

Re: Backup Levels

Please download SMBX from http://www.codehaus.moe/

The version on the SMBX forums website is 1.3, which is NOT the most recent version.

Go to advanced search