Author Topic: My PW death system  (Read 324 times)

Legacy_ppmateos

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
My PW death system
« on: May 26, 2014, 03:48:17 pm »


               Hi, this is my Death System for PW (NWN1)


It Works with persistent variables.


Its very simple. Enjoy it.


3 zones, 2 conversations and 10 scripts.


https://mega.co.nz/#...ATea3TUMjA9QlWY



When a player enters the server, the player will go to the area of beginning of the module. --> "Welcome Zone"


The elemental NPC on this area give at player the option to enter on the world (normal areas). In this case, the player will be go to the area called "Dangerous Forest".


In "Dangerous Forest" area, the player can find two white bears to test the "Death System".


If the bears defeat the player, the player can look the death pannel and have two options: regenerate or wait at other player for resurrection (or raise dead).


When the player is defeat in combat, the system set a variable on a PC (Variable A = 1). If is resurrected by one friend the variable will be reset (Variable A = 0).


If the player push the respawn button of the pannel, the player will be go to the area called "Hell". When enter on this areae, the "Death System" set another variable on the player (Variable B = 1).


If the player dies in this area and wants to be revived by another player, the system reset the Variable A to 0, but the variable "B" will continue doing his function.


When the player speak with the Spectre NPC, the spectre give at the player two options:


1) Revive in the WP from start location of "Dangerous Forest"

2) Revive in the last position of death.


When the player exit of "Hell" the "System" reset the two variables A & B to 0 and the spectre apply a XP & Gold penalty.



The system works though the server restarts, ideal for PW becasue the variables are persistents.


In all cases, if the player its dead or in the "hell", if the player reloging will be go to the "hell".
               
               

               
            

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
My PW death system
« Reply #1 on: May 28, 2014, 05:41:37 pm »


               

Thanks!


 


You may want to describe it in more detail so that people looking for a death system have an understanding about what features it has (so they can decide whether they want to download it or not without having to download it),  You may also want to add some instructions for people about how to incorporate it into their world.


 


Also (if you haven't already), please upload it to the New Vault, where it can be housed for posterity:  http://neverwintervault.org/



               
               

               
            

Legacy_ppmateos

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
My PW death system
« Reply #2 on: May 28, 2014, 07:52:56 pm »


               Ok, sorry. Im going to edit the first post.