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

A problem with menudef

Recommended Posts

ListMenu "EntryWay"
{
	StaticTextCentered 160, 6, "START GAME"
	Font "SMALLFONT", "RED", "RED"
	Linespacing 14
	Position 48, 36
	IfGame (Doom, Strife, Chex)
	{
		PlayerNameBox "Username", 0, "Playerbox"
		Selector "-", -16, -1
	}
	IfGame(Heretic, Hexen)
	{
		PlayerNameBox "Username", 5, "Playerbox"
		Selector "-", -16, 1
	}
	IfGame(Doom, Heretic, Strife, Chex)
	{
		MouseWindow 0, 220
		PlayerDisplay 220, 48, "20 00 00", "80 00 40", 1, "PlayerDisplay"
	}
	IfGame(Hexen)
	{
		MouseWindow 0, 220
		PlayerDisplay 220, 48, "00 07 00", "40 53 40", 1, "PlayerDisplay"
	}
	TextItem "New Game", "w", "PlayerClassMenu" // [TP]
	TextItem "Load & Save", "g", "GameFilesMenu"
	
			Position 97, 180
					Font "SMALLFONT", "GRAY", "GOLD"
			TextItem "How Do I Play?","r", "ReadThisMenu"
}

So, what I am trying to do here is add a box where you can type your playername. I copied the player name display from zandronum.pk3 and when you click on the username box, it just logs unknown menu PlayerBox. I am using Zandronum 3.0.1

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
×