Frodo's "n00b mapping questions" thread

Lord_FrodoLord_Frodo Join Date: 2002-09-26 Member: 1333Members
<div class="IPBDescription">Are you experienced? help others out!</div>*eep!*... alright, going to go to valve-erc in the future...

/me slaps himself for not reading the FAQ

Alright, my first question: I've got a couple models tied to the func_door entity (I dunno if that's the right way of stating it... they're doors, anyway). And the only way I've figured out to make them open so far is by setting the "open on damage" property (they open when I spawn a crowbar in the level and bash them some).... GET READY FOR THE FIRST n00b QUESTION!!... how do you get a door to open when there's just someone standing in front of it?

Comments

  • MoleculorMoleculor Namer-of-Bob Join Date: 2002-01-24 Member: 9Members
    *points at the Mapping FAQ*

    Questions such as these are usually best asked/answered in Valve-ERC.
  • ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
    In normal HL or in NS?

    In NS you need to target the door(s) with a trigger (trigger_multiple).  There was a very simlar question asked recently, search the mapping forum.



    <!--EDIT|ChromeAngel|Oct. 02 2002,21:04-->
  • InsaneInsane Anomaly Join Date: 2002-05-13 Member: 605Members, Super Administrators, Forum Admins, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, NS2 Playtester, Squad Five Blue, NS2 Map Tester, Subnautica Developer, Pistachionauts, Future Perfect Developer
    <!--QuoteBegin--Lord_Frodo+Oct. 02 2002,15:53--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Quote</b> (Lord_Frodo @ Oct. 02 2002,15:53)</td></tr><tr><td id="QUOTE"><!--QuoteEBegin-->Alright, my first question: I've got a couple models tied to the func_door entity (I dunno if that's the right way of stating it... they're doors, anyway). And the only way I've figured out to make them open so far is by setting the "open on damage" property (they open when I spawn a crowbar in the level and bash them some).... GET READY FOR THE FIRST n00b QUESTION!!... how do you get a door to open when there's just someone standing in front of it?<!--QuoteEnd--></td></tr></table><span id='postcolor'><!--QuoteEEnd-->

    Make a momentary_door entity as your door.  Name this door (e.g. "door1").  Put a trigger_prescece entity (this is a world based entity) on the floor in front of your door, and in it's properties set it's "momentary_door to target" as "door1" or whatever your door is called.  When someone stands in the trigger_prescence, it will activate the door.

    EDIT:  Ooer!  Beaten to it twice!
  • PlaguebearerPlaguebearer Join Date: 2002-03-21 Member: 338Members, NS1 Playtester, Contributor
    Best thing to do would be to make all the parts of your door to have the same targetname.

    Then make a trigger_multiple brush entity, where the brush covers all the places you want the door to 'sense' people being in, to open. Give the trigger_multiple a target field the same name as your doors' targetname.

    Then, when someone steps into the trigger_multiple, it will target and activate the doors.

    Yeh, i know thi sshoulda been in valve-erc, but hey, i'm a sucker for mapping questions.

    If I'm around, I'm always happy to answer anything in #nsmapping, as well.
  • AngelAngel Join Date: 2002-07-09 Member: 902Members
    In "C:\Sierra\Half-Life\nstr\Maps" should be some sample .rmfs (and a few .maps). What I did was learn from them, so I advise you to do the same.
Sign In or Register to comment.