A few scripting questions.

Moderator: Event DM

Post Reply
methuselah
Apprentice Scholar
Posts: 785
Joined: Thu Jun 17, 2004 5:37 pm
Timezone: EST
Location: Balto, MD (gmt -5)

A few scripting questions.

Post by methuselah » Sun Mar 06, 2005 9:01 am

I have read just about every post on this thread, and with that said this is an awesome place here. Lots of my questions were answered and there are plenty of helpful links here too. Alas there's an aweful lot of info out there for scripting and what not. Too many places with too many entries for me to go over them all. Even so, I am trying to begin to learn the fine art of the NWN Toolset.

If there are answers to any of these questions elsewhere, I apologize. That being the case just post a link to the answer, I would be most grateful. I am a total dumbass when it comes to things other than PC hardware, and want to change that :)

Here are my questions in no particular order:

1: Magic related scripting things. Is there a place I can go that can answer some of my questions without spamming the boards? I am most interested in editing spells and their effects to be more like the PnP spells. I.E. Removing visual effects, sharing spells, nerfing spells etc. Where do I go in the toolset to do this?

2: Dieties and factions. How can I set it up, so that a player can speak to a priest and convert to a religion after a holy quest or something? Sortof the way avlis does, when you speak to a priest. Is it a variable on the PC, is this some sort of a faction change, or is it a combination of the two?

3: Where can I get a copy of the autobic for my mod? I'd like to include the COPAP custom races, like drow, lizardfolk etc. And when added to my mod, will these be static models or will some of them be dynamic like copap (lizardfolk are dynamic models now I think)?

4: Tips for making a PW in general, what sorts of things should I stear clear from? Are there any functions that will make life easier/harder for me?

5: Question about the custom crafting system. How can I lock out the bioware crafting and begin to develop my own crafting system? Will I need to use a database to keep track of all the information?

6: If and when I need to implement a database, what is the best type to use for a PW? Obviously some DB's can cause more lag than others. What type of DB does avlis use? Is there a built-in DB with NWN?

7: I hear that the crafting will eventually go copap-wide, and when it does, peoples crafting levels will carry over to other worlds, if this is true, I would be very interested in how it is done.

8: How can I script DB entries into a module? I assume that when someone logs on a function is called to check that person/character's values in the DB. How do I do this/what is the function that querries or updates the DB?

9: Is there a way to view the .bic files and take a look at all the tags and stuff that's set? It would help me get an idea of things I need to do, and maybe even some things I shouldn't do.

I can probably ask a million more questions but those are way more general I think and I am pretty confident that I will be able to figure most out myself. I am just looking for tips or tricks, suggestions or examples from people that have done this stuff. I know a lot of you guys here have done more with the toolset than I will ever even learn about it. Any gurus out there care to impart some of that knowledge and wisdom?
Dralix wrote:If there's one thing I've learned about you from these forums, it's that there are two sides to every issue ... and you are on both of them. ;)
Darkfire wrote:You have more balls then I do, because I'm still at my job taking it up the brown. Props to you methuselah.
User avatar
Krator
Elder Sage
Posts: 4935
Joined: Thu Jun 10, 2004 6:44 pm
Timezone: GMT
Location: Amsterdam

Re: A few scripting questions.

Post by Krator » Sun Mar 06, 2005 11:09 am

methuselah wrote:1: Magic related scripting things. Is there a place I can go that can answer some of my questions without spamming the boards? I am most interested in editing spells and their effects to be more like the PnP spells. I.E. Removing visual effects, sharing spells, nerfing spells etc. Where do I go in the toolset to do this?
PM doug and apply for subcontractor to learn about his spellhooking project
methuselah wrote:2: Dieties and factions. How can I set it up, so that a player can speak to a priest and convert to a religion after a holy quest or something? Sortof the way avlis does, when you speak to a priest. Is it a variable on the PC, is this some sort of a faction change, or is it a combination of the two?
SetDeity(oPC,sDeityname);
methuselah wrote:3: Where can I get a copy of the autobic for my mod? I'd like to include the COPAP custom races, like drow, lizardfolk etc. And when added to my mod, will these be static models or will some of them be dynamic like copap (lizardfolk are dynamic models now I think)?
Sorry, don't know much about this one. I know that RedGolem made autobic, so maybe he put it on the vault.
methuselah wrote:4: Tips for making a PW in general, what sorts of things should I stear clear from? Are there any functions that will make life easier/harder for me?
Don't use heartbeat and the module item events.
methuselah wrote:5: Question about the custom crafting system. How can I lock out the bioware crafting and begin to develop my own crafting system? Will I need to use a database to keep track of all the information?
Disabling: edit the conversation named x2_p_craftskills
methuselah wrote:6: If and when I need to implement a database, what is the best type to use for a PW? Obviously some DB's can cause more lag than others. What type of DB does avlis use? Is there a built-in DB with NWN?
Google NWNX2
methuselah wrote:7: I hear that the crafting will eventually go copap-wide, and when it does, peoples crafting levels will carry over to other worlds, if this is true, I would be very interested in how it is done.
That's the hide thingy you probably heard about. It's done with an item in a hidden inventory slot.
methuselah wrote:8: How can I script DB entries into a module? I assume that when someone logs on a function is called to check that person/character's values in the DB. How do I do this/what is the function that querries or updates the DB?
See 6
methuselah wrote:9: Is there a way to view the .bic files and take a look at all the tags and stuff that's set? It would help me get an idea of things I need to do, and maybe even some things I shouldn't do.
I think there was a bic edit program on the vault somewhere, try and use it on the bics in your local vault. Also, search for a program named Leto on the vault or bioware forums.
methuselah wrote:I can probably ask a million more questions but those are way more general I think and I am pretty confident that I will be able to figure most out myself. I am just looking for tips or tricks, suggestions or examples from people that have done this stuff. I know a lot of you guys here have done more with the toolset than I will ever even learn about it. Any gurus out there care to impart some of that knowledge and wisdom?
Don't use tatami mats.

Hope this helps,

Krator
Playing as: Sir Douglas Hope of Gorethar, old school paladin | Krator Blackfist, gold mage | Warren, half nymph barbarian
methuselah
Apprentice Scholar
Posts: 785
Joined: Thu Jun 17, 2004 5:37 pm
Timezone: EST
Location: Balto, MD (gmt -5)

Post by methuselah » Sun Mar 06, 2005 1:26 pm

That helped a lot actually. :D

Thanks for the info dude. I'm checkin out that nwnx site now :)
Dralix wrote:If there's one thing I've learned about you from these forums, it's that there are two sides to every issue ... and you are on both of them. ;)
Darkfire wrote:You have more balls then I do, because I'm still at my job taking it up the brown. Props to you methuselah.
Post Reply