Opening Doors

Learn more on how to use Sandbox, or submit your own tutorials or resources.
User avatar
MetalLocked
Member
Member
Posts: 1
Joined: November 19th, 2009, 11:43 pm

Opening Doors

Postby MetalLocked » November 20th, 2009, 12:08 am

Sorry if this is posted somewhere, but I never found it, so I'm posting it myself.

How to make doors 02 and 03 open (step by step)

1. create and place the door model your going to use.

2. click on the door to select it

3. type in this code:

/entset mapmodel

(when you have this typed, you have to type in the YAW number for your door. {the dirction it will face} then the model number {door 02 is model 110, door 03 is 111} then you add on the number that makes the door open at a certain range {10 works best} finally, you'll need to add on the last 5 numbers {i just use 5 zeros and it works right})

4. after all that your code should look like this:

/entset mapmodel 90 110 10 0 0 0 0 0

when you enter this, the door will now open when you get neer it.



heres, the simple version of what I just said:

/entset mapmodel 90{YAW} 110{model} 10{range} 0{blank} 0{blank} 0{blank} 0{blank} 0{blank}

this took me a while to get right.


NOTE:

if you see a white ring below your door after you use the code, you did everything right.

NOTE 2:

I checked this on a few other things like elevators and such and made it work for those too.

User avatar
Obsidian
Former Staff
Posts: 454
Joined: May 24th, 2009, 1:52 pm
IRC Username: Katana
Contact:

Re: Opening Doors

Postby Obsidian » November 22nd, 2009, 9:46 am

Thanks for the contribution MetalLocked. :)
うるさいうるさいうるさい!

github: https://github.com/damianb/

User avatar
Mike
Administrator
Administrator
Posts: 868
Joined: May 24th, 2009, 12:52 pm

Re: Opening Doors

Postby Mike » November 22nd, 2009, 9:53 am

10 is not the distance, it is the trigger type. You might want to update your post or I can. Here is the list of the trigger types:
http://sandboxgamemaker.com/platinumart ... _mapmodel_

Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!

mr2000
Member
Member
Posts: 20
Joined: September 25th, 2011, 2:40 pm
Name: Daniel

Re: Opening Doors

Postby mr2000 » September 28th, 2011, 7:03 pm

This didn't work for me... what's the correct code? Cause it shows the trigger type and stuff, but I can't walk through it.

java.x.beast
Member
Member
Posts: 194
Joined: August 10th, 2011, 2:35 pm
Name: Addis
IRC Username: javaxbeast
Location: Chicago, IL
Contact:

Re: Opening Doors

Postby java.x.beast » October 19th, 2011, 5:18 pm

This was from earlier version, about two years ago. I doubt it would work on 2.7, sorry to tell you.
Age of Darkness

Maps: Image
Music: Image
Models: Image
Scripts: Image
Other: Image


Visit the company website: (In progress (Expected to be released in two weeks :uber:) 8-) :D 8-) )
Visit the company page on ModDB: Vulcanis Entertainment


java.x.beast wrote: I got them moves like JAGger!!!

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Opening Doors

Postby Hirato » October 19th, 2011, 9:20 pm

triggers work the same as always in the FPS
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: Opening Doors

Postby Leo_V117 » October 20th, 2011, 10:49 am

Hirato wrote:triggers work the same as always in the FPS

Yeah, but you have to be in singleplayer.

Code: Select all

/sp

java.x.beast
Member
Member
Posts: 194
Joined: August 10th, 2011, 2:35 pm
Name: Addis
IRC Username: javaxbeast
Location: Chicago, IL
Contact:

Re: Opening Doors

Postby java.x.beast » October 20th, 2011, 4:06 pm

Nothing has ever been updated in FPS since 2009? DAAAAAAAANNNNNGG!!!
Age of Darkness

Maps: Image
Music: Image
Models: Image
Scripts: Image
Other: Image


Visit the company website: (In progress (Expected to be released in two weeks :uber:) 8-) :D 8-) )
Visit the company page on ModDB: Vulcanis Entertainment


java.x.beast wrote: I got them moves like JAGger!!!

User avatar
BlackGulf
Member
Member
Posts: 127
Joined: August 28th, 2011, 5:07 pm
Name: Trevor
IRC Username: BlackGulf
Location: Stalkin' Your Mom
Contact:

Re: Opening Doors

Postby BlackGulf » October 20th, 2011, 5:04 pm

really, since 2009?
Image

Current Project
The Adventures Of NotaPig

Models Image
Maps Image
Coding Image
Textures Image
Music and SFX Image

In Need Of Staff.

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: Opening Doors

Postby Leo_V117 » October 23rd, 2011, 8:34 am

BlackGulf wrote:really, since 2009?

Yup. 8-)


Return to “Tutorials and Resources”

Who is online

Users browsing this forum: No registered users and 1 guest