Every Enemy I edit.

General discussion about Super Mario Bros. X.
Goldenemerl64
Rex
Rex
Posts: 37
Joined: Tue Jul 07, 2020 3:50 pm

Every Enemy I edit.

Postby Goldenemerl64 » Sun Sep 27, 2020 8:00 pm

Note: I don't know where this topic should go!

It's a Showcase of enemies that were edited

(I'm Not Counting the Mini games) (Not in Specific Order)

Spoiler: show
Mecha Dry Bones
Image
A Mecha version of a dry bones, Is a Heavy Npc, Shoots Plasma Balls.


Sleeping Koopa
Image
Harmless when Sleeping, But when Woken They Run Fast but can fall off ledges
One Star Coin Wakes up the Sleeping koopas


Spark Ninji
Image
A ninji covered with a yellow aura (I guess) Can't Be Jumped On. In Darkness has A Yellow Light.


Spore Pod
Image
Spawns Spore Goombas, (Can't seem to Figure Out How to not Have it stuck in that frame)


Glowing Bullet Bill
Image
Lights Up a lot of the Screen In Darkness.


Sea Mine Chuck
Image
Throws Sea Mines Left or Right (I Don't know Why)

Water Nipper
Image
Basically a worst version Of the Cheep Cheep's Jump AI (well apart from it can't be jumped on)

Ninji Bird(?)
Image
Flys(?) and Drops Ninji Bombs

Ninji Bomb
Basically a bob-omb But with a Short Delay

This is all I will show for Now

And I deeply apologize If this topic is in the Wrong Forum.
Spoiler: show
Why Did I even Bother :|

Archived
Van De Graf
Van De Graf
Posts: 2166
Joined: Tue Mar 13, 2018 6:15 pm

Re: Every Enemy I edit.

Postby Archived » Sun Sep 27, 2020 11:38 pm

Archived
Last edited by Archived on Mon Jan 30, 2023 11:28 pm, edited 1 time in total.

Marioman2007
Buster Beetle
Buster Beetle
Posts: 401
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: Every Enemy I edit.

Postby Marioman2007 » Mon Sep 28, 2020 3:20 am

what do you mean I don't understand

Goldenemerl64
Rex
Rex
Posts: 37
Joined: Tue Jul 07, 2020 3:50 pm

Re: Every Enemy I edit.

Postby Goldenemerl64 » Mon Sep 28, 2020 11:10 am

Eclipsed wrote:
Sun Sep 27, 2020 11:38 pm
When you edit the code of npcs, you want to put those in the lunalua forums.

ah ok

TheGameyFireBro105
Eerie
Eerie
Posts: 702
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Every Enemy I edit.

Postby TheGameyFireBro105 » Tue Sep 29, 2020 4:04 pm

Goldenemerl64 wrote:
Sun Sep 27, 2020 8:00 pm
Note: I don't know where this topic should go!

It's a Showcase of enemies that were edited

(I'm Not Counting the Mini games) (Not in Specific Order)

Spoiler: show
Mecha Dry Bones
Image
A Mecha version of a dry bones, Is a Heavy Npc, Shoots Plasma Balls.


Sleeping Koopa
Image
Harmless when Sleeping, But when Woken They Run Fast but can fall off ledges
One Star Coin Wakes up the Sleeping koopas


Spark Ninji
Image
A ninji covered with a yellow aura (I guess) Can't Be Jumped On. In Darkness has A Yellow Light.


Spore Pod
Image
Spawns Spore Goombas, (Can't seem to Figure Out How to not Have it stuck in that frame)


Glowing Bullet Bill
Image
Lights Up a lot of the Screen In Darkness.


Sea Mine Chuck
Image
Throws Sea Mines Left or Right (I Don't know Why)

Water Nipper
Image
Basically a worst version Of the Cheep Cheep's Jump AI (well apart from it can't be jumped on)

Ninji Bird(?)
Image
Flys(?) and Drops Ninji Bombs

Ninji Bomb
Basically a bob-omb But with a Short Delay

This is all I will show for Now

And I deeply apologize If this topic is in the Wrong Forum.
Spoiler: show
Why Did I even Bother :|
Give a download link, plz!

Goldenemerl64
Rex
Rex
Posts: 37
Joined: Tue Jul 07, 2020 3:50 pm

Re: Every Enemy I edit.

Postby Goldenemerl64 » Tue Sep 29, 2020 5:52 pm

Spoiler: show
Note: These work for SMBX2
Caution: These are Not NPC Packs,
Note: Click On the Images
(Sorry if it's Complicated)


Mecha Dry bones:

Sprites:
Image

Image

NPC Code (Use on Notepad):

npcblock=0
speed=0.9
cliffturn=1
isheavy=1
spawnid=366


Plasma Balls (For Mecha Dry Bones):

Sprites:

npc-366/npc-366e/effect-182
Image (Both The Same Sprite For The Npc and The Effect)

NPC Code (Use on Notepad):

frames=2
framespeed=3
framestyle=0


(Sleeping Koopa Troopa/ Awakened Koopa Troopa Involves Classic Events so I Save This One For Another Time)

Spark Ninji:

Sprite:

npc-25/effect-20
Image (Both The Same Sprite For The Npc and The Effect)

NPC Code (Use on Notepad):

playerblocktop=0
npcblock=0
npcblocktop=0
jumphurt=1
nofireball=0
spinjumpsafe=0
lightradius=144.0
lightbrightness=1.0
lightcolor=yellow

Alien Pod

Sprites:

Image

Image

Code:

Code: Select all

local npcManager = require("npcManager")
local panserAI = require("npcs/ai/pansers")

local panser = {}

local npcID = NPC_ID

npcManager.setNpcSettings({
	id = npcID,
	gfxheight=32,
	gfxwidth=32,
	width=28,
	height=28,
	frames=3,
	framestyle=0,
	jumphurt=false,
	spinjumpsafe=true,
	noblockcollision=false,
	nofireball=true,
	speedx=0,
	shotspeedx=0,
	shotspeedy=5,
	turntime=2,
	reloadtime=70,
	firetime=450,
    shots=1,
	
    projectileid = 27
})

npcManager.registerHarmTypes(npcID,
	{
                HARM_TYPE_JUMP,
		HARM_TYPE_FROMBELOW,
		HARM_TYPE_NPC,
		HARM_TYPE_HELD,
		HARM_TYPE_TAIL,
		HARM_TYPE_PROJECTILE_USED,
		HARM_TYPE_SWORD,
		HARM_TYPE_LAVA
	}, 
	{
                [HARM_TYPE_JUMP]=177,
		[HARM_TYPE_FROMBELOW]=177,
		[HARM_TYPE_NPC]=177,
		[HARM_TYPE_HELD]=177,
		[HARM_TYPE_TAIL]=177,
		[HARM_TYPE_PROJECTILE_USED]=177,
		[HARM_TYPE_LAVA]={id=13, xoffset=0.5, xoffsetBack = 0, yoffset=1, yoffsetBack = 1.5}
	}
);

panserAI.register(npcID)
return panser
Alien Goomba (For Alien Pod)

Sprites:

Image

Image

Image


Glowing Bullet Bill:

Sprites:

Image

Image

NPC Code (Use on Notepad):

speed=1.5
noyoshi=1
noiceball=1
nohammer=1
noshell=1
lightradius=800.0
lightbrightness=2


Sea Mine Chuck:

(NPC 318)

Code

Code: Select all

local npcManager = require("npcManager")
local rng = require("rng")
local npcutils = require("npcs/npcutils")
local chucks = require("npcs/ai/chucks")

local puntingChuck = {}
local npcID = NPC_ID;

--***************************************************************************************************
--                                                                                                  *
--              DEFAULTS AND NPC CONFIGURATION                                                      *
--                                                                                                  *
--***************************************************************************************************

local puntingChuckSettings = {
	id = npcID, 
	gfxwidth = 48, 
	gfxheight = 50, 
	width = 32, 
	height = 48, 
	gfxoffsety=2,
	frames = 2,
	framespeed = 8, 
	framestyle = 1,
	score = 0,
	nofireball = 0,
	noyoshi = 1,
	spinjumpsafe = true,
	npconhit = 311,
	-- Custom
	starttimelower = 90,
	starttimeupper = 120,
	kickcooldown = 500,
	footballid = 363,
	footballspeedx = 5,
	footballspeedy = 0
}

local configFile = npcManager.setNpcSettings(puntingChuckSettings);

npcManager.registerHarmTypes(npcID, 	
{HARM_TYPE_JUMP, HARM_TYPE_FROMBELOW, HARM_TYPE_NPC, HARM_TYPE_HELD, HARM_TYPE_TAIL, HARM_TYPE_SPINJUMP, HARM_TYPE_SWORD, HARM_TYPE_LAVA}, 
{[HARM_TYPE_JUMP]=73,
[HARM_TYPE_FROMBELOW]=172,
[HARM_TYPE_NPC]=172,
[HARM_TYPE_HELD]=172,
[HARM_TYPE_TAIL]=172,
[HARM_TYPE_LAVA]={id=13, xoffset=0.5, xoffsetBack = 0, yoffset=1, yoffsetBack = 1.5}});

-- Final setup
local function hurtFunction (v)
end

local function hurtEndFunction (v)
	v.data._basegame.frame = 0;
	v.ai2 = configFile.kickcooldown;
end

function puntingChuck.onInitAPI()
	npcManager.registerEvent(npcID, puntingChuck, "onTickEndNPC");
	registerEvent(puntingChuck, "onNPCKill");
	chucks.register(npcID, hurtFunction, hurtEndFunction);
end

--*********************************************
--                                            *
--              BOUNCING CHUCK                *
--                                            *
--*********************************************

function puntingChuck.onTickEndNPC(v)
	if Defines.levelFreeze then return end;
	
	local data = v.data._basegame
	
	-- initializing
	if (v:mem(0x12A, FIELD_WORD) <= 0 or v:mem(0x12C, FIELD_WORD) > 0 or v:mem(0x136, FIELD_BOOL) or v:mem(0x138, FIELD_WORD) > 0) then
		v.ai1 = configFile.health; --Health
		v.ai2 = rng.randomInt(configFile.starttimelower, configFile.starttimeupper); --Generic Timer
		
		v.animationFrame = npcutils.getFrameByFramestyle(v, {
			frame = 0,
			frames = configFile.frames
		})
		return
	end
	
	if (data.exists == nil) then
		v.ai1 = configFile.health;
		data.exists = 0;
		data.frame = 0;
	end
		
	-- reset speed if it hits ground
	if v.collidesBlockBottom then
		v.speedX = 0
	end
	
	-- Animation update
	v.animationFrame = npcutils.getFrameByFramestyle(v, {
		frame = data.frame,
		frames = configFile.frames
	});
	
	if data.hurt then return end;
	
	-- AI
	v.ai2 = v.ai2 - 1;
	
	-- spawn football
	if v.ai2 == 10 then
		data.myCurrentFootball = NPC.spawn(configFile.footballid, v.x + (24 * v.direction), v.y + v.height - 32, v:mem(0x146,FIELD_WORD))
		data.myCurrentFootball.friendly = v.friendly;
		data.myCurrentFootball.layerName = "Spawned NPCs"
		data.myCurrentFootball.ai2 = 1;
	end
	
	-- keep football to football player
	if (data.myCurrentFootball and data.myCurrentFootball.isValid) then
		data.myCurrentFootball.x = v.x + (24 * v.direction);
		data.myCurrentFootball.y = v.y + v.height - 32;

		--kick
		if v.ai2 == 0 then
			data.myCurrentFootball.ai2 = 0;
			data.myCurrentFootball.speedX = configFile.footballspeedx * v.direction;
			data.myCurrentFootball.speedY = configFile.footballspeedy;
			
			-- kick effect
			Animation.spawn(75, data.myCurrentFootball.x, data.myCurrentFootball.y)
			SFX.play(9)
			
			-- reset vars
			data.myCurrentFootball = nil
			data.frame = 1;
		end
	end
			
	if v.ai2 == -20 then
		data.frame = 0;
		v.ai2 = configFile.kickcooldown;
	end
end

function puntingChuck.onNPCKill(eventObj,npc,killReason) 
	if npc.id == npcID then
		local data = npc.data._basegame
		
		if data.myCurrentFootball and data.myCurrentFootball.isValid then
			data.myCurrentFootball:kill(9)
		end
	end
end

return puntingChuck;

(I may not do the Water Nipper Because I find it Terrible)

Bird Ninji

Sprites:

Image

Image

NPC Code (Use on Notepad):

gfxwidth=32
gfxheight=32
width=32
height=32
speed=1.5
noblockcollision=1
nofireball=0
noiceball=0
nohammer=0
noshell=0


Ninji Bomb (For Bird Ninji)


Sprite:

npc-409/effect-198
Image (Both The Same Sprite For The Npc and The Effect)

NPC Code (Use on Notepad):

gfxwidth=32
gfxheight=32
width=32
height=32
speed=1.5
noblockcollision=1
nofireball=0
noiceball=0
nohammer=0
noshell=0

(Once Again I Deeply Apologize for This) (I'll also Apologize if It's not working)

(I'm Nervous :shock:)

P.S. I not sure how to do a Download Link :?
Last edited by ElectriKong on Tue Sep 29, 2020 5:57 pm, edited 1 time in total.
Reason: Spoilered long post

TheGameyFireBro105
Eerie
Eerie
Posts: 702
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Every Enemy I edit.

Postby TheGameyFireBro105 » Wed Sep 30, 2020 2:46 pm

You can use mediafire!

you can put them in, then copy the links to download
Last edited by ElectriKong on Wed Sep 30, 2020 3:25 pm, edited 1 time in total.
Reason: Merged double post

Goldenemerl64
Rex
Rex
Posts: 37
Joined: Tue Jul 07, 2020 3:50 pm

Re: Every Enemy I edit.

Postby Goldenemerl64 » Wed Sep 30, 2020 3:01 pm

TheGameyFireBro105 wrote:
Wed Sep 30, 2020 2:46 pm
You can use mediafire!
Ok, I'll do that Next Time

Chilly14
Snifit
Snifit
Posts: 230
Joined: Thu Jul 18, 2019 10:28 pm
Flair: wash your hands and stay at home
Pronouns: he/him

Re: Every Enemy I edit.

Postby Chilly14 » Wed Sep 30, 2020 3:14 pm

Goldenemerl64 wrote:
Wed Sep 30, 2020 3:01 pm
TheGameyFireBro105 wrote:
Wed Sep 30, 2020 2:46 pm
You can use mediafire!
Ok, I'll do that Next Time
It's also a good idea to bring an adblocker (such as uBlock Origin) with you, since MediaFire tends to be infested with ads.

ElectriKong
Posts: 4646
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Every Enemy I edit.

Postby ElectriKong » Wed Sep 30, 2020 3:30 pm

Chilly14 wrote:
Wed Sep 30, 2020 3:14 pm
Goldenemerl64 wrote:
Wed Sep 30, 2020 3:01 pm
TheGameyFireBro105 wrote:
Wed Sep 30, 2020 2:46 pm
You can use mediafire!
Ok, I'll do that Next Time
It's also a good idea to bring an adblocker (such as uBlock Origin) with you, since MediaFire tends to be infested with ads.
And hence, it is ill-advised to use that site. I would recommend Google Drive for hosting downloads to your stuff. Dropbox and MEGA are also better options than MediaFire.

Goldenemerl64
Rex
Rex
Posts: 37
Joined: Tue Jul 07, 2020 3:50 pm

Re: Every Enemy I edit.

Postby Goldenemerl64 » Wed Sep 30, 2020 4:09 pm

Electriking wrote:
Wed Sep 30, 2020 3:30 pm
Chilly14 wrote:
Wed Sep 30, 2020 3:14 pm
Goldenemerl64 wrote:
Wed Sep 30, 2020 3:01 pm


Ok, I'll do that Next Time
It's also a good idea to bring an adblocker (such as uBlock Origin) with you, since MediaFire tends to be infested with ads.
And hence, it is ill-advised to use that site. I would recommend Google Drive for hosting downloads to your stuff. Dropbox and MEGA are also better options than MediaFire.
Ok

Cedur
Raccoon Mario
Raccoon Mario
Posts: 7073
Joined: Tue Jun 28, 2016 10:14 am
Flair: semi-retired user, only interested in post ranks
Pronouns: he/him

Re: Every Enemy I edit.

Postby Cedur » Thu Oct 01, 2020 6:07 pm

So people on this forum should no longer use Mediafire?

I don't even have an adblocker, I don't care about the ads as they pop up in a new window so I just close them.

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm

Re: Every Enemy I edit.

Postby Sonya Sanchez » Thu Oct 01, 2020 6:12 pm

Literally most stuff is uploaded on Mediafire, Google Drive, Mega and Dropbox.

Why shouldn't MediaFire be used? Because it has ads? Just click the right button it's shining green or just get a adblocker that works good enough and you won't "Accidentally click on a ad"

Mediafire is still one of the best uploading sharing sites unlike Sendspace lol.

TheGameyFireBro105
Eerie
Eerie
Posts: 702
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Every Enemy I edit.

Postby TheGameyFireBro105 » Thu Oct 01, 2020 7:15 pm

Idunn wrote:
Thu Oct 01, 2020 6:12 pm
Literally most stuff is uploaded on Mediafire, Google Drive, Mega and Dropbox.

Why shouldn't MediaFire be used? Because it has ads? Just click the right button it's shining green or just get a adblocker that works good enough and you won't "Accidentally click on a ad"

Mediafire is still one of the best uploading sharing sites unlike Sendspace lol.
Who is that on your icon? Is it you, because I can't find that image anywhere! It's a game screenshot, isn't it? If it is, then
Spoiler: show
DAMN
that's so realistic!

Inferno_Guy
Hoopster
Hoopster
Posts: 102
Joined: Tue Dec 04, 2018 12:52 am
Flair: waddle dee
Pronouns: he/him

Re: Every Enemy I edit.

Postby Inferno_Guy » Thu Oct 01, 2020 8:14 pm

Idunn wrote:
Thu Oct 01, 2020 6:12 pm
Literally most stuff is uploaded on Mediafire, Google Drive, Mega and Dropbox.

Why shouldn't MediaFire be used? Because it has ads? Just click the right button it's shining green or just get a adblocker that works good enough and you won't "Accidentally click on a ad"

Mediafire is still one of the best uploading sharing sites unlike Sendspace lol.
Discords also another method since you can copy the media links and post them to a thread or however it is you obtain that link, and when you click them, it'll instantly download the file to your computer in less than one click. That depends though due to the file size of the files you can upload, which is just 8 MB, so its pretty helpful for small NPC packs that are not big. If you at least have nitro (100 MB), you might as well be better off making bigger NPC packs lol. I used it for about all of my miniature graphic packs, so it's a useful method in a sense.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Every Enemy I edit.

Postby Enjl » Fri Oct 02, 2020 3:03 am

We've already had this mediafire discussion like a year or two ago and as a result all the people who didn't wanna put others through more trouble switched to drive, mega or dropbox. Even with adblockers mediafire can open sketchy new tabs. Being marginally better than a site that wasn't designed for permanent download links doesn't automatically make it "one of the best file sharing websites".
If the "if you wanna download my stuff without hassle, go through this extra trouble because I refuse to use a decent service" hill is the one you wanna die on, I dunno what to tell you. The fact that some people have a problem with the site should be enough to justify consideration of abandoning it entirely, for the sake of you not having to deal with people struggling to download your stuff.

Marioman2007
Buster Beetle
Buster Beetle
Posts: 401
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: Every Enemy I edit.

Postby Marioman2007 » Fri Oct 02, 2020 4:04 am

Also MEGA files only work with the MEGA extension, and it takes too much time. It took me 1 day (approx.) to download 2D Universe X !!!

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Every Enemy I edit.

Postby Enjl » Fri Oct 02, 2020 4:38 am

marioman2007 wrote:
Fri Oct 02, 2020 4:04 am
Also MEGA files only work with the MEGA extension, and it takes too much time. It took me 1 day (approx.) to download 2D Universe X !!!
Really? I don't have the extension and can download from mega fine. I agree the downloads appear to take longer, though, which is why I prefer to use Drive myself.

Marioman2007
Buster Beetle
Buster Beetle
Posts: 401
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: Every Enemy I edit.

Postby Marioman2007 » Fri Oct 02, 2020 7:12 am

but sometimes if you forgot to edit sharing settings then it saya "you do not have permissions" thats why I use mediafire to upload files

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Every Enemy I edit.

Postby Enjl » Fri Oct 02, 2020 7:31 am

marioman2007 wrote:
Fri Oct 02, 2020 7:12 am
but sometimes if you forgot to edit sharing settings then it saya "you do not have permissions" thats why I use mediafire to upload files
Dropbox sounds like the best of both worlds for you then. No forced ads for others, and no need to fiddle with permission settings on your end.


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest