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.

CFG help

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
User avatar
rev1
Member
Member
Posts: 136
Joined: September 19th, 2009, 9:36 am
Name: Jorick
Location: Over here

CFG help

Post by rev1 »

hello i need some help with .cfg files
could you please give me an example script of a:

shop
different order of guis four one person
inventory(in fps)
costum menu buttons
the gui commands like newgui me [hi its me] chat i mean the underlined thing

if youre going to say about C++ or something please give me a full download because the one from the website is in pieces
thanks anyway
User avatar
rev1
Member
Member
Posts: 136
Joined: September 19th, 2009, 9:36 am
Name: Jorick
Location: Over here

Re: CFG help

Post by rev1 »

here's a cool script:
newgui Bed [
guitext "do you wanna sleep?" chat
guibar
guibutton "yes, I want to sleep untill night" [skybox amethyst7/starfield]
guibutton "yes, I want to sleep untill day" [skybox loopix/daysky]
guibutton "no"
]
it makes the skybox change is night and day!
User avatar
kid matthew
Developer
Developer
Posts: 468
Joined: August 11th, 2009, 5:28 pm
Name: Matthew
IRC Username: Kid_matthew
Location: Land of Sandbox.

Re: CFG help

Post by kid matthew »

cool script can you make me one with a next and a baxk button. :!:
Lost Lands Work In Progress <3 viewtopic.php?f=10&t=2522 <3
User avatar
rev1
Member
Member
Posts: 136
Joined: September 19th, 2009, 9:36 am
Name: Jorick
Location: Over here

Re: CFG help

Post by rev1 »

Like this?
newgui Bed [
guitext "do you wanna sleep?" chat
guibar
guibutton "yes, I want to sleep untill night" [skybox amethyst7/starfield]
guibutton "next" [showgui Bed1]
]

newgui Bed1 [
guitext "do you wanna sleep?" chat
guibar
guibutton "yes, I want to sleep untill day" [skybox loopix/daysky]
guibutton "next" [showgui Bed2]
guibutton "Back" [showgui Bed]
]

bewgui Bed2 [
guitext "do you wanna sleep?" chat
guibar
guibutton "No" [cleargui]
guibutton "Back" [showgui Bed1]
]
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: CFG help

Post by siimvuss »

this sure seems interesting... But how can I spawn the thing?? and where do I have to copy the code?
User avatar
rev1
Member
Member
Posts: 136
Joined: September 19th, 2009, 9:36 am
Name: Jorick
Location: Over here

Re: CFG help

Post by rev1 »

just print and put in OR copy this in a .txt file and make .txt to .cfg
User avatar
kid matthew
Developer
Developer
Posts: 468
Joined: August 11th, 2009, 5:28 pm
Name: Matthew
IRC Username: Kid_matthew
Location: Land of Sandbox.

Re: CFG help

Post by kid matthew »

kind of but sometihng like when you klick next a new gui comes up and more text comes up. do you understand.
Lost Lands Work In Progress <3 viewtopic.php?f=10&t=2522 <3
User avatar
kid matthew
Developer
Developer
Posts: 468
Joined: August 11th, 2009, 5:28 pm
Name: Matthew
IRC Username: Kid_matthew
Location: Land of Sandbox.

Re: CFG help

Post by kid matthew »

I type this


"level_trigger_3" = "showgui bed"
newgui Bed [
guitext "do you wanna sleep?" chat
guibar
guibutton "yes, I want to sleep untill night" [skybox amethyst7/starfield]
guibutton "yes, I want to sleep untill day" [skybox loopix/daysky]
guibutton "no"
]


and i tpye on my model 0 0 11 3 0 0 0 0

I didn't work.
Lost Lands Work In Progress <3 viewtopic.php?f=10&t=2522 <3
User avatar
rev1
Member
Member
Posts: 136
Joined: September 19th, 2009, 9:36 am
Name: Jorick
Location: Over here

Re: CFG help

Post by rev1 »

mmbl...
i dont know how ut really works in 2.4, but set the model's level trigger to 3 in your case and trigger type to 1 and bonus radius to whatever you want above 0
Locked