Player Resource Consortium

Neverwinter Nights => Help => Topic started by: Hillyan84 on July 01, 2010, 01:19:05 PM

Title: Simple and fast question
Post by: Hillyan84 on July 01, 2010, 01:19:05 PM
If i modify a script of prc spells in the the prc spells hak, without changing the name of the script(in this way the files in the hak are the same of before), my players have to change their hak or it is enough that mine in the toolset is the one "modificed"?
Title: Simple and fast question
Post by: DM Heatstroke on July 01, 2010, 01:39:55 PM
Quote from: Hillyan84

If i modify a script of prc spells in the the prc spells hak, without changing the name of the script(in this way the files in the hak are the same of before), my players have to change their hak or it is enough that mine in the toolset is the one "modificed"?


It's better to put it in your servers top hak.  If you don't use a top hak then what you propose *should* work as scripts are only fired on the server.
Title: Simple and fast question
Post by: Hillyan84 on July 02, 2010, 02:58:48 PM
My big problem is the following:

when a player dies, he obtains the variable "death" to make the deat persistant, also over re-logging in and out.

My problems is that without modifying the spell resurrection, i can't get the player to lose the variable!!! The module on respawn script removes the variables when the player respawns but it does not happen when some other player cast resurrection on the dead friend.

Someone has ideas?????
Title: Simple and fast question
Post by: KenquinnTheInsaneOne on July 02, 2010, 03:26:39 PM
Are you using the PRCs persistent death system or a custom one? The PRC one should automatically change its switch as seen in the PRC Resurrection Spell Script (http://kenquinn.pastebin.com/PVbmz2wG)
Title: Simple and fast question
Post by: Hillyan84 on July 03, 2010, 10:13:32 AM
I try to use the speelhooking function
Title: Simple and fast question
Post by: KenquinnTheInsaneOne on July 03, 2010, 02:05:22 PM
Quote from: Hillyan84

I try to use the speelhooking function
It sounds like you use your own persistent death system. Why not just disabled yours and turn on the PRCs?
Title: Simple and fast question
Post by: DM Heatstroke on July 04, 2010, 12:01:58 PM
Quote from: KenquinnTheInsaneOne

Quote from: Hillyan84

I try to use the speelhooking function
It sounds like you use your own persistent death system. Why not just disabled yours and turn on the PRCs?


Seconded.