Neverwinter Nights: Enhanced Edition

Neverwinter Nights: Enhanced Edition

Adventures await!
Gather your mods before venturing forth. Discover planes filled with player-created adventures in Steam Workshop, then build your own Neverwinter Nights modules using the Aurora Toolset to share!
Learn More
Creating a multiplayer module - looking for scripts
Hello! I'm an ancient nwn1 player returning back to the game. I'm working on a completely custom multiplayer module using aurora tool set. I am a bit of a noob when it comes to scripting. I noticed there are not many places to download actual scripts for the game anymore. I was hoping I could create a discussion about scripts. I've been looking for a couple different scripts but I can't seem to find what I'm looking for in particular. I need a onplayerdeath script that not only revives a player when they click respawn but also heals the person completely when respawned.
< >
Showing 1-5 of 5 comments
snaf 3 31 May, 2019 @ 2:29am 
https://neverwintervault.org/catalog/nwn1?field_category_tid=14&field_category_tid_1=All&field_tags_tid=&field_first_release_value=All

Neverwinter vault script category seems to be the defacto place to post scripting resources. There are a bunch of useful drop-in scripting systems the be found there. I talked with a few people about hosting a github/gitlab repository or a wiki, but it's really hard to bring everything together into a central resource. Neverwinter vault or any building/scripting related channel on neverwintervault/nwn:ee discord are probably your best option at the moment.


Last edited by snaf; 31 May, 2019 @ 2:29am
Carlo 16 Jun, 2019 @ 8:55am 
You may want to take a look at the DMFI Multiplayer Starter Mod for NWN:EE. It has some key scripts pre-loaded and is also highly configurable, with full documentation.

https://neverwintervault.org/project/nwnee/module/dmfi-multiplayer-starter-mod-nwnee
||PFH||Ritticus 19 Jul, 2019 @ 12:31am 
The Lord of Terror mod on workshop has the exact acript your asking for. however I can say I've seen people do better. The best respawn system I've ever played with is: after the -10 hp hit mark a body weighing the amount of the player would be left on the ground and the player would be teleported to a dead zone (Limbo). from there the player could choose to take an xp/gold loss and be resurected at the players set cathedral (note if a player didnt choose a god they would be dropped randomly in the forest lol) - or wait for someone to find his body where someone could cast a resurection spell on the body or carry it to the town priest.
Link 13 Aug, 2019 @ 9:12am 
Originally posted by ||PFH||Ritticus:
The Lord of Terror mod on workshop has the exact acript your asking for. however I can say I've seen people do better. The best respawn system I've ever played with is: after the -10 hp hit mark a body weighing the amount of the player would be left on the ground and the player would be teleported to a dead zone (Limbo). from there the player could choose to take an xp/gold loss and be resurected at the players set cathedral (note if a player didnt choose a god they would be dropped randomly in the forest lol) - or wait for someone to find his body where someone could cast a resurection spell on the body or carry it to the town priest.

Sounds a lot like the Anphillia death system, it was great.
solipse49 10 Sep, 2019 @ 5:55am 
should look something like this i think,have not tested it,might be a little more complicated.
and i think its a module event script,not an OnDeathScript.
this script however that you want is probebly best done by creating a whole new custom function,but im not a C programmer.
all i can create with the standart functions for you is this:

onDeathScript:
void {
SetlocalVarialble(OBJECT_SELF,"death",1);
}

moduleHBscript:
void main {
object x = GetLastRespawnButtonPresser();
GetLocalVariable(x,"death");
if ( death == 1 )
{
int hptoheal=1000;
effect y = EffectHeal(hptoheal);
ApplyEffectToObject(DURATION_TYPE_INSTANT,y,x);
SetlocalVarialble(OBJECT_SELF,"death",0);
}
}

Last edited by solipse49; 10 Sep, 2019 @ 7:26am
< >
Showing 1-5 of 5 comments
Per page: 1530 50