Mirage Source
http://www.miragesource.net/forums/

Npc Chat Interface with Quests.
http://www.miragesource.net/forums/viewtopic.php?f=201&t=1261
Page 1 of 12

Author:  Ambientiger [ Sun Jan 28, 2007 8:50 pm ]
Post subject:  Npc Chat Interface with Quests.

I've noticed a few posts recently on making an interface for talking with Npcs.
My initial project last year used an engine based on the 3.0.3 source, to which I added such an interface, including player quests.
A few screenies for your viewing pleasure:
NpcEditor
Interface1
Interface2
Interface3
Interface4

I put a lot of work into it, but being a total noob to VB I made a few fundamental mistakes in my implementation, namely getting the server to send each new npc chat line and the responding replies each time a choice was made. This caused flood errors and other problems when the game was deployed to a remote server.
It works okay if you run the server and the client on the same machine.

Old Thallingorn

I'm posting it here in the hope that it might be of use to some of you for ideas or inspiration. I will be adding something similar to my new project but your welcome to use any of it in your games/engines. If it sparks your interest and you would like the source code, please message me and I'll get it to you if I can. It is sourcesafe locked but should still be usable to anyone that knows how to work around this.

Author:  Gilgamesch [ Sun Jan 28, 2007 10:02 pm ]
Post subject: 

hey


this looks way too complicated ^^...everything is all over the place..looks strange but still a good idea..i have something similar too that in my game...

Author:  Obsidian [ Sun Jan 28, 2007 10:27 pm ]
Post subject: 

My god, how large would the NPC files be if they had that much chat stuff? Let's just say it's even 5 character's per string for their chat alone... and you're still talking about a TON of memory being used, for each individual NPC...

Author:  Rian [ Sun Jan 28, 2007 11:18 pm ]
Post subject: 

My speeches are separate files loaded, and attached to npcs. It allows for recycling common speeches, such as ones used for opening shops and starting quests. From what I can see though, your speeches are pretty advanced, just kinda ...Make the npc files huge.

Author:  Ambientiger [ Mon Jan 29, 2007 12:06 am ]
Post subject: 

Lol, yeah I hear what your saying, the file size for the Npcs went up to 7.83kb from 416bytes. They are saved as binary, so I had to set some hefty fixed string lengths for them.
I like the idea of using a seperate set of speeches, think I'll do the same for quests aswell.
I never found myself needing more than three of the replies, so I reckon I'm gonna cut it down a bit this time.

Author:  Rian [ Mon Jan 29, 2007 2:24 am ]
Post subject: 

As mine stand, I only have 2 key words, two replies, and 1 starting line. I think I'll also settle for three replies though. 8)

Author:  grimsk8ter11 [ Mon Jan 29, 2007 2:44 am ]
Post subject: 

My code for NPC chat is the shit lol.

i have no where to host it or id let it be freely available

Author:  lordgivemick [ Mon Jan 29, 2007 3:15 am ]
Post subject: 

i can host it.... just pm me and ill set you up. :D

Author:  wanai [ Wed Dec 01, 2021 1:53 pm ]
Post subject:  Re: Npc Chat Interface with Quests.

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Tue Feb 01, 2022 7:37 pm ]
Post subject:  Re: Npc Chat Interface with Quests.

Anna281.7CHAPCHAPAmorHenrMikefeatAlmaManuHowaZeroMarcTescHonoTescMichReadTescAtlaZoneDaniRond
LaceDancClasCurvNaivXVIISilvJingJustMexxTearAquaBonuVaniBlueGarnNiveFlaxLadyalteTescPaleRobe
DougPushToucSieLArktMarcLineAlleIrisCathFredReviBestVentCircSelaFallNeriMadibluePoohPhilPush
SzymAntoFeliCircElegCircKybaMiyoClicELEGFuxiZoneOrbyAndrStonNasoZonePrzeZoneMORGCiriZoneWill
DeanZoneMontZoneMariZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneKhanZoneZoneZoneZoneStevlsbkZone
ZoneXXIIMiloSecuMaxiNardGoreMielMistToloGregRambPolaChicGiglOlmeRiedSTARSeinVOLKEricPatiEthn
PortDuckTrefKotlZongChevWingWindMicrMistBarbValeZelmChouTrioJameEnhaStreWindWindJameErotIndi
FantElizBuloXVIIXIIImarkLaurVIIIXVIIVIIIPhilYevgJimiReadPungXXIVHaleCharProdMicrMichPortKyle
BlazBodyKearUnitGlenRobeSurvIntePaulSimsvoyaLEONOsibRitcLymaDANCPrasDaviOpelActiPartSecuSecu
SecuJowiNothMariBattSonyScotJulyStonAndaCambDeviThistuchkasNitsRobe

Author:  wanai [ Tue Mar 01, 2022 8:27 pm ]
Post subject:  Re: Npc Chat Interface with Quests.

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatorhttp://magnetotelluricfield.rumailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Sat May 14, 2022 9:02 am ]
Post subject:  Re: Npc Chat Interface with Quests.

CDDA

Author:  wanai [ Sat May 14, 2022 9:03 am ]
Post subject:  Re: Npc Chat Interface with Quests.

326.5

Author:  wanai [ Sat May 14, 2022 9:04 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Bate

Author:  wanai [ Sat May 14, 2022 9:05 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Repr

Author:  wanai [ Sat May 14, 2022 9:07 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Jami

Author:  wanai [ Sat May 14, 2022 9:08 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Nake

Author:  wanai [ Sat May 14, 2022 9:09 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Marc

Author:  wanai [ Sat May 14, 2022 9:10 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Heif

Author:  wanai [ Sat May 14, 2022 9:11 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Caut

Author:  wanai [ Sat May 14, 2022 9:12 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Irvi

Author:  wanai [ Sat May 14, 2022 9:13 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Yasu

Author:  wanai [ Sat May 14, 2022 9:15 am ]
Post subject:  Re: Npc Chat Interface with Quests.

DISC

Author:  wanai [ Sat May 14, 2022 9:16 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Warh

Author:  wanai [ Sat May 14, 2022 9:17 am ]
Post subject:  Re: Npc Chat Interface with Quests.

Disn

Page 1 of 12 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/