Page 1 of 1

Sandbox Easy Edit Module

Posted: March 25th, 2010, 11:52 pm
by Leo_V117
Heres a script I created based upon your Ideas of an Easy Edit module.

Paste that code into the bottom section of your autoexec.cfg file.

Code: Select all

bind I "cleargui; showgui mapedit"

newgui mapedit [
	guitext	"Easy Edit"
		guibar
	guibutton	"Easy Calclight"			"showgui calclight"
	guibutton	"Textures"					"showtexgui"
	guibutton	"Easy CFG"					"showgui easycfg"
	guibutton	"Quick Edit and Materials"				"showgui easymat"
	guibutton	"Easy Model"				"showgui easymodels"
		guibar
	guibutton	"About"					"showgui about1"
		guibar
	guibutton	"Exit"				"cleargui"
]

newgui about1 [
	guitext	"About"
		guibar
	guitext	"Release:"
	guitext	"BETA"
		guibar
	guitext	"Created by Leo_V117"
	guitext	"www.jaztur117-projects.webs.com"
		guibar
	guitext	"Platinum Arts Sandbox"
	guitext	"www.sandboxgamemaker.com"
		guibar
	guibutton	"Back"		"cleargui; showgui mapedit"
]

newgui calclight [
	guitext	"Easy Calclight"
		guibar
	guibutton	"Poor Quality"				[calclight 1]
	guibutton	"Normal Quality"			[calclight 0]
	guibutton	"High Quality"				[calclight 0]
		guibar
	guibutton	"Back"					"cleargui; showgui mapedit"
]

newgui easycfg [
	guitext	"Create your CFG easily"
		guibar
	guibutton	"Edit CFG"					[notepad (mapcfgname)]
		guibar
	guibutton	"Back"					"cleargui; showgui mapedit"
]

newgui easymat [
	guitext	"Create Materials and Spawn Entities Easily"
		guibar
	guibutton	"Quick Edit and Materials"				"cleargui; showentgui"
		guibar
	guibutton	"Back"		"cleargui; showgui mapedit"
]

newgui easymodels [
	guitext	"Create Models Easily and Quickly"
		guibar
	guibutton	"Spawn Model"				"showgui mapmodels"
	guibar
	guibutton	"Back"		"cleargui; showgui mapedit"
]
Current Release: Beta Module

Re: Sandbox Easy Edit Module

Posted: March 26th, 2010, 1:04 pm
by Leo_V117
This one may be removed. Im creating the better version.

Can you delete it please?

Re: Sandbox Easy Edit Module

Posted: March 26th, 2010, 2:33 pm
by Runescapedj
you can edit your post 2 with the new code

Re: Sandbox Easy Edit Module

Posted: March 26th, 2010, 2:57 pm
by Leo_V117
I know. But the title is wrong.

Re: Sandbox Easy Edit Module

Posted: March 29th, 2010, 7:05 am
by Venima
you can edit the title as well