Aller au contenu

Photo

nwnx plugin for polymorph


  • Veuillez vous connecter pour répondre
12 réponses à ce sujet

#1
Savagefool

Savagefool
  • Members
  • 49 messages

Are there any plugins on nwnx (Linux version) to change shapes, add new shapes etc etc.

High ground do just what i'm describing but I think they use haks.



#2
kalbaern

kalbaern
  • Members
  • 824 messages

You can edit existing and create new polymorphs in the polymorph.2da and players don't require it. You can host the change either in the server's override folder or add it to whatever top hak the server uses. As far as granting access to the new options, you can do that via scripting and check for variables that will produce the new options. Variables can be assigned via the crafting conversation, special convos when a widget is used or many other things.



#3
Baaleos

Baaleos
  • Members
  • 1 330 messages

Polymorph.2da is a server side 2da - so I don't think the clients need to have it.

You can just drop it in the override on the server, and not have to distribute it to the players.

 

Other than that - I think hooking polymorph is do-able, but might be more trouble than its worth.

Think you would need to recreate the entire method, to check for locals etc, instead of reading from the 2da - as the 2DA contains pretty much everything:

Base Attributes, Skin resrefs, creature resrefs etc

 

It might be easier using the 2DA Approach



#4
Savagefool

Savagefool
  • Members
  • 49 messages

Ah brilliant, yes I was thinking the same about the hooking but it seems that wouldn't be the easiest way. I deemed it necessary however.

So if I just overwrite the Polymorph that should be that, this particular server does not allow overrides or haks however. Hopefully I can persuade the override, but Hak I wont be able to heh. Thank you for the replies!



#5
kalbaern

kalbaern
  • Members
  • 824 messages

Ah brilliant, yes I was thinking the same about the hooking but it seems that wouldn't be the easiest way. I deemed it necessary however.

So if I just overwrite the Polymorph that should be that, this particular server does not allow overrides or haks however. Hopefully I can persuade the override, but Hak I wont be able to heh. Thank you for the replies!

If this is for a vanilla NWN install, overrides on the serverside will work just fine. If by -no haks- you really mean, we only use the CEP or Project Q, then the change can be done with either an override or editting just the server's top hak. In either cases, builders should also do the same thing, but players themselves wouldn't need anything more.



#6
Shadooow

Shadooow
  • Members
  • 4 470 messages

Polymorph.2da is a server side 2da - so I don't think the clients need to have it.

You can just drop it in the override on the server, and not have to distribute it to the players.

 

Other than that - I think hooking polymorph is do-able, but might be more trouble than its worth.

Hooking polymorph is doable without NWNX. My latest CPP beta 1.72 offers OnPrePolymorph (where you can change appearance/hitpoints/cancel it), OnPolymorp (where you can control item merging), OnUnPolymorph and OnRePolymorph (thats the engine thing when character is saved via ExportSingleCharacter function).

 

It uses this concept + the whole polymorphing is recoded and item merging is softcoded into this event so everything can be modified dynamically without need to recompile/modify polymorphing spells.


  • Zwerkules aime ceci

#7
Savagefool

Savagefool
  • Members
  • 49 messages

Alright so that would work for one server, how about in a situation where I cannot use hacks or overrides. The server in question does not allow these. However it does allow plugins, thus my question



#8
kalbaern

kalbaern
  • Members
  • 824 messages

Alright so that would work for one server, how about in a situation where I cannot use hacks or overrides. The server in question does not allow these. However it does allow plugins, thus my question

For  a hakless server, Override and custom scripts.

 

If using haks, you can add it to the server's topmost hak as well as script edits, or just drop the 2da into the override. Either work. My own preference would be adding to a hak just to keep things orderly.



#9
Savagefool

Savagefool
  • Members
  • 49 messages

Agreed but they wont let me heh, custom scripts it is, I'm going to look into it. I seem to remember polymorph 2das able to be overwritten via plugin.. I did read it somewhere when looking through the git source.



#10
WebShaman

WebShaman
  • Members
  • 913 messages
The Isle of Than PW does this without haks. One can DL the PW from their forum as well (must first register).

Then just open it in the toolset and take a look.
  • Savagefool aime ceci

#11
Savagefool

Savagefool
  • Members
  • 49 messages

Oh nice, thank you for that.



#12
leo_x

leo_x
  • Members
  • 223 messages

You've mentioned nwnx_silm before maybe you read about the override thing there: https://silm.pw/disp...h too much time ?


  • Savagefool aime ceci

#13
Savagefool

Savagefool
  • Members
  • 49 messages

Oh nice, thank you for that valuable information.