Jump to content

Home

Real Doors? (how to make them)


snife

Recommended Posts

I think he's asking how to make doors in the game that open like most real-world doors, ie: swings sideways instead of whooshing straight up into the ceiling like in Star Wars.

 

That is probably a question better suited to the Mapping and General Editing Forums.

 

Good luck!

Link to comment
Share on other sites

Well, lets just say its not an easy process. Make a func_static, add these properties:

 

script_targetname

door1 (or whatever you want)

 

make a script simular to this:

 

//(BHVD)
rem ( "Makes Door Swing Open" );

affect ( "door1", /*@AFFECT_TYPE*/ FLUSH )
{

task ( "open" )
{
	rotate ( < 0.000 0.000 0.000 >, 1000.000 );
}

do ( "open" );
}

 

Heres the problem... see those zeros? You have to change one of them to 90.000 but... I cant remember which one. Also, -90.000 makes the door open the other way. Whenever I make a script like that, I have to guess and test which numbers to change, because I can never remember.

 

Lassev, didnt you post that picture link explaining that? Can I get the link again, thanks :)

 

EDIT:Kurgan, probably best in the JA Mapping forums! ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...