Frage zu LotB im Thread -NPC Scripting-
Verfasst: 24 Feb 2002, 16:42
Ich möchte meine kleinen Tutorials verbessern/ergänzen und hab deswegen wieder bei LotB vorbeigeschaut. Das unten Folgende habe ich nicht verstanden. Kann mir einer eine komplette Beschreibung liefern?
-----
First, to Confirm Snap's previous info on Word 0000.
---Word 0000?---
As Snap points out, there are 3 possible values (0, 2, 4), their meanings are as follows:
0000 - As Snap point's out, If all conditions are met, this record will be used EVERY time. No exceptions, and an NPC will not end the conversation, but will always use this record.
0002 - As Snap point's out, If all conditions are met, this record will be used ONE TIME ONLY. After this, any default records will be used.
0004 - Per IvanB, If all conditions are met, this record will ALWAYS be used prior to any default records or prior to the NPC ending the conversion.
This would be useful if you want to keep reminding the player to perform some action (i.e. "Don't forget to visit the Queen").
Once per conversation. By "Ending the Conversation" I mean the blurb the NPC uses when he/she wants to stop talking... like... "Ok, I know your busy so I'll let you go".
Also, because the EDT files relate to these records so closely, I have found some of the default records in an NPC's EDT files, they are:
Record Description ---Was ist das genau?---
0000 Default Greeting during first contact with NPC. (i.e. "Well Hi there Stranger")
0001 Default Greeting for Second Encounter (i.e. "Well hello again Stranger")
0002 Default Friendly Response
0003 Alternate Friendly/Direct Response
0004 Default Response to Reject an item given. (i.e. "No Thanks, I don't need that")
0005 Default Direct Response
0006 Default Threaten Response
0007 Default Response to Reject Recruitment (i.e. "Sorry, I don't wanna fight no one")
0008 Default Response when wounded (i.e. "I need a medic!")
0009 Default End Conversation Response (i.e. "Ok, I know your busy so I'll let you go")The idea here is that user defined records should start at record 10 and the defaults (0-9) should be programmed in an reserved.
-----
-----
First, to Confirm Snap's previous info on Word 0000.
---Word 0000?---
As Snap points out, there are 3 possible values (0, 2, 4), their meanings are as follows:
0000 - As Snap point's out, If all conditions are met, this record will be used EVERY time. No exceptions, and an NPC will not end the conversation, but will always use this record.
0002 - As Snap point's out, If all conditions are met, this record will be used ONE TIME ONLY. After this, any default records will be used.
0004 - Per IvanB, If all conditions are met, this record will ALWAYS be used prior to any default records or prior to the NPC ending the conversion.
This would be useful if you want to keep reminding the player to perform some action (i.e. "Don't forget to visit the Queen").
Once per conversation. By "Ending the Conversation" I mean the blurb the NPC uses when he/she wants to stop talking... like... "Ok, I know your busy so I'll let you go".
Also, because the EDT files relate to these records so closely, I have found some of the default records in an NPC's EDT files, they are:
Record Description ---Was ist das genau?---
0000 Default Greeting during first contact with NPC. (i.e. "Well Hi there Stranger")
0001 Default Greeting for Second Encounter (i.e. "Well hello again Stranger")
0002 Default Friendly Response
0003 Alternate Friendly/Direct Response
0004 Default Response to Reject an item given. (i.e. "No Thanks, I don't need that")
0005 Default Direct Response
0006 Default Threaten Response
0007 Default Response to Reject Recruitment (i.e. "Sorry, I don't wanna fight no one")
0008 Default Response when wounded (i.e. "I need a medic!")
0009 Default End Conversation Response (i.e. "Ok, I know your busy so I'll let you go")The idea here is that user defined records should start at record 10 and the defaults (0-9) should be programmed in an reserved.
-----