Announcement

Collapse
No announcement yet.

Wake the Dead!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wake the Dead!

    Without using any spawns, how do you bring back dead/KO'ed guards? And can I delay the effect for a time period? ie, a KO'ed guard wakes up after 10 minutes.

    Thanks!
    Kiech

  • #2
    Good luck , you'd need triggers to :
    -locate guard corpses (they can be everywhere including fireplaces and other hazardous areas)
    -identify the frag cause (BJ or killing) of the fallen pawn
    -add a timer for the respawn effect
    -both remove the corpse and add an AI here if the engine allows it

    This may cause problems like :
    -what if the corpse is in an unreachable place ? (perhaps solve this using pathnoding promixity)
    -what if a thief is carrying the body ? telefrag ?
    -the body can be stuck into movers too
    -what kind of loadout the AI will have ? full reload ? If it is inhabitable it equals a new life , that is , 850 gold worth of items.

    Comment


    • #3
      Originally posted by Stakhanov
      Good luck , you'd need triggers to :
      -locate guard corpses (they can be everywhere including fireplaces and other hazardous areas)
      -identify the frag cause (BJ or killing) of the fallen pawn
      -add a timer for the respawn effect
      -both remove the corpse and add an AI here if the engine allows it

      This may cause problems like :
      -what if the corpse is in an unreachable place ? (perhaps solve this using pathnoding promixity)
      -what if a thief is carrying the body ? telefrag ?
      -the body can be stuck into movers too
      -what kind of loadout the AI will have ? full reload ? If it is inhabitable it equals a new life , that is , 850 gold worth of items.
      Well, I can cut down on a few of those problems by making the dead/KO'ed disappear, and respawn in a safe place.

      ThDestroyTrigger would help getting rid of the bodies. The time limit doesn't have to be 10 min, it could even be caused by some other unrelated trigger in itself...but the timed feature would be nice. The guard will get a full loadout.

      So if I get rid of all the bells and whistles, we get down to:
      -locate guard corpses (they can be everywhere including fireplaces and other hazardous areas)
      -both remove the corpse and add an AI here if the engine allows it

      The second one I am worried about, I am sure there is a way to find a corpse, since the map already does that for me.

      Good points, guess I really should just try to KISS this project and learn if I can do the basic stuff with it first.

      Kiech
      Kiech

      Comment


      • #4
        Wait for 1.3.

        That is all.
        (AKA Dresden)
        Despite all my rage, I am still just a dwarf in a cage.

        Comment

        Working...
        X