Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  Natural Healing
Author  Leomist
Submitted / Updated  06-12-2007 / 06-12-2007
Category  Scripting routines
Expansions  Works on all versions
Format  Module and Code
Type  Type - Other
Description
The Natural Healing System was created
by myself Leomist.

The idea of natural healing is that in real life our wounds heal over time, and if you had a wound you would treat it every now and then you wouldn't just let it get infected.

So i designed this script to give the players back hit points calculated from how many healing skill points they have.

The more healing skill points the player has the higher the natural Healing will be.

I see it as the characters ability to treat their wound's like cut's and broken bones and stopping infections and blood loss and such to make sure their wounds recover.

As an example the player will "regenerate" or i prefer the term Naturally heal hit points based on how many healing skill points they have.

The basic healing rate for skill point less then or equal to 4 starts at 1hp every 600 seconds this is 10 minutes real life.

Please ignore the error of missing resources leo_regen.ncs.

it is not actually a compiled script as such, in fact it can't be, as there is no 'void main' function.

The '#include' files are actually treated as if they are part of the script that uses them, and are compiled as part of that script.

in this case leo_regen is a '#include' script.

Implanting this script is very easy.

Here is a list of scripts you will need to edit and add the scripts.

Your on enter script must have this under the main function.
ExecuteScript("leo_regen_enter",OBJECT_SELF);

This will load the script for the entering player.

The following data must be added. please remember the #include must be above the main function.

#include "leo_regen"

and then under the main function

DelayCommand(15.0, regen(oPC));

oPC will not be used in all your scripts so you may have to change it to the suited, such as oTarget.

Now to the scripts you must add the above lines.

The Player Ressurection script.
The Raise dead spell. "nw_s0_raisdead"
The Ressurection Spell "nw_s0_resserec"

If you have not made changes to your raise dead spell or Ressurection spell your job is made easy you can download the Leo_Spells erf i have provided as a separate download.

This will overwrite your default spells for raise dead and Ressurection.

I have included a working module you can look at to get an idea of how the scripts are put in place.

Feel free to ask questions.

Please remember to vote for this script.

- Leomist -

Files

NameTypeSizeDownloads
Leo_spells.rarLeo_spells.rar
Submitted: 06-12-2007 / Last Updated: 06-12-2007
rar3.63Kb114
This is the erf of the 2 default NWN spells scripts edited for use with the Natural healing system. raise dead and resurrection.
Leo_regen.rarLeo_regen.rar
Submitted: 06-12-2007 / Last Updated: 06-12-2007
rar1.7Kb124
This is the simple erf file with only 2 scripts the on enter script and the #include script. please be advised that it is normal to see missing resources.
Leo__Natural_Healing.rarLeo__Natural_Healing.rar
Submitted: 06-12-2007 / Last Updated: 06-12-2007
rar20Kb123
This is the complete module Demo version of the Natural healing script you must be damaged for the script to kick in. so i have placed a minor holy trap in the top left hand of the chessboard, from there you can damage your self.
SCORE OUT OF 10
9.88
6 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Here you can see a player log in this is exactly what you should see.





You Must Be Logged In to Participate.
Comments (11):

Posted by Killuminati at 2007-10-02 05:06:18    Voted 10.00 on 10/02/07
Neat stuff, good work Leo, I like your work

Posted by Leomist at 2007-09-20 18:49:27    Voted 10.00 on 07/16/07
thanks i have been keeping it up look below i have my intire selection avalible in my signature, dont be shy to vote ;)
_________________________
Below you can find all my scripts.

\*/Shadow Jump
\*/Natural Healing
\*/Auto Server Reset
\*/Leo's Addon for Vuldrick's Flexible Pantheon & Church System
\*/Leo's Healing kits

Posted by DM Megadeth at 2007-09-20 16:56:25    
Very interesting keep up the awsome work.
_________________________
Peace sells... who's buying
Killing is my business and business is good.
Isles of Everbane
Link

Posted by Lady_Blood_Rayne at 2007-09-07 09:22:17    Voted 10.00 on 09/07/07
i think this is a good system
_________________________
Lady_Blood_Rayne

Posted by bossman at 2007-08-12 06:11:18    Voted 10.00 on 08/12/07
Very cool I may use this someday as I have downloaded it and seen it work in demo mod. I am holding of changing and of the nwn scripts unless i understand the Thanx for you easy to understand entry. Very kool

Posted by Leomist at 2007-07-16 06:46:52    Voted 10.00 on 07/16/07
Thank you all for voting. :)

if it was item activated it would have to be another tool that would simulate regeneration.
_________________________
Below you can find all my scripts.

\*/Shadow Jump
\*/Natural Healing
\*/Auto Server Reset
\*/Leo's Addon for Vuldrick's Flexible Pantheon & Church System
\*/Leo's Healing kits

Posted by DM-Taino at 2007-06-29 15:44:37    Voted 9.50 on 06/29/07
Ive tried the DEMO and think it is pretty neat and it would add flavor to any Module..
Suggestion::
Maybe have the Natural Healing happen when the PC uses an item; like there attending their wounds. Like I said it's just my suggestion. Other then that keep up the good work!!

Posted by Skunkeen at 2007-06-18 16:21:04    Voted 9.00 on 06/18/07
seen alot of folks here and there interested in something like this. works as well as it says and tested with a player base, Natual Healing is real stable

Posted by Estelindis at 2007-06-13 05:30:39    
Thank you, this looks very nice! Natural healing has often provided that crucial edge in favour of the players in my PnP games. I will test this and vote if I use it in my module. :o)
_________________________
KotOR Heads
FR Deity and Faction Cloaks
Fall-from-Grace Soundset

Posted by Leomist at 2007-06-12 19:12:07    Voted 10.00 on 07/16/07
Yes, it uses the Regeneration ability, though with a difference the regeneration rate is set according to the calculations from the healing skill points.

To show your appreciation all you need to do is remember to vote. :)

- Leo -
_________________________
Below you can find all my scripts.

\*/Shadow Jump
\*/Natural Healing
\*/Auto Server Reset
\*/Leo's Addon for Vuldrick's Flexible Pantheon & Church System
\*/Leo's Healing kits

Posted by Arkenlord at 2007-06-12 16:33:13    
prety cool! but it does seem to copy regenerate

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 UI


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters