Damnit, Head Crabs Don't Obey Me

Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
<div class="IPBDescription">question about scripted sequences for HL</div> Making a small map for HL and whenever I use a scripted_sequence on a bunch of headcrabs to make them storm in from all directions(of course, they will just sit and "purr" the first time you pass by them <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->. Only when your on your way back with a scientist to open a door will they all run in) from their hiding places unreachable to the player only ONE head crab ever obeys.

Can a single scripted_sequence be applied to many creatures of the same name at once?

Comments

  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    Uh... wrong forum?
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    edited April 2004
    all my headcrabs get eaten by skulks.

    grilled with BBQ sauce...
  • WolvWolv Join Date: 2002-01-25 Member: 56Members
    What my collegues are trying to say is that non-NS related mapping questions should be asked in their specific forums, for example the <a href='http://www.chatbear.com/board.plm?b=390' target='_blank'>VERC</a> one.
  • Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
    edited April 2004
    What's wrong with a simple non-specific HL question in the newbie mapping forum? It would actually be easier to ask here than to register at the verc forum and ask there in terms of time taken if people simply avoid being snooty about it and adhering to the forum rules with exact precision.
  • ShenTraXShenTraX Join Date: 2003-11-10 Member: 22434Members, Constellation
    whos snooty?

    I think you may have a trigger problem.
  • XythXyth Avatar Join Date: 2003-11-04 Member: 22312Members
    I'd say, just make a seperate scripted sequence for each crab. How many are there anyway?
  • Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I'd say, just make a seperate scripted sequence for each crab. How many are there anyway? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    About 50 at a time <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->.
  • Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
    If there was an easy way I would have gotten an answer by now so I'll try using trigger_push or a conveyor to shove them into the room.

    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->whos snooty?

    I think you may have a trigger problem. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    The people who suggested that I post in another forum just for the sake of getting a boost in selfesteem, obviously I know this isn't the strictly the correct forum for this so there's no reason to tell me, if you think it's severe enough missuse all you have to do is use the report to moderator function and just leave the thread to sink to the bottom, simple as that.
  • WolvWolv Join Date: 2002-01-25 Member: 56Members
    Just create a hole bunch of scripted_sequences looking for monster_headcrab. This will call one crab to each sequence.

    Though the trigger_push method seems a lot better, I'm sure this is used quite a few times in the original Half-Life.
  • Jean_Luc_PicardJean_Luc_Picard Join Date: 2003-02-03 Member: 13051Members
    XD I dun have a clue dude... I dunno how to use things like multi-managers and such XD I'm stupid <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->


    How DO you use those thingies anyway 0o"
  • Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
    Which thingies? scripted_sequence?

    They are used to make monster_ entities(such as headcrabs and scientists) do what you wan't them do. They are typically used to make scientists help you with eyescanners and opening doors in half-life. They are not of much use making a map for ns.

    When a scripted_sequence is triggered it searches for monster_ entities within the specified range with a certain name(you might name a monster_scientist mr_cheese(the player will never see the name of the scientist so call it something memorable or systematic that you know you wont use again by misstake) and then have the scripted_sequence make mr_cheese wave his hand when it is triggered).

    trigger_push is a brush entity(you make a brush, e.g. a block, cylinder, sofa or anything and then you make this brush into an entity, hence the name brush entity). A trigger_push will push the player in the specified direction, this can be used to throw a player or make a one way door that can only be walked through in one direction.

    To use a multi_manager you go into it's properties and name it something. Then you turn of smart edit and choose "add", "key" is the name of the entity you want to trigger and "value" is the delay before the multi_manager triggers it.

    You can list alot of entities that you want to trigger. Say you want to have a few big explosions and for the ground to shake. You could use a multi_manager to trigger a bunch of env_explosions entities that you have named(e.g. explosion1, explosion2...) and an env_shake to shake the screen.

    To trigger the multi_manager you simply have to add that to the target field of another entity(if you want it to go off when you open a door in the game you can set the target field of the door to the name of the multi_manager). In order for the multi_manager not to be triggered everytime you open the door you can make the multi_manager trigger a trigger_relay where the killtarget field is the name of the multi_manager(it will remove the multimanager) or you could use a trigger_changetarget to change the target field of the door to something else so that the multi_manager etc.(there are often many ways to accomplish the same thing, some better than others for that particular purpose.)
  • WolvWolv Join Date: 2002-01-25 Member: 56Members
    A bit late perhaps, but another thing mentioned in the <a href='http://forums.gamedesign.net/viewtopic.php?t=6368' target='_blank'>Rust forum</a> that might work:
    Use 'Children's name' to give the spawned headcrabs a name. You can then use a trigger_changetarget to set the target of the headcrabs to a path_corner where you want them to go (you can even link the path_corners and make them take a predetermined path).
  • AvitarAvitar Join Date: 2003-09-11 Member: 20760Members
    Don't give up...

    I know it can be done in NS, because I saw several scripted headcrabs in a co, and classic NS in a black-mesa stylized environment.

    PS: if you find out how to do it, drop a note on this thread for the rest of us. I personaly would like to add a scientist in one of my maps that cowers from players, or grunts/headcrabs/turrets that attack everything indescriminatly.
  • Lt_GravityLt_Gravity Join Date: 2003-04-28 Member: 15909Members
    doesnt work since ALL hl specific entities had been removed form the fgd and I think also from the code. does anybody knows, if there is a way, to get env_skae working correct in ns?
  • AvitarAvitar Join Date: 2003-09-11 Member: 20760Members
    I think you have to edit the fgd
Sign In or Register to comment.