View previous topic :: View next topic |
Author |
Message |
Mikel of Avalon
Joined: 29 Dec 2004 Posts: 72 Location: Germany
|
Posted: Tue Sep 19, 2006 23:42 Post subject: |
|
|
Sorry - when i try to set a different racialtype, the nwnclient (winxp) crashed. Must i activate nwnx_leto to use this ?
[EDIT] Possible not the function - but anything with the new character i make - i will check it out at weekend while i'm still busy in RL. _________________ Mikel of Avalon
Kalandur - Die vergessene Welt |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Sep 27, 2006 23:23 Post subject: |
|
|
I'm working on area instancing (loading/copying new areas in-game) now. It works.
It could be useful for instance dungeons or loading new areas with ResMan.
But I still don't see any "clean" solution to unload/delete an area object.
P.S. Yes, I realize that nobody needs it here (except me, of course). |
|
Back to top |
|
|
GodBeastX
Joined: 09 Aug 2006 Posts: 65
|
Posted: Wed Oct 18, 2006 22:07 Post subject: |
|
|
Wait, you have ability to duplicate a dungeon? |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Oct 20, 2006 15:38 Post subject: |
|
|
GodBeastX wrote: | Wait, you have ability to duplicate a dungeon? | Yes. |
|
Back to top |
|
|
Zunath
Joined: 06 Jul 2006 Posts: 183
|
Posted: Mon Oct 23, 2006 18:13 Post subject: |
|
|
Instanced areas sounds really intriguing. It could be a great solution to player housing!
I'd love to test it out! |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Oct 23, 2006 20:31 Post subject: |
|
|
It's not done yet.
Specifiaclly, it crashes DM Client in some cases.
And I don't have enough time to debug it... |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Thu Feb 15, 2007 19:37 Post subject: |
|
|
NWNX Functions 1.7
----
http://data.virusman.ru/nwn/nwnx_functions-1.7.rar
----
New functions:
int GetDescriptionLength(object oObject);
string GetConversation(object oObject);
int GetUndroppableFlag(object oItem);
void SetUndroppableFlag(object oItem, int bUndroppable);
int GetItemWeight(object oObject);
void SetItemWeight(object oObject, int nWeight);
Updated:
Get/SetDescription now work with doors and creatures.
Added a bit more comments on functions
Added plugin sources to the package
---
virusman
15.02.2007
------------------------------------------
Complete function list:
int GetArmorAC(object oObject);
void SetArmorAC(object oObject, int iAC);
void SetGoldPieceValue(object oObject, int iValue);
void SetTag(object oObject, string sValue);
void SetRacialType(object oObject, int nRacialType);
int GetDescriptionLength(object oObject);
string GetDescription(object oObject);
string SetDescription(object oObject, string sNewDescription);
string GetConversation(object oObject);
int GetUndroppableFlag(object oItem);
void SetUndroppableFlag(object oItem, int bUndroppable);
int GetItemWeight(object oObject);
void SetItemWeight(object oObject, int nWeight);
string GetEventHandler(object oObject, int nEventId);
void SetEventHandler(object oObject, int nEventId, string sScript);
int GetFactionID(object oObject);
void SetFactionID(object oObject, int nFaction); |
|
Back to top |
|
|
MacLir
Joined: 13 Jan 2005 Posts: 22
|
Posted: Fri Mar 09, 2007 2:15 Post subject: |
|
|
Is there a win32 version of this? It would be extremely useful in a few 'situations' I have... |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Fri Mar 09, 2007 8:48 Post subject: |
|
|
Had a thought - I see you have Get/Set Event Handler - what about the oft-requested GetConversationNodeSelected, as they did for nwn2? Thinking about adding this to the SIMTools package so I can dynamically set the descriptions of the items that list commands based on the command options the user selects.
Funky |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Mar 09, 2007 11:41 Post subject: |
|
|
MacLir wrote: | Is there a win32 version of this? It would be extremely useful in a few 'situations' I have... | What functions do you need?
FunkySwerve wrote: | Had a thought - I see you have Get/Set Event Handler - what about the oft-requested GetConversationNodeSelected, as they did for nwn2? Thinking about adding this to the SIMTools package so I can dynamically set the descriptions of the items that list commands based on the command options the user selects.
Funky | I was thinking about it recently: it may be possible.
But making dynamic conversations is possible without such function (see DMFI). |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Fri Mar 09, 2007 20:27 Post subject: |
|
|
Aye, I did the same thing with HGLL, using pspeed's zdialogue. The problem is that they use tokens, which are global, and you can only run one convo at a time. That's fine for HGLL, where using the leveler is infrequent, but for SIMTools, my dms and I are often firing commands at the same time - no good. Hence the request.
Funky |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Mar 09, 2007 22:01 Post subject: |
|
|
FunkySwerve wrote: | Aye, I did the same thing with HGLL, using pspeed's zdialogue. The problem is that they use tokens, which are global, and you can only run one convo at a time. That's fine for HGLL, where using the leveler is infrequent, but for SIMTools, my dms and I are often firing commands at the same time - no good. Hence the request.
Funky | You'll have to use tokens anyway, with or without GetConversationNodeSelected function, and even with script parameters in NWN2. |
|
Back to top |
|
|
MacLir
Joined: 13 Jan 2005 Posts: 22
|
Posted: Sat Mar 10, 2007 0:47 Post subject: |
|
|
virusman wrote: | What functions do you need? |
Heh, I really shouldn't be making more work for myself, but I'd like to see at the least the Get/SetFactionID, Get/SetEventHandler, and Get/SetDescription. Although, I could 'find' uses for all of them. |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Sat Mar 10, 2007 0:48 Post subject: |
|
|
No you won't. The downside its that you'll have to write out the text, without the custom tokens. The upside is that it'll only require one action taken and one conditional script per convo. The savings in resources and sheer convenience would be HUGE. Maybe not the biggest concern for some, but my PW has been pushing the resource limit for going on 2 years now, and even after devising custom code to locate unused resources (the Bioware unused resources check is a joke) and removing around 3000, we are again within about 500 resources of having to offload stuff into a cep hak. As such, I had decided it wasn't worth it to upgrade SIMTools in the fashion I could if I could GetNodeSelected - it'd boost SIMTools to well over 500 resources, instead of the 20 or so it currently uses.
Funky |
|
Back to top |
|
|
wmbc9040op
Joined: 10 Mar 2007 Posts: 6
|
Posted: Sat Mar 10, 2007 21:55 Post subject: |
|
|
I cannot seem to get the function plugin working right. Server version is 1.68 (build 8099)
With the demo module included the SetLockUnlockDC and SetStolenFlag_ do not change the values. I haven't checked any of the functions beyond what is in the demo module.
I notice in the code there is a DebugMe and ObjDump. I do not know how to use them, can someone explain to me what I need to do to use these from a nwn script?
Thanks for any help you can give. Also thank you for all the work you have done on getting these working for linux. I am using the chat, resman, and odbc and am very happy with them. I have the reset installed but have not used it yet. Great work. |
|
Back to top |
|
|
|