Super Mario Bros 1 HUD.

Description: You made a script? Submit it here to show your creation to the public, share, take reviews, provision of the help and support is here!
Moderators: Lx Xzit, Yoshi021, 5438A38A, Moderators, Semi-moderatos

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #1by Catskart » 24 Nov 2016, 9:18

It was a request from someone.
You can play every characters with this HUD but with 1 player's mode only.

I patched this HUD in the level21 from The Invasion 2 :
https://vid.me/T4r8

Here the download link : http://www.mediafire.com/file/st2t0ipraxbdaq2/SMB1 HUD.zip
Just apply this level patch with SMBX Level Patcher.
Last edited by Catskart on 24 Nov 2016, 19:37, edited 1 time in total.

vitzie629
Citizen
Citizen
vitzie629
Citizen
Citizen
Reputation: 0
Posts: 8
Joined: 24 Nov 2016

Post #2by vitzie629 » 24 Nov 2016, 16:53

Okay, thank you for giving me the download link. I use SMBX 1.4.3 patch 4.
Can I use any patch of SMBX 1.4.3 when I apply it with SMBX level patcher with this hud?

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #3by Catskart » 24 Nov 2016, 19:38

vitzie629 wrote:Can I use any patch of SMBX 1.4.3 when I apply it with SMBX level patcher with this hud?

You confuse enter the patchs (the smbx.exe) and the level patchs (.slp file).
You can apply the level patch in your level with any patch of SMBX 1.4.3.

vitzie629
Citizen
Citizen
vitzie629
Citizen
Citizen
Reputation: 0
Posts: 8
Joined: 24 Nov 2016

Post #4by vitzie629 » 24 Nov 2016, 20:53

Okay, I made a video of me checking out the SMB1 hud that you made.

phpBB [youtube]

Original link: https://www.youtube.com/watch?v=xUB2n0whHN4


Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #5by Catskart » 25 Nov 2016, 0:52

Thank you. :p

vitzie629
Citizen
Citizen
vitzie629
Citizen
Citizen
Reputation: 0
Posts: 8
Joined: 24 Nov 2016

Post #6by vitzie629 » 25 Nov 2016, 2:09

Catskart wrote:Thank you. :p
You're welcome!

Bandit
Our friend
Our friend
Bandit
Our friend
Our friend
Reputation: 13
Posts: 53
Joined: 3 Sep 2016

Post #7by Bandit » 19 Dec 2016, 21:22

Can someone pass me a level with this feature ?. Because all there is is a spl file and I do not know how to use it.

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #8by Catskart » 19 Dec 2016, 22:44

Bandit wrote:Can someone pass me a level with this feature ?. Because all there is is a spl file and I do not know how to use it.

SLP is a SMBX Level Patch file.
Those level patchs is used with SMBX Level Patcher.
(Look here : viewtopic.php?f=58&t=1393)
It's usefull if you want to install systems with scripts, variables, layers and/or events or to install custom block background...

skatefilter5
Passerby
Passerby
skatefilter5
Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 23 Feb 2016

smb1 not working

Post #9by skatefilter5 » 15 Apr 2017, 23:30

i pasted it in the world folder and smb1 hud is not working. you forgot to add script in the level, i don't know what to do with it. :whistle:

can you give me the link for your levels within smb1 hud please?

Koopsakimoto M
Duke
Duke
Avatar
Koopsakimoto M
Duke
Duke
Reputation: 22
Posts: 130
Joined: 11 Sep 2016
Google+ YouTube

Post #10by Koopsakimoto » 16 Apr 2017, 2:29

Did you use the level patcher by catskart? or the SMBX magic patcher? you have to do more than just paste it.
[url=https://nick-name.ru/nickname/id1350650/][img]https://nick-name.ru/forumt7/Koops.gif[/img][/url]

skatefilter5
Passerby
Passerby
skatefilter5
Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 23 Feb 2016

Post #11by skatefilter5 » 21 Apr 2017, 0:58

Koopsakimoto wrote:Did you use the level patcher by catskart? or the SMBX magic patcher? you have to do more than just paste it.
no.

Koopsakimoto M
Duke
Duke
Avatar
Koopsakimoto M
Duke
Duke
Reputation: 22
Posts: 130
Joined: 11 Sep 2016
Google+ YouTube

Post #12by Koopsakimoto » 21 Apr 2017, 18:24

skatefilter5 wrote:
Koopsakimoto wrote:Did you use the level patcher by catskart? or the SMBX magic patcher? you have to do more than just paste it.
no.
Then you have the patch your level with the HUD
[url=https://nick-name.ru/nickname/id1350650/][img]https://nick-name.ru/forumt7/Koops.gif[/img][/url]

Mari0no1 M
Citizen
Citizen
Avatar
Mari0no1 M
Citizen
Citizen
Age: 13
Reputation: 6
Posts: 9
Joined: 7 Jul 2016
Google+

an error

Post #13by Mari0no1 » 31 Jan 2018, 1:17

Image

Help me please
My Youtube chanel

Sorry for my bad english I am french

ImageImage

Support Project
Spoiler
Image

Support GFX's Pack
Spoiler
ImageImage

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 18
Reputation: 120
Posts: 667
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #14by Yoshi021 » 22 Jun 2018, 17:07

Mari0no1 wrote:Image

Help me please
It looks like you accidentally messed with the file. Try replacing the scripts with there (the orignals)
Spoiler
SMB1 HUD

Code: Select all

'initialize,0,0,0,0,0,0,0,0,0
call hudset("initialize",0,0,0,0,0,0,0,0,0)
'!!!!!!!!!!bitmap source = "scflash.png"!!!!!!!!!!


do
if lvlTimer(Count)>9999 then
lvlTimer(Count)=9999
end if
val(timer)=lvlTimer(Count)
if char(1).x<>char(2).x and char(1).y<>char(2).y then
'val(P2)=1
else
char(2).x=char(1).x
char(2).y=char(1).y
end if
call hudset("bitmap",1,0,0+16*char(1).id,94,16,48,30,0,-1)
if char(1).id=>2 then
  if char(1).hitpoint=>1 then
  call hudset("bitmap",2,0,80,16,16,144,30,0,-1)
  else
  call hudset("bitmap",2,16,80,16,16,144,30,0,-1)
  end if
  if char(1).hitpoint=>2 then
  call hudset("bitmap",3,0,80,16,16,160,30,0,-1)
  else
  call hudset("bitmap",3,16,80,16,16,160,30,0,-1)
  end if
  if char(1).hitpoint=>3 then
  call hudset("bitmap",4,0,80,16,16,176,30,0,-1)
  else
  call hudset("bitmap",4,16,80,16,16,176,30,0,-1)
  end if
else
  call hudset("bitmap",2,0,80,16,16,144,-800,0,-1)
  call hudset("bitmap",3,0,80,16,16,144,-800,0,-1)
  call hudset("bitmap",4,0,80,16,16,144,-800,0,-1)
end if

if sysval(Score)<10 then
  call hudset("text:000000&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<100 then
  call hudset("text:00000&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<1000 then
  call hudset("text:0000&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<10000 then
  call hudset("text:000&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<100000 then
  call hudset("text:00&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<1000000 then
  call hudset("text:0&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
elseif sysval(Score)<10000000 then
  call hudset("text:&sys(Score)",6,48,val(YScore),48,57,1,val(NPCnumber),-1,-1)
end if


if sysval(StarCount)>0 then
  call hudset("bitmap",7,32,80,32,48,274,30,0,-1)
  if sysval(StarCount)<10 then
    call hudset("text:0&sys(StarCount)",10,308,62,48,57,1,val(NPCnumber),-1,-1)
  else
    call hudset("text:&sys(StarCount)",10,308,62,48,57,1,val(NPCnumber),-1,-1)
  end if
  if sysval(Playerhealth)<10 then
    call hudset("text:0&sys(Playerhealth)",8,308,30,48,57,1,val(NPCnumber),-1,-1)
  else
    call hudset("text:&sys(Playerhealth)",8,308,30,48,57,1,val(NPCnumber),-1,-1)
  end if
  if sysval(CoinCount)<10 then
    call hudset("text:0&sys(CoinCount)",9,308,46,48,57,1,val(NPCnumber),-1,-1)
  else
    call hudset("text:&sys(CoinCount)",9,308,46,48,57,1,val(NPCnumber),-1,-1)
  end if
else
  call hudset("bitmap",7,32,80,32,32,274,30,0,-1)
  if sysval(Playerhealth)<10 then
    call hudset("text:0&sys(Playerhealth)",8,308,30,48,57,1,val(NPCnumber),-1,-1)
  else
    call hudset("text:&sys(Playerhealth)",8,308,30,48,57,1,val(NPCnumber),-1,-1)
  end if
  if sysval(CoinCount)<10 then
    call hudset("text:0&sys(CoinCount)",9,308,46,48,57,1,val(NPCnumber),-1,-1)
  else
    call hudset("text:&sys(CoinCount)",9,308,46,48,57,1,val(NPCnumber),-1,-1)
  end if
end if
'bitmap,id,sourcex,sourcey,width,height,destx,desty,advset,-1
  call hudset("bitmap",11,0,128,80,28,488,30,0,-1)
if val(world)>99 then
val(world)=99
end if
if val(level)>99 then
val(level)=99
end if
if val(world)<10 then
  call hudset("text:&val(world)",12,504,46,48,57,1,val(NPCnumber),-1,-1)
else
  call hudset("text:&val(world)",12,488,46,48,57,1,val(NPCnumber),-1,-1)
end if
  call hudset("text:&val(level)",13,536,46,48,57,1,val(NPCnumber),-1,-1)
  call hudset("bitmap",14,0,156,64,16,688,30,0,-1)
'text:text,id,destx,desty,startasc,endasc,lnum,npcid,-1,-1
if val(timer)<10 then
  call hudset("text:&val(timer)",15,736,46,48,57,1,val(NPCnumber),-1,-1)
elseif val(timer)<100 then
  call hudset("text:&val(timer)",15,720,46,48,57,1,val(NPCnumber),-1,-1)
elseif val(timer)<1000 then
  call hudset("text:&val(timer)",15,704,46,48,57,1,val(NPCnumber),-1,-1)
elseif val(timer)<10000 then
  call hudset("text:&val(timer)",15,688,46,48,57,1,val(NPCnumber),-1,-1)
end if




if val(P2)=1 then
val(YScore)=62
call hudset("bitmap",21,0,0+16*char(2).id,94,16,48,46,0,-1)
if char(1).id=>2 then
  if char(1).hitpoint=>1 then
  call hudset("bitmap",22,0,80,16,16,144,46,0,-1)
  else
  call hudset("bitmap",22,16,80,16,16,144,46,0,-1)
  end if
  if char(1).hitpoint=>2 then
  call hudset("bitmap",23,0,80,16,16,160,46,0,-1)
  else
  call hudset("bitmap",23,16,80,16,16,160,46,0,-1)
  end if
  if char(1).hitpoint=>3 then
  call hudset("bitmap",24,0,80,16,16,176,46,0,-1)
  else
  call hudset("bitmap",24,16,80,16,16,176,46,0,-1)
  end if
else
  call hudset("bitmap",22,0,80,16,16,144,-800,0,-1)
  call hudset("bitmap",23,0,80,16,16,144,-800,0,-1)
  call hudset("bitmap",24,0,80,16,16,144,-800,0,-1)
end if
else
val(YScore)=46
call hudset("bitmap",21,0,0+16*char(2).id,94,16,48,-800,0,-1)
call hudset("bitmap",22,0,0+16*char(2).id,94,16,48,-800,0,-1)
call hudset("bitmap",23,0,0+16*char(2).id,94,16,48,-800,0,-1)
call hudset("bitmap",24,0,0+16*char(2).id,94,16,48,-800,0,-1)

end if



call sleep(1)
loop
'variables
'call hudset("text:&sys(coincount)",2,65,22,48,57,1,213,-1,-1)
'call hudset("text:&val(a)",3,65,54,48,57,1,213,-1,-1)
'call hudset("text:&sys(playerhealth)",4,65,84,48,57,1,213,-1,-1)
'call hudset("text:custom text",10,600,25,32,128,16,89,-1,-1)

SMB1 END

Code: Select all

'Script No.2 Name:New Script 2

call sleep(126)
do
if lvlTimer(Count)=0 then
else
call tcreate([SOUND]Endsound,0)
lvlTimer(Count)=lvlTimer(Count)-10
sysval(Score)=sysval(Score)+500
char(1).xsp=0
char(2).xsp=0
end if
call sleep(1)
loop
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:


Return to “Script submission”