NPC creation
Posted: Tue Feb 14, 2012 4:33 pm
I dont know where to write this, I wanted to start a thread where one could discuss creating NPC.
And I need help with this script.
There seem to be mistakes left in the script.
I don't know how to slove them. The message is:
"Übrge nicht gepaste Gesprächbedinung" in line 95 and
"No parser semms to know what to do with this line." in line 107 and 108
If you know a better translation for the english the ghost-NPC uses, if there are odds words etc., please tell me,
i'm no nativ speaker and i'm not sure how ghost talk in english.
Thanks!
------------------------------------------------------------------------------AC
-- NPC Name: Ghost None --
-- NPC Job: Insert profession here --
-- --
-- NPC Race: human NPC Position: 0, 0, 0 --
-- NPC Sex: female NPC Direction: south --
-- --
-- Author: Miriam --
-- --
-- Last parsing: February 14, 2012 easyNPC Parser v1.02 --
--------------------------------------------------------------------------------
name = "Ghost"
race = human
sex = female
position = 0, 0, 0
direction = south
affiliation = "None"
job = "Ghost"
language = common
language = human
defaultLanguage = common
autointroduce = on
author = "Miriam"
lookatDE = "Dieser NPC ist ein Geist der im Haus spukt."
lookatUS = "This NPC is a Ghost the haunting the house."
useMsgDE = "Ich bin ein Geist, du kannst mich nicht anfassen!"
useMsgUS = "I'm a ghost you can't touch me!"
wrongLangDE = "#me schaut verwirrt."
wrongLangUS = "#me looks around confused."
radius = 3
hairID = 2
beardID = 5
colorHair = 0, 0, 220
colorSkin = 0, 0, 225
itemHead = 0
itemChest = 181
itemCoat = 0
itemMainHand = 0
itemSecondHand = 0
itemHands = 48
itemTrousers = 34
itemShoes = 53
-- Template Version 1.04, 07/12/2011 by Estralis Seborian
-- Instructions: Replace all talk consequences with strings ending with a full stop, maximum length is 250 characters. Try to provide more than one answer, one is chosen at random.
-- Valid races: human, elf, dwarf, lizardman, orc, halfling
-- Valid directions: north, northeast, east, southeast, south, southwest, west, northwest
-- Appearance: If you don't change it your NPC will wear a blue shirt, black trousers, leather glowes and leather boots at least. S/he will also have fair skin and brown hairs. Please use red-green-blue values as indicator.
-- Ex.: colorHair = 123 (red), 62 (green), 9 (blue) = brown hair.
-- Keep radius=0 and the NPC won't walk around, a value greater than 0 will make the NPC run around his position randomly.
-- When you are done, please hit the "Rebuild Script" button.
-- MANDATORY TRIGGERS
-- Mandatory: Help
"Help" -> inform("[Game Help] This NPC is a <ghost>. Keyphrases: TRIGGER1, TRIGGER2, TRIGGER3, TRIGGER4, TRIGGER5.")
"Hilfe" -> inform("[Spielhilfe] Dieser NPC ist ein <Geist>. Schlüsselwörter: TRIGGER1, TRIGGER2, TRIGGER3, TRIGGER4, TRIGGER5.")
-- Mandatory: General speech
"Hello", "Greet", "Hail", "Good day", "Good morning", "Good evening" -> "Hellooo.", "Buhuuu.", "Huuu..."
"Grüß", "Gruß", "Guten Tag", "Guten Abend", "Mahlzeit", "Tach", "Moin" -> "Hallooo.", "Buhuuu.", "Huuu..."
"Hiho", "Hallo", "Hey", "Greeb", english -> "Buhuuu. Helloooo.", "Hi there.", "Buhuuu."
"Hiho", "Hallo", "Hey", "Greeb" -> "GERMAN1.", "GERMAN2.", "GERMAN3."
"Farewell", "Bye", "Fare well", "See you" -> "ENGLISH1.", "ENGLISH2.", "ENGLISH3."
"Tschüß", "Tschüss", "Wiedersehen", "Gehab wohl" -> "GERMAN1.", "GERMAN2.", "GERMAN3."
"Ciao", "Adieu", "Au revoir", "Farebba", english -> "See you sooon.", "Good bye!"
"Ciao", "Adieu", "Au revoir", "Farebba" -> "Bis bald!", "Auf Wiedersehen!"
"How are you", "How feel", "How do you do" -> "Great. I'm dead.", "#me dosen't answer.", "#me lookes at you with an sad expression.", "Dare to aks something like this again, and i shall haunt you!"
"Wie geht", "Wie fühlst", "Wie ist es ergangen", "Wie Befind" -> "Gut gut. Ich bin tot.", "#me schweigt", "#me sieht dich traugig an.", "Noch so eine gemeine Frage und ich verfluchte dich! Buhuu!"
"your name", "who are you", "who art thou" -> "I don't remember. Buhuuu.", "Don't know. And who are you?"
"dein name", "wer bist du", "wer seid ihr", "wie heißt" -> "Ich habe's vergessen. Buhuuu.", "Weiß nicht. Und wer bist du?"
-- OPTIONAL TRIGGERS
-- Catching quest triggers.
"What looking for?", "Need help?", english -> "I lost my keys! Buhuuu...", "Can you help me to find my keys?", "Did you see my keys anythere?."
"suchst du", "brauchst Hilfe", "Braucht Hilfe" -> "Ich habe meine Schlüßel verloren!Buhuuu...", "Kannst du mir helfen meine Schlüßel wiederzufinden?.", "Hast du irgendwo meine Schlüßel gesehen."
-- After solving the Quest:
"habe keys", "brought key" -> "Oh?...Buhuuu! Yes, my keys indeed. Thanks a lot", "#me is very happy, shouting:'Thank youuu, thank youuu!"
"habe Schlüßel", "bringe Schlüßel" -> "Oh? ...Buhuuu! Ja, tatsächlich. Es sind meine Schlüßel.Habt tausend Dank!","#me freut sich sehr und ruft:'Danke, danke, danke!'"
-- Player gets revard:
--Small talk - The talk here should focus on possible questions. Feel free to add more!
"profession" -> "I'm a ghost. Don't need to work anymore!"
"beruf" -> "Ich bin Geist. Ich brache nicht zu arbeiten!"
"job", english -> "I'm a hard working ghost! Just kidding. Did you really think beging a ghost is a job?"
"job" -> "Ich nehme meine Arbeit als Geist sehr ernst. Das war nur ein kleiner Scherz. Glaubst du denn wirklich ein Geist zu sein ist ein Job?"
"Why dead" -> "Because I died!","#me sobs loudly."
"Warum tot" -> "Weil ich tod bin!","#me schluchst."
"You stupid", "Ghost stupid" -> "#me sulks", "Buhuu, I curse youhuu!"
"Du dumm", "dummer geist", -> "#me schmollt", "Buhuu, verfluchst seist duhuu!"
-- Optional: Last catch - Think about keyphrases the player might say and that are not caught until here
"my name" -> "Nice to meet you.", "Huuu..."
"mein Name" -> "Freut mich dich kennen zu lernen.", "Huuu..."
------------------------------------------------------------------------------AC
-- Cycle Texts - Messages spoken automatically in random intervals.
-- Every NPC should contain at least 10 of those messages.
-- Emotes are possible also starting with "#me ....".
cycletext "Huuu...", "Buhuu...", "Where did I put them?","#me schwebt hektisch duch den Raum.","#me seem to be looking for something."
cycletext "Huuu...", "Buhuu...", "Wo habe ich sie nur hingetan?", "#me flyes throug the room in a hurry.", "#me scheint etwas zu suchen."
And I need help with this script.
There seem to be mistakes left in the script.
I don't know how to slove them. The message is:
"Übrge nicht gepaste Gesprächbedinung" in line 95 and
"No parser semms to know what to do with this line." in line 107 and 108
If you know a better translation for the english the ghost-NPC uses, if there are odds words etc., please tell me,
i'm no nativ speaker and i'm not sure how ghost talk in english.
Thanks!
------------------------------------------------------------------------------AC
-- NPC Name: Ghost None --
-- NPC Job: Insert profession here --
-- --
-- NPC Race: human NPC Position: 0, 0, 0 --
-- NPC Sex: female NPC Direction: south --
-- --
-- Author: Miriam --
-- --
-- Last parsing: February 14, 2012 easyNPC Parser v1.02 --
--------------------------------------------------------------------------------
name = "Ghost"
race = human
sex = female
position = 0, 0, 0
direction = south
affiliation = "None"
job = "Ghost"
language = common
language = human
defaultLanguage = common
autointroduce = on
author = "Miriam"
lookatDE = "Dieser NPC ist ein Geist der im Haus spukt."
lookatUS = "This NPC is a Ghost the haunting the house."
useMsgDE = "Ich bin ein Geist, du kannst mich nicht anfassen!"
useMsgUS = "I'm a ghost you can't touch me!"
wrongLangDE = "#me schaut verwirrt."
wrongLangUS = "#me looks around confused."
radius = 3
hairID = 2
beardID = 5
colorHair = 0, 0, 220
colorSkin = 0, 0, 225
itemHead = 0
itemChest = 181
itemCoat = 0
itemMainHand = 0
itemSecondHand = 0
itemHands = 48
itemTrousers = 34
itemShoes = 53
-- Template Version 1.04, 07/12/2011 by Estralis Seborian
-- Instructions: Replace all talk consequences with strings ending with a full stop, maximum length is 250 characters. Try to provide more than one answer, one is chosen at random.
-- Valid races: human, elf, dwarf, lizardman, orc, halfling
-- Valid directions: north, northeast, east, southeast, south, southwest, west, northwest
-- Appearance: If you don't change it your NPC will wear a blue shirt, black trousers, leather glowes and leather boots at least. S/he will also have fair skin and brown hairs. Please use red-green-blue values as indicator.
-- Ex.: colorHair = 123 (red), 62 (green), 9 (blue) = brown hair.
-- Keep radius=0 and the NPC won't walk around, a value greater than 0 will make the NPC run around his position randomly.
-- When you are done, please hit the "Rebuild Script" button.
-- MANDATORY TRIGGERS
-- Mandatory: Help
"Help" -> inform("[Game Help] This NPC is a <ghost>. Keyphrases: TRIGGER1, TRIGGER2, TRIGGER3, TRIGGER4, TRIGGER5.")
"Hilfe" -> inform("[Spielhilfe] Dieser NPC ist ein <Geist>. Schlüsselwörter: TRIGGER1, TRIGGER2, TRIGGER3, TRIGGER4, TRIGGER5.")
-- Mandatory: General speech
"Hello", "Greet", "Hail", "Good day", "Good morning", "Good evening" -> "Hellooo.", "Buhuuu.", "Huuu..."
"Grüß", "Gruß", "Guten Tag", "Guten Abend", "Mahlzeit", "Tach", "Moin" -> "Hallooo.", "Buhuuu.", "Huuu..."
"Hiho", "Hallo", "Hey", "Greeb", english -> "Buhuuu. Helloooo.", "Hi there.", "Buhuuu."
"Hiho", "Hallo", "Hey", "Greeb" -> "GERMAN1.", "GERMAN2.", "GERMAN3."
"Farewell", "Bye", "Fare well", "See you" -> "ENGLISH1.", "ENGLISH2.", "ENGLISH3."
"Tschüß", "Tschüss", "Wiedersehen", "Gehab wohl" -> "GERMAN1.", "GERMAN2.", "GERMAN3."
"Ciao", "Adieu", "Au revoir", "Farebba", english -> "See you sooon.", "Good bye!"
"Ciao", "Adieu", "Au revoir", "Farebba" -> "Bis bald!", "Auf Wiedersehen!"
"How are you", "How feel", "How do you do" -> "Great. I'm dead.", "#me dosen't answer.", "#me lookes at you with an sad expression.", "Dare to aks something like this again, and i shall haunt you!"
"Wie geht", "Wie fühlst", "Wie ist es ergangen", "Wie Befind" -> "Gut gut. Ich bin tot.", "#me schweigt", "#me sieht dich traugig an.", "Noch so eine gemeine Frage und ich verfluchte dich! Buhuu!"
"your name", "who are you", "who art thou" -> "I don't remember. Buhuuu.", "Don't know. And who are you?"
"dein name", "wer bist du", "wer seid ihr", "wie heißt" -> "Ich habe's vergessen. Buhuuu.", "Weiß nicht. Und wer bist du?"
-- OPTIONAL TRIGGERS
-- Catching quest triggers.
"What looking for?", "Need help?", english -> "I lost my keys! Buhuuu...", "Can you help me to find my keys?", "Did you see my keys anythere?."
"suchst du", "brauchst Hilfe", "Braucht Hilfe" -> "Ich habe meine Schlüßel verloren!Buhuuu...", "Kannst du mir helfen meine Schlüßel wiederzufinden?.", "Hast du irgendwo meine Schlüßel gesehen."
-- After solving the Quest:
"habe keys", "brought key" -> "Oh?...Buhuuu! Yes, my keys indeed. Thanks a lot", "#me is very happy, shouting:'Thank youuu, thank youuu!"
"habe Schlüßel", "bringe Schlüßel" -> "Oh? ...Buhuuu! Ja, tatsächlich. Es sind meine Schlüßel.Habt tausend Dank!","#me freut sich sehr und ruft:'Danke, danke, danke!'"
-- Player gets revard:
--Small talk - The talk here should focus on possible questions. Feel free to add more!
"profession" -> "I'm a ghost. Don't need to work anymore!"
"beruf" -> "Ich bin Geist. Ich brache nicht zu arbeiten!"
"job", english -> "I'm a hard working ghost! Just kidding. Did you really think beging a ghost is a job?"
"job" -> "Ich nehme meine Arbeit als Geist sehr ernst. Das war nur ein kleiner Scherz. Glaubst du denn wirklich ein Geist zu sein ist ein Job?"
"Why dead" -> "Because I died!","#me sobs loudly."
"Warum tot" -> "Weil ich tod bin!","#me schluchst."
"You stupid", "Ghost stupid" -> "#me sulks", "Buhuu, I curse youhuu!"
"Du dumm", "dummer geist", -> "#me schmollt", "Buhuu, verfluchst seist duhuu!"
-- Optional: Last catch - Think about keyphrases the player might say and that are not caught until here
"my name" -> "Nice to meet you.", "Huuu..."
"mein Name" -> "Freut mich dich kennen zu lernen.", "Huuu..."
------------------------------------------------------------------------------AC
-- Cycle Texts - Messages spoken automatically in random intervals.
-- Every NPC should contain at least 10 of those messages.
-- Emotes are possible also starting with "#me ....".
cycletext "Huuu...", "Buhuu...", "Where did I put them?","#me schwebt hektisch duch den Raum.","#me seem to be looking for something."
cycletext "Huuu...", "Buhuu...", "Wo habe ich sie nur hingetan?", "#me flyes throug the room in a hurry.", "#me scheint etwas zu suchen."