Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Quick Chat Module

Have any cool screenshots and/or projects to show off? Post your content here!
(If you need somewhere to post your images, why not use our gallery?)
Locked
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Quick Chat Module

Post by Leo_V117 »

Heres another of my scripts. As usual, Add it to your "autoexec.cfg" file.

Code: Select all

bind K "cleargui; showgui chat"

newgui chat [
	guitext	"Here are some important messages"
	guitext	"That can be sent without the need to type them"
		guibar
	guibutton	"Statements"		"showgui statements"
	guibutton	"Requests"			"showgui requests"
	guibutton	"Commands"			"showgui commands"
	guibutton	"Talk"			"showgui talk"
	guibutton	"Global"			"showgui global"
		guibar
	guibutton	"About"			"showgui about"
	guibutton	"Exit"			"cleargui"
]

newgui about [
	guitext	"About"
		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 chat"
]

newgui statements [
	guitext	"Heres a list of Statements"
		guibar
	guibutton	"Attacking"		"say I'm Attacking!"
	guibutton	"Defending"		"say I'm Defending!"
	guibutton	"Path Cleared"		"say Path Clear! Move On!"
		guibar
	guibutton	"Enemy Critical"	"say Enemy Critical! Move in For Attack"
	guibutton	"Base..."			"showgui bases"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui bases [
	guitext	"Bases"
		guibar
	guibutton	"Base Lost"		"say We Lost a Base!"
	guibutton	"Base Captured"		"say We Captured a Base!"
	guibutton	"Enemy Base Lost"	"say Enemy Lost a Base!"
	guibutton	"Enemy Captured"	"say Enemy Captured a Base!"
		guibar
	guibutton	"Back"		"cleargui; showgui statements"
]

newgui requests [
	guitext	"Heres a list of Requests"
		guibar
	guibutton	"Help"			"say I'm Under Fire, Help Me!"
	guibutton	"Cover Me"			"say Cover Me! I'm Going In!"
		guibar
	guibutton	"Water Wars"		"showgui waterwars"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui waterwars [
	guitext	"Requests set for Water Wars"
		guibar
	guibutton	"Water"			"say I Need Water! I'm Running Low"
	guibutton	"Water Bombs"		"say I Need More Water Bombs!"
	guibutton	"Clothes"			"say My Clothes Are Drenched! I Need Dry Clothes!"
		guibar
	guibutton	"Back"		"cleargui; showgui requests"
]

newgui commands [
	guitext	"Heres a list of Commands"
		guibar
	guibutton	"Follow Me!"		"say Follow Me!"
	guibutton	"Lets Go!"			"say Let's Go!"
	guibutton	"Move!"			"say Move!"
	guibutton	"Clear Path"		"say Clear the Path!"
	guibutton	"Hold!"			"say Hold Your Position!"
		guibar
	guibutton	"Attack Bases"		"say Attack Enemy Bases!"
	guibutton	"Defend Bases"		"say Defend These Bases!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui talk [
	guitext	"Heres a List of Talk Options"
		guibar
	guibutton	"Yes!"			"say Yes!"
	guibutton	"No!"				"say No!"
		guibar
	guibutton	"Thanks"			"say Thank You!"
	guibutton	"No Problem"		"say No Problem!"
	guibutton	"Oops"			"say Oops!"
	guibutton	"Sorry"			"say Sorry!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]

newgui global [
	guitext	"Heres a List of Global Options"
		guibar
	guibutton	"Hi!"				"say Hi!"
	guibutton	"Bye"				"say Bye!"
	guibutton	"Nice Shot!"		"say Nice Shot!"
	guibutton	"Good Game!"		"say Good Game!"
		guibar
	guibutton	"Back"		"cleargui; showgui chat"
]
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Quick Chat Module

Post by GR1M »

Very nice but may have to wait awhile to use because water wars hasn't been released yet.
Image
Want a user bar like this one? PM Leo
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Quick Chat Module

Post by Leo_V117 »

oh well. As for binding a message to a key.

Code: Select all

bind 1 "say Testing... 1, 2, 3..."
]
add that to the bottom of "autoexec.cfg"
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Quick Chat Module

Post by Hirato »

GR1M wrote:Very nice but may have to wait awhile to use because water wars hasn't been released yet.
to be fair, it hasn't even been started yet :P
This is not a url, clicking it is pointless
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Quick Chat Module

Post by Leo_V117 »

Well. Either Way. Its good to have something isnt it?
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Quick Chat Module

Post by arcones »

Sure!... I guess... :P
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Quick Chat Module

Post by Leo_V117 »

Thank you arcones.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Quick Chat Module

Post by arcones »

NP! :)
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Quick Chat Module

Post by Leo_V117 »

heh. Now back on topic. Whats next in the array of constant interuptions? :lol:
Locked