#Error adding Cannonballs
1 messages · Page 1 of 1 (latest)
you download it from the newer ds repository
Okay
Again I get the error, but it's telling me to include enemy.h. I think there is one more step
Not finished, again include game.h
Fucking hell
It was the same error which made me took so long to implement the Actor Spawner code hack
I wish you good luck to fix this.
LMAO newer ds float usage spotted
yea
Yeah, but I'm using cannonballs for a tank level
just rewrite the whole thing tbh
make an actor that renders a model and moves at a constant speed in the update function
and has collision
It's not that bad and all I need to do is make it work
i suppose just don’t like janky newer shit
The music that I'm using for the tank level is this: https://youtu.be/te5EkBKOxOk
I don't wanna overuse Newer music
oh I already got a working cannonball patch saved somewhere it just doesn't have support of vertical ones
Vertically cannonballs from a pipe weren't used in SMB3
I wanna use the horizontal ones only, I think it goes better
Also to fit with the original game I'll change the cannonballs' color to gray.
If possible
well if you don't want to use vertical ones then this one should work
use all the files in that folder
thay are all needed
and your going to have to change "1802" to the file id of your cannon ball texture
For replaces.x I think I place it in source
no that goes in the same folder as the makefile
Oh
Where can I do that?
you can add a file to your rom or replace an unused file
this is the model that the cannon ball use's in newer
you can replace file 1802 with it since it's an unused file or you can replace another unused file or you could add your own
Do I replace the file first or do I insert the code hack first?
doesnt really matter
The ID?
It shows a file ID, and world6.nbmsd
Idk if it's unused or not
It works, the command window closes instantly
that means it compliled
It replaces the Spin Block unused actor 255, right?
yes
Also I'll change the color to gray to match with the original game
so place one in your level and test it out
is it easy?
yea
but first can you try placing the actor down and taking a screensoot so we can confirm that it works
Okay
Let me boot up DesmuMe
It doesn't load. And yes the stars come from the actor spawner, I'm trying to spawn the cannonball
I did use the Spin Block unused actor as well
255
Ignore the beetle please btw
What did I do wrong? Is there one more step?
did you place the unused spinblock 255 in the level?
Yes
can you replace a random level with this one and see if the cannonballs load
Okay, where do I find the folder with levels?
click on the area of a level that you would like to replace and then press this
can you send me a screenshot of the file that has the rom in it and a screenshot of the source folder
I'll do it
Did I forgot something
Also in the first image I have also more other files
I only wanted to screenshot a part of the template
for the first one can you show me what the whole folder looks like
and you can delete the actorspawner.o and actorspawner.d files
those shouldn't be there
Don't ask why I have those images in the folder.
I wanted to edit the swollen groun texture for my castle
is replaces.x in there
can you send a screenshot of everything in in the folder that contains replaces.x
I need to be able to see it so I can makesure you have all the needed files
Okay
try running "make clean" then compile it again
Did that and the error returned
Would you give me a new makefile to solve this error?
Here we go this error stills show up
try changing your actorspawnerASM file to this one
Okay now it works, it closes automatically
now try loading into that level I sent you
idk everything works on my end
Then I mostly forgot one last thing
Do I need the unused sprite to have the code behavior or does it has it automatically?
what do you mean by code behavior
I mean the behaviour for the cannonball found in the code
Somehow I did replace the unused sprite by the cannonball sprite
What did I do wrong? Is there something I should include?
Then how come for me these don't load
I swear they don't need spritesets
It's so hard, maybe I fucked something up
I thought it looked easy
I don't think asking on NSMBHD will work btw
It went downhill (I think)
Oh this looks kinda outdated since the error doesn't appear anymore
You have this for ncp?
Ohh
Now it's explained why the code dont have addresses