Page 1 of 2
door model triggers
Posted: October 21st, 2011, 5:26 pm
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
Re: door model triggers
Posted: October 21st, 2011, 5:31 pm
by jSoftApps
Are you playing in sp mode? You are most likely playing in coop-edit mode.
Re: door model triggers
Posted: October 21st, 2011, 8:15 pm
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.

Re: door model triggers
Posted: October 22nd, 2011, 12:19 pm
by Leo_V117
A solution to that, is to enter your map and type:
Re: door model triggers
Posted: October 22nd, 2011, 9:05 pm
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.
Re: door model triggers
Posted: October 22nd, 2011, 9:06 pm
by Leo_V117
Try:
in the map code.

Re: door model triggers
Posted: October 22nd, 2011, 9:26 pm
by justicemaliai
All that did is keep loading over and over again.
Re: door model triggers
Posted: October 22nd, 2011, 9:49 pm
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;
]
]

Re: door model triggers
Posted: October 22nd, 2011, 10:09 pm
by jSoftApps
Looks like that would work. Good job leo! (I was never good with cubescript)
Re: door model triggers
Posted: October 22nd, 2011, 10:38 pm
by justicemaliai
Yay, thank you so much. It worked perfectly. You guys rock.