Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > Neverwinter Nights 1 & 2 Also SoU & HotU Forum
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 11-29-2002, 11:31 PM   #1
Sir Ryan Trawl
Dungeon Master
 

Join Date: October 13, 2002
Location: High Hall of the Radiant Heart, Athkatla
Age: 35
Posts: 65
A day would not be complete without some questions from me [img]tongue.gif[/img] so here it goes:
1. How would I create an item that gives you additional spells, like the ring of wiz. in BG?
2.What do I script or do, to have an NPC talk to you, then leave the area so that you don't meet them again?
3. What tileset should I use for a Dwarf or gnome city?
4. Is there a "gold pile" placeable, to appear as dragon hoards?
5.When downloading Hak Packs, can I do it on a floppy disk? Is there a "hak files" folder to unzip them in?
Thank you for any help!

P.S. to Obsidian the Black: the only hak pack with a long beard & hat on the link you gave me, was for a dwarf, and the NPC I was going to make is human.

[ 11-29-2002, 11:34 PM: Message edited by: Sir Ryan Trawl ]
__________________
<img border=\"0\" alt=\"[repuke]\" title=\"\" src=\"graemlins/repuke.gif\" /> <br />\"TORM TAKE YOU!!\"
Sir Ryan Trawl is offline   Reply With Quote
Old 11-30-2002, 01:55 PM   #2
Obsidian the Black
Elminster
 

Join Date: May 8, 2002
Location: Leeds, West Yorkshire
Posts: 470
Hey again Ryan, here are a few answers:

1)Create the item, then choose Bonus Spell Slot Level, for and extra spell to be placed in, in game. Or cast spell, and choose the spell that you want to be cast when the item is activated.

2)Grrr, I hate scripts

3)Well, dwarves I personally would say Mines and caverns. Gnome on the other hand depend on which race, a Svirfneblin gnome would have mines and caverns also, but a forest gnome would have, well forest.

4)No, there isn't a complete gold pile, but there is a treasure placeble that you could place, but you would have to put lots of them together. Create a new placeable and set the appearance to 'treasure', make it static if you don't want people picking it up.

5)I think you can put it on floppy. The file you unzip it to, is the Hak folder in the Neverwinter Nights directory.

I'm sure theres a human beard hak, I saw one the other day. Hope all that helped.
Obsidian the Black is offline   Reply With Quote
Old 11-30-2002, 05:42 PM   #3
SirTristram
Manshoon
 

Join Date: November 2, 2002
Location: Calgary, Alberta
Age: 37
Posts: 155
Script: u'd just have a script on the END DIALOGUE text that will have them teleport/walk somewhere, then destroy their avatar so they won't come back...
__________________
SirTristram is offline   Reply With Quote
Old 12-01-2002, 03:22 PM   #4
Darkman
Avatar
 

Join Date: July 11, 2001
Location: Austin, Texas
Age: 42
Posts: 525
In response to #2...

It depends on how you want the NPC to initiate the conversation. You can have the NPC start the conversation on sight, after a different conversation has ended, after a certain event has occurred, when the PC steps on a trigger, etc. Here I'll show you how to use the on sight method. Put the following code at the top of the NPC's OnPercieved script (directly after the void main(){ and before anything else). This will have the NPC initiate conversation with the PC when the NPC first sees the PC.

object oPC = GetLastPerceived();
if (GetIsPC(oPC) && GetLocalInt(oPC,"nNameofLocalVariable") != 1)
{
ActionStartConversation(oPC,"NameOfConversationFile",FALSE);
}

At the start of the conversation have a script that checks to make sure the above local variable is not 1. Put this script in the Text Appears When slot. The advantage of using variables is to allow for mistakes to occur and not hamper the module. If the script misfires for some reason and the NPC doesn't have the conversation with the PC, or if the PC quits the conversation before it has ended, then the PC can still manually start the conversation with the NPC to get the necessary information or whatever. Then the NPC will make an exit, but a nosey PC won't be able to talk to him again.

int StartingConditional()
{
if(!(GetLocalInt(GetPCSpeaker(), "nNameOfLocalVariable") != 1))
{
return FALSE;
}
return TRUE;
}

Then, at the end of the conversation (where it says END DIALOGUE), place a script that will change the above local variable to 1 and then move the NPC to a location and "destroy" him. Put this script in the Actions Taken slot. For this example, I have my NPC move to a certain door, then disappear. You could instead move your NPC to a certain Way Point at the edge of the map or whatever.

void main()
{
SetLocalInt(GetPCSpeaker(),"nNameOfLocalVariable",1);
object oDoor = GetObjectByTag("BluePrintNameOfDoor");
object oCreature = GetNearestObjectByTag("Yastyrr");
if (GetIsObjectValid(oDoor) == TRUE)
{
// Yastyrr should walk back to the door and leave
// Change the FALSE to TRUE if you want the NPC to run
// The number is the distance in meters to stand from the end location
AssignCommand(oCreature, ActionMoveToObject(oDoor, FALSE, 1.0));
// It takes Yastyrr about 27 seconds to walk to the door
// So use the DelayCommand to postpone her destruction until she reaches the door
DelayCommand(27.0,DestroyObject(oCreature));
}
}

There are more ways of doing this type of thing, like using flashy visual effects to have the NPC portal out of the room instead of walk away. If you want an example of starting the conversation on a trigger or within a certain range, then load up the Official Campaign's Prelude and look at the scripts they have for Bim at the very beginning of the game.
__________________
There more of it there is,<br />The less you see.
Darkman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Item Creation Epona Neverwinter Nights 1 & 2 Also SoU & HotU Forum 18 02-15-2004 11:26 AM
Item Creation synbios1978 Dungeon Craft - RPG Game Maker 3 10-21-2003 07:06 PM
Item Creation Question Balintherlas Baldurs Gate II: Shadows of Amn & Throne of Bhaal 1 09-27-2003 05:28 PM
item creation lysonlee Icewind Dale | Heart of Winter | Icewind Dale II Forum 6 09-23-2002 11:49 AM
Item Creation Blade Soulreaver Baldurs Gate II: Shadows of Amn & Throne of Bhaal 0 07-14-2001 03:46 PM


All times are GMT -4. The time now is 10:27 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved