two mapping problems

Discussion in 'Mapping Questions & Discussion' started by rawrl337, Nov 15, 2009.

  1. rawrl337

    rawrl337 L2: Junior Member

    Messages:
    51
    Positive Ratings:
    0
    alright i have two new map problems:

    1: making doors that open/close like a normal door but after a pl cp [ex door closed in beginning of map. blu takes pl cp1 -> door can now open/close] i searched in the forums but didnt get a clear cut of how to do this. i know it has to do with a trigger for the cp stuff but i cant figure out exactly what/how do do it

    2: i have a mining pit and i want it so when you fall into it you die. i tired using a trigger_hurt but it crashes my game. i had it set to 1000 but i dunno if that is making it crash. also related to this is how to make the final pl cp explosion zone. i followed the developer wiki but when ever i walked into it no matter what i die :/

    thanks for all the help.
     
  2. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    1. take a look into inputs and outputs.
    for a normal door you should make a trigger_multiple, with the outputs
    onstarttouchall -> yourdoor -> open
    onendtouchall ->yourdoor -> close
    where yourdoor is of course the name of your door.
    now to make work like you want it too:
    give the trigger_multiple a name, lets say triggername
    at the properties of triggername, set "start disabled" to yes.
    then find where the capturing of the cp happens (I never made a payload so I dont know)
    there probably is some output like
    onCapture -> capmodel -> setskin -> 3
    I'm guessign you need to search for a onCapture output. If that is the case, then add
    onCapture -> triggername -> enable

    2. Have you tried doing the same without the trigger hurt? (manually killing yourself by selecting another class) It shouldnt crash your game
     
  3. rawrl337

    rawrl337 L2: Junior Member

    Messages:
    51
    Positive Ratings:
    0
    ooookkk that makes sense. i didnt know the trigger_multiple had the start disable! i was searching for everything but that one. yea the pl maps have the logic triggers for the cp on cp maps (i believe because this my first mao and its a pl)

    for the 2nd question i need it so if anyone falls in the pit they die. (its a fenced off mining pit area thats can be mostly reached by rocket/sticky jumps) so basically if u fall in there u need to die :)
     
  4. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    for killing players you want a trigger_hurt with the hurt damage set high.

    I recommend 9999 instead of 1000, because dead ringer spies will survive 1000 (they will have 25 health left)

    another method is having a trigger_multiple with
    onTrigger -> !activator -> sethealth 0
     
  5. rawrl337

    rawrl337 L2: Junior Member

    Messages:
    51
    Positive Ratings:
    0
    ok quick question. how do u make wire for power lines?
     
  6. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    • Thanks Thanks x 1