Register Lost Password?  Cookie?
  The time now is 07:53 PM GMT -6.  
Banshee Network
 
Quick Links
 
 
GameBanshee Swag
Site Features
Submit News
News Archives
Join Our Staff
Forums
Community Blogs
Reviews
Previews
Interviews
Editorials
About GB
Advertise With Us!
Advertisement
 
Go Back   GameBanshee Forums > Forum Categories > Traditional RPGs > Neverwinter Nights

Reply
GameBanshee Forums  
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-27-2002, 02:34 PM
Craig's Avatar
Exalted Member
 
Join Date: Dec 2000
Location: England
Posts: 4,927
Send a message via MSN to Craig
Unhappy Scripting AGH!

I'm currently creating a Module(or whatever...) and, as always, I hate/can't script so I need help, I need one for attavking the character after talking, and how to persuade in a convo, please. I am serrioulsy getting confused.
__________________
I'm Devious

This is my Gift. This is my Curse. Who am I? I'm SpiderCraig
Reply With Quote
  #2 (permalink)  
Old 12-31-2002, 02:53 AM
Craig's Avatar
Exalted Member
 
Join Date: Dec 2000
Location: England
Posts: 4,927
Send a message via MSN to Craig
Bump, I'd rather not let this fall to second place
__________________
I'm Devious

This is my Gift. This is my Curse. Who am I? I'm SpiderCraig
Reply With Quote
  #3 (permalink)  
Old 01-01-2003, 06:44 AM
garazdawi's Avatar
Exalted Member
 
Join Date: Jun 2002
Location: Skövde, Sweden
Posts: 2,563
Send a message via ICQ to garazdawi Send a message via MSN to garazdawi
wel let me see, it was a while sence I programmed anything in nwn so the syntax might be bad.. any way...

attacking after a conversation is part of the script wizard and you can use that to create that script.....Just go to the conversation pattern were you want the NPC to attack and then use the script wizard

As for doing a persuation check, so does it all depend on what you want to determine the persuation success....

either u use the getabilitypersuade and check if it is greater or equal to what you want to be the thresh hold.....

another way is to open the single player module and in there look at the script that uses the persuade ability


I don't have NWN installed at the moment, but I will install it later today as I'm gonna give the single player camplain another go..... If I remember I'll go and check out how the coding should be.....
__________________
"Those who control the past control the future, those who control the present control the past" And I rule the PRESENT!!
I put the 'laughter' back in 'slaughter'
Reply With Quote
  #4 (permalink)  
Old 01-01-2003, 08:33 AM
garazdawi's Avatar
Exalted Member
 
Join Date: Jun 2002
Location: Skövde, Sweden
Posts: 2,563
Send a message via ICQ to garazdawi Send a message via MSN to garazdawi
Try using the scripts in this module.... I haven't tested them yet but they should work..... if not tell me and I'll check it...
Attached Files
File Type: zip attack_persuade.zip (18.8 KB, 49 views)
__________________
"Those who control the past control the future, those who control the present control the past" And I rule the PRESENT!!
I put the 'laughter' back in 'slaughter'
Reply With Quote
  #5 (permalink)  
Old 01-03-2003, 07:51 AM
Craig's Avatar
Exalted Member
 
Join Date: Dec 2000
Location: England
Posts: 4,927
Send a message via MSN to Craig
The module works, but the scripts when taken out don't... they won't compile as it can't find some of the lines. I was wondering if you could do the conversation for me, sorry, but I just can't take it!! AGH SCRIPTS

"Who are you?Did the master send you?
-The master did send me. He wishes to see you.
--I was told to guard this gnome!
---Why do you think he sent me!(*Persuade(Medium): true walks out the door XP 500, I'll change the direction when I get there. *Persuade: false Attack)
---Sorry, I must have made a mistake...(End convo)
-I've come to kick your bubear butt to the other side of the spine of the world!(*Attack)
-Uh, I thought you were someone else(*Attack)"

And then

"Hey, I got de ordas to guard da room...
-Sorry, but you've got the wrong room...(*Persuade(Medium): true end convo "Ok's I leaves" above head. *Persuade: false, person says "Hey you think I'se to stupid to find room?"*Attack)
-I was let in, weren't you told? Cos they only tell them important ones, like you, yeah?(*Persuade(Easy): True end convo "Sure I is come in." above head. *Persuade: false Hey you call me stupid!!*Attack)
-ATTACK!!(*Attack)
__________________
I'm Devious

This is my Gift. This is my Curse. Who am I? I'm SpiderCraig
Reply With Quote
  #6 (permalink)  
Old 01-04-2003, 04:25 AM
garazdawi's Avatar
Exalted Member
 
Join Date: Jun 2002
Location: Skövde, Sweden
Posts: 2,563
Send a message via ICQ to garazdawi Send a message via MSN to garazdawi
I had to add a small part to the dialogue, fell free to edit it as you see fit. The part changed are surrounded by !text!. This is the way the dialogue ended up:

"Who are you?Did the master send you?
-The master did send me. He wishes to see you.
--I was told to guard this gnome!
---Why do you think he sent me!(*Persuade(Medium): true !sais "Ok, I'm goin" and! walks out the door XP 500, I'll change the direction when I get there. *Persuade: false !sais "You don't fool me!" and! Attack)
---Sorry, I must have made a mistake...(End convo)
-I've come to kick your bubear butt to the other side of the spine of the world!(*Attack)
-Uh, I thought you were someone else(*Attack)"

And then

"Hey, I got de ordas to guard da room...
-Sorry, but you've got the wrong room...(*Persuade(Medium): true end convo "Ok's I leaves" above head. *Persuade: false, person says "Hey you think I'se to stupid to find room?"*Attack)
-I was let in, weren't you told? Cos they only tell them important ones, like you, yeah?(*Persuade(Easy): True end convo "Sure I is come in." above head. *Persuade: false Hey you call me stupid!!*Attack)
-ATTACK!!(*Attack)

The only thing I had to add was the reaction to the persuation in convo_1.

BTW, as a sign of appriciation, is there anyway you could include a dwarf named Garazdawi in your module

PS: when u finish send me a PM of were the module can be downloaded

PSPS: there might be some problems with the script handling the two chars exiting.

To include this into your module you just have to import the convo files and set out two wp's called "move_to_1" and "move_to_2". These tags can be changed in the move scripts....

If anything comes up, tell me and I'l fix it
Attached Files
File Type: zip attack_persuade_1.zip (20.8 KB, 48 views)
__________________
"Those who control the past control the future, those who control the present control the past" And I rule the PRESENT!!
I put the 'laughter' back in 'slaughter'
Reply With Quote
  #7 (permalink)  
Old 01-05-2003, 05:32 AM
Craig's Avatar
Exalted Member
 
Join Date: Dec 2000
Location: England
Posts: 4,927
Send a message via MSN to Craig
I lost the module, but I'm going to save that file and redo it all.

P.E(Post edit) Thank you!!Thank you!!Thank you!!
__________________
I'm Devious

This is my Gift. This is my Curse. Who am I? I'm SpiderCraig

Last edited by Craig; 01-05-2003 at 05:37 AM.
Reply With Quote
  #8 (permalink)  
Old 01-05-2003, 08:53 AM
garazdawi's Avatar
Exalted Member
 
Join Date: Jun 2002
Location: Skövde, Sweden
Posts: 2,563
Send a message via ICQ to garazdawi Send a message via MSN to garazdawi
Quote:
Originally posted by craig
I lost the module, but I'm going to save that file and redo it all.

P.E(Post edit) Thank you!!Thank you!!Thank you!!
np
__________________
"Those who control the past control the future, those who control the present control the past" And I rule the PRESENT!!
I put the 'laughter' back in 'slaughter'
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


 
      Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2000-2008 GameBanshee.com