View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 12-09-2020 , 07:59   Re: Help Menu v0.3 (7/10)
Reply With Quote #198

Help Menu Improved v0.8 (2022/11/29)
In-game Help Menu

- Convert All codes to new syntax.
- Translation support.
- Add more convars
- Add more commands

-Image-


-Example-
in configs/helpmenu.cfg
Code:
"Help"
{
	"MENU1"
	{
		"title"		"MENU1"
		"type"		"text"      //<-- choose text or list
		"items"
		{
			""		"AAA"
			""		"BBB"
		}
	}
	"Chat Commands"
	{
		"title"		"Chat Commands"
		"type"		"list"       //<-- choose text or list
		"items"
		{
			  "say !help"		"Default Description"
		}
	}
}
in translations/helpmenu.phrases.txt
Code:
"Phrases"
{
	"MENU1"
	{
		"en"			"Write down translation for MENU1 Title"
	}
	"AAA"
	{
		"en"			"Write down translation for AAA description"
	}
	"BBB"
	{
		"en"			"Write down translation for BBB description"
	}
	"Chat Commands"
	{
		"en"			"Write down translation for Chat Commands Title"
	}
	"say !help"
	{
		"en"			"Write down translation for !help command description"
	}
}
-Convar-
Spoiler


-Command-
Spoiler


-Edit Github-
Latest version always here
__________________

Last edited by HarryPotter; 11-29-2022 at 06:22. Reason: v0.8 release
HarryPotter is offline