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.

door model triggers

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.
justicemaliai
Member
Member
Posts: 9
Joined: October 21st, 2011, 5:22 pm

door model triggers

Post by justicemaliai »

Ok, I've looked around for a bit now, and I haven't found an answer to my specific question. During version 2.6 of sandbox, if you placed, for example door_03, on a map, and used f3 to edit its properties, you could set it to trigger type 10 and a radius of whatever, and when you entered the radius of the trigger, it opened the door. In 2.7, this no longer works... Is anyone else having this issue? Am I doing something incorrectly? Is this a known bug / change? I would greatly appreciate any replies you guys have. Thanks in advance for the help. My space ship map will not be complete without doors. XD
User avatar
jSoftApps
Member
Member
Posts: 426
Joined: May 2nd, 2011, 10:02 pm
Name: J.R.
IRC Username: jSoftApps
Location: jSoft Apps Software Innovations HQ
Contact:

Re: door model triggers

Post by jSoftApps »

Are you playing in sp mode? You are most likely playing in coop-edit mode.
jSoft Apps Software Innovations - App, Games and More!
Visit our Website!

Image

jSoft Apps is now on indie db!
Image
justicemaliai
Member
Member
Posts: 9
Joined: October 21st, 2011, 5:22 pm

Re: door model triggers

Post by justicemaliai »

Well, as far as I know I'm using single player. I use the "sandbox launcher" and start my map with the following settings:
res 1280x800 shaders low vsync off
Also, where it has the tabs (fps, ssp, rpg, server, client, moviecube) I use the fps option, then press the launch button there.
Image
Justice Maliai
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: door model triggers

Post by Leo_V117 »

A solution to that, is to enter your map and type:

Code: Select all

sp
justicemaliai
Member
Member
Posts: 9
Joined: October 21st, 2011, 5:22 pm

Re: door model triggers

Post by justicemaliai »

Awesome, that worked. Thanks so much. One last question though, is there a way to make it start in sp mode? It defaults in co-op and I tried just putting "sp" in the script editor, (f6) but it just made the map crash.
Justice Maliai
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: door model triggers

Post by Leo_V117 »

Try:

Code: Select all

sleep 100 [sp]
in the map code. 8-)
justicemaliai
Member
Member
Posts: 9
Joined: October 21st, 2011, 5:22 pm

Re: door model triggers

Post by justicemaliai »

All that did is keep loading over and over again.
Justice Maliai
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: door model triggers

Post by Leo_V117 »

Oh... Then try:

Code: Select all

sp_enabled = 0
sleep 100 [sp_on]

sp_on = [
    if (= $sp_enabled 0) [
        sp;
        sp_enabled = 1;
    ]
]
8-)
User avatar
jSoftApps
Member
Member
Posts: 426
Joined: May 2nd, 2011, 10:02 pm
Name: J.R.
IRC Username: jSoftApps
Location: jSoft Apps Software Innovations HQ
Contact:

Re: door model triggers

Post by jSoftApps »

Looks like that would work. Good job leo! (I was never good with cubescript)
jSoft Apps Software Innovations - App, Games and More!
Visit our Website!

Image

jSoft Apps is now on indie db!
Image
justicemaliai
Member
Member
Posts: 9
Joined: October 21st, 2011, 5:22 pm

Re: door model triggers

Post by justicemaliai »

Yay, thank you so much. It worked perfectly. You guys rock.
Justice Maliai
Locked