Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
doomguykiller69

error on my ipk3 "Status screen class None not found - reverting to default"

Question

Posted (edited)

Where am I supposed to put the status screen? I can't go from level 01 to 02 without the screen, but I don't know where to put it or how, it helps! regards

the error on LZ "Status screen class None not found - reverting to default"

PicsArt_01-14-02.17.42.jpg

Screenshot_2.png

Edited by doomguykiller69

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 1

Never heard of that error, but it's seeming like it's looking for a Status Screen class that you've called None. You might need to change that to Null or something?

Share this post


Link to post
  • 0
19 minutes ago, Dark Pulse said:

Never heard of that error, but it's seeming like it's looking for a Status Screen class that you've called None. You might need to change that to Null or something?

Hello DarkPulse! I ran my IPK3 again but this time in the LZ startup options I changed it to Hardware, it worked! but not with Software! Why does this happen? it happens when I finish map 1 and press the button to take me to map 2

Share this post


Link to post
  • 0
1 hour ago, doomguykiller69 said:

Hello DarkPulse! I ran my IPK3 again but this time in the LZ startup options I changed it to Hardware, it worked! but not with Software! Why does this happen? it happens when I finish map 1 and press the button to take me to map 2

At this point I'm genuinely not sure, because now the thing I thought it was seems not to be it if it magically worked on Hardware. It's not intermission-based either, since you got that problem directly upon trying to enter MAP01 (which also means you're not doing Doom 1-style intermissions or anything).

 

Are you trying to do a custom status bar via SBARINFO or something?

Share this post


Link to post
  • 0
11 hours ago, Dark Pulse said:

At this point I'm genuinely not sure, because now the thing I thought it was seems not to be it if it magically worked on Hardware. It's not intermission-based either, since you got that problem directly upon trying to enter MAP01 (which also means you're not doing Doom 1-style intermissions or anything).

 

Are you trying to do a custom status bar via SBARINFO or something?

I have a HUD programmed in Zscript that only shows my life, I don't have a sbarinfo yet, I haven't understood how to add it

Share this post


Link to post
  • 0
1 hour ago, doomguykiller69 said:

I have a HUD programmed in Zscript that only shows my life, I don't have a sbarinfo yet, I haven't understood how to add it

Post the ZScript and anything remotely related to the status bar as a code link.

Share this post


Link to post
  • 0
14 minutes ago, Redneckerz said:

Post the ZScript and anything remotely related to the status bar as a code link.

class HUD : BaseStatusBar
{
	HUDFont mHUDFont;
	PLAYER pmo;

	override void Init(void)
	{
		Super.Init();
		SetSize(0, 320, 200);
		Font fnt = SmallFont;
	    mHUDFont = HUDFont.Create(fnt, fnt.GetCharWidth("0"), Mono_CellLeft, 1, 1);
	}

	override void Draw(int state, double TicFrac)
	{
		if (CPlayer && CPlayer.mo)
		{
			pmo = PLAYER(CPlayer.mo);
		}

		BaseStatusBar.Draw(state, TicFrac);

		if (state == HUD_StatusBar || state == HUD_Fullscreen)
		{
			BeginHUD(forcescaled: true);

			DrawHealth();
		}
	}

	void DrawHealth(void)
	{
		DrawString(mHUDFont, StringTable.Localize("$TXT_HUD_HEALTH") .. FormatNumber(pmo.player.health, 3), (44, -20));
	}
}

GameInfo
{
    TitlePage = "graphics/titlepic.png"
    CursorPic = "graphics/m_cursor.png"
    PauseSign = "graphics/m_pause.png"
    BorderFlat = "graphics/border_flat.png"
    MenuBackButton = "graphics/m_back.png"
    MenuFontColor_Title = "White"
    MenuFontColor_Label = "Default"
    MenuFontColor_Value = "Gray"
    MenuFontColor_Action = "Gray"
    MenuFontColor_Header = "White"
    MenuFontColor_Highlight = "White"
    MenuFontColor_Selection = "Gray"
    FullscreenAutoAspect = 3
    DimColor = "0b 0b 0b"
    DimAmount = 0.8
    PlayerClasses = "PLAYER"
    StatusbarClass = "HUD"
    titlemusic = "music/D_DM2TTL.mp3" 
    interpic = "graphics/INTERPIC.png"
    
}

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×