external libraries in nwn script
#1
Posté 14 juillet 2011 - 12:42
I was wondering if it is possible to use non nwnscript libraries when writing nwn script code and perhaps call functions defined in another language from within nwnScript. I was interested in writing a specific game component that I want to reuse for multiple games and was interested in whether I could test it with a neverwinter nights module without haing to write it in nwnscript.
If nwn does not support this, is there any other toolset of some other bioware game that supports it?
In case i do decide to just rewrite that component in a specific scripting language, which of the rpg toolsets is the most potent? (I am interested in nwn 1, nwn 2, dragon age, kotor pretty much any of their rpgs)
I apologize, I have no knowledge at this point of modding any of their games, I just wanted some information from some experienced users so that i know whether these games are appropriate for what i need.
Thank you for your help.
#2
Posté 14 juillet 2011 - 02:00
Otherwise you are limited to NSS includes.
#3
Posté 14 juillet 2011 - 02:08
the question is what are you going to use the external libraries for. webpages?
#4
Posté 14 juillet 2011 - 03:03
So what you are saying is that you can access disk stored databases in nwnScript? Then yes, I could just make some protocol of communication between the 2 processes so they exchange information by writing and reading from that shared memory region (the database).
Would this be the best course of action? If I wanted to do the same with some other bioware rpg toolkit, would a similar solution be available? Many thanks again for your support.
#5
Posté 14 juillet 2011 - 03:57
NWNX is an "external" as CID-78 says - that is additional software that you run around NWN. NWNX is your best bet in my opinion for doing this with NWN.
Modifié par henesua, 14 juillet 2011 - 03:59 .
#6
Posté 14 juillet 2011 - 04:16
I hope you got something better up your sleeve before going the NWNX approach. having a loot system that adapt to how much the player get hurt is a game feature that you can do in any bioware game. DA:O has it in the OC. ie depending on number of potions you carry and what difficulty you are playing on, effect the likelyhood of getting a potion in your next loot pile.
#7
Posté 14 juillet 2011 - 07:57
I don't agree that its worth his time to use any non-commercial engine if thats his approach, but whatever.
#8
Posté 14 juillet 2011 - 09:04
dandroid91 wrote...
Hello,
I was wondering if it is possible to use non nwnscript libraries when writing nwn script code and perhaps call functions defined in another language from within nwnScript. I was interested in writing a specific game component that I want to reuse for multiple games and was interested in whether I could test it with a neverwinter nights module without haing to write it in nwnscript.
If nwn does not support this, is there any other toolset of some other bioware game that supports it?
In case i do decide to just rewrite that component in a specific scripting language, which of the rpg toolsets is the most potent? (I am interested in nwn 1, nwn 2, dragon age, kotor pretty much any of their rpgs)
I apologize, I have no knowledge at this point of modding any of their games, I just wanted some information from some experienced users so that i know whether these games are appropriate for what i need.
Thank you for your help.
In point of fact, this is exactly what some nwnx plugins, like NWNX_letoscript, do. They pass information by hooking local strings. Code written in letoscript is set in strings in nwnscript, and passed on to the editor when the character logs out. You can't compile it in this form, but you can certainly write it. Unless you have a very specific reason for doing this, however, as dragonsong did with letoscript, this is really not a good way to do things.
Funky
#9
Posté 14 juillet 2011 - 09:13
#10
Posté 14 juillet 2011 - 11:03
ShaDoOoW wrote...
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
Not really, in this case. You can't multiplatform with nwscript alone. Though I still love that quote in its original context.
Funky
#11
Posté 15 juillet 2011 - 06:07
So with a external compiler he get more out from having a nwscript library then he can ever get out from having a NWNX and a external execution.
#12
Posté 15 juillet 2011 - 04:23
So again, the big picture is some process is outputting some data, the external code processes that data in some way, and passes some messages to the nwn code. I guess that would mean I have actually 3 processes running.
#13
Posté 15 juillet 2011 - 04:32
#14
Posté 15 juillet 2011 - 05:45
#15
Posté 15 juillet 2011 - 06:21
Modifié par dandroid91, 15 juillet 2011 - 06:22 .
#16
Posté 15 juillet 2011 - 07:08
#17
Posté 15 juillet 2011 - 07:41
Also is there an equivalent for dragon age origins?
#18
Posté 16 juillet 2011 - 05:07
#19
Posté 16 juillet 2011 - 09:26
#20
Posté 16 juillet 2011 - 12:04





Retour en haut






