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  Damage Meter
Author  ZEBRaHEaD
Submitted / Updated  10-17-2005 / 11-22-2006
Category  Scripting routines
Expansions  Works on all versions
Format  Code Only
Type  Type - Combat
Description
I scripted this because when i was lookin for a damage tester/meter i couldnt find one so i scripted my own works good modify how ever u want the 4 scripts go in the following of a placeable : OnDamage - _damage_meter / OnDeath - comeback 2_2 / OnPhysicalAttacked - _damage_tester_f / OnUsed - _dmg_used_by

Files

NameTypeSizeDownloads
damage_meter.erfdamage_meter.erf
Submitted: 10-17-2005 / Last Updated: 10-17-2005
erf7.21Kb267
--
SCORE OUT OF 10
8
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
No Images




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

Posted by daja.hester at 2006-08-29 22:47:42    Voted 10.00 on 08/29/06
Bravo ZEBRaHEaD, I love all your stuff.
_________________________
There is always a light at the end of the tunnel. Just pray it isnt a train

Posted by druids_scion at 2006-04-29 23:13:01    Voted 4.00 on 04/29/06
I am sorry but I found the _damage_meter script quite faulty as it would subtract 9 or 5 from your actual damage meaning it doesnt serve its purpose... try ... this.

void main()
{
/*
Made by Zebr@ He@d-Modified by druids_scion.
*/

object oDamager = GetLastDamager();
object oMod = GetModule();
DeleteLocalInt(oDamager,"DAM");
DeleteLocalString(oDamager,"NAME");
SetLocalObject(oDamager,"DAMAGER",oDamager);
string oName = GetName(oDamager);
int oDamage = GetTotalDamageDealt();

string oMess = IntToString(oDamage);
int oMess2 = (oDamage);
SetLocalInt(oDamager,"DAM",oMess2);
SetLocalString(oDamager,"NAME",oName);

DelayCommand(0.5,AssignCommand(OBJECT_SELF,SpeakString("Damage "+oMess,TALKVOLUME_TALK)));
int A = GetCampaignInt("MAX","DAM2",oMod);
if (oMess2>A){
DestroyCampaignDatabase("MAX");
SetCampaignInt("MAX","DAM2",oMess2,oMod);
SetCampaignString("MAX","NAME2",oName,oMod);
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(
VFX_FNF_PWSTUN),oDamager,6.0f));
AssignCommand(oDamager,DelayCommand(3.0,FloatingTextStringOnCreature(" ",oDamager,FALSE)));
AssignCommand(oDamager,DelayCommand(3.0,FloatingTextStringOnCreature("New Max Damage",oDamager,FALSE)));
}
else
{

}
}

Posted by Nizeil at 2006-04-17 04:27:46    Voted 8.00 on 04/17/06
Good work.
_________________________
It's not important what you achieve in your life. What is important is that what you leave behind when you die.

Posted by Sexy Chick at 2006-04-08 18:59:22    Voted 10.00 on 04/08/06
WOW this is good
_________________________
Ðèi¢

Posted by lalalawhatever at 2006-01-21 23:54:17    Voted 1.00 on 01/21/06
again, how unoriginal can you be

Posted by Anonymous ( 24.182.xxx.xxx ) at 2005-11-06 19:15:23    
thanx for voting :(

Posted by ZEBRaHEaD at 2005-11-02 17:32:29    Voted 10.00 on 11/02/05
I like it :)

Posted by ZEBRaHEaD at 2005-10-25 01:30:37    Voted 10.00 on 11/02/05
Just to let anybody know that if you didnt make the placeable with the placeable wizard you must right click the placeable that you put in an area for the damage meter and Add to Palette for the meter to comeback after you damage it. :)

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 Other


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