(IN DeV) Chat BOT - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (
https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: (IN DeV) Chat BOT (
/showthread.php?tid=313042)
(IN DeV) Chat BOT -
SourceCode - 24.01.2012
I'm currently developing my first plugin for pawn. What it does it, get a respone for a chat string. That respone is automated and u need not configure anything I thought it'd be awesome to have this because, we can make Npc's chat on their own.
Currently it only develops response, I can make it voice response too in plugin, but someone already made a simple include/FS (TXT-Voice) for that to use in this. Suggest any more features
Re: (IN DeV) Chat BOT -
Amit_B - 24.01.2012
I can't see why do you need any plugin here. It can be done easily with FS.
Re: (IN DeV) Chat BOT -
SWEMike - 24.01.2012
Like Amit_B said, it's scriptable in a filterscript. And you can't post threads for unfinished projects in the release sections which you have.
Re: (IN DeV) Chat BOT -
SourceCode - 24.01.2012
Quote:
Originally Posted by SWEMike
Like Amit_B said, it's scriptable in a filterscript. And you can't post threads for unfinished projects in the release sections which you have.
|
How do u script it in filterscript? and i've seen few plugin discussion threads
Re: (IN DeV) Chat BOT -
=WoR=Varth - 24.01.2012
Quote:
Originally Posted by SourceCode
How do u script it in filterscript? and i've seen few plugin discussion threads
|
IsPlayerInRangeOfPoint.
GetPlayerFacingAngle.
strfind.
And other functions IMO can do the trick.
Re: (IN DeV) Chat BOT -
Amit_B - 24.01.2012
Quote:
Originally Posted by SourceCode
How do u script it in filterscript? and i've seen few plugin discussion threads
|
What exactly do you want to know to script in a filterscript?
For a chat bot just use OnPlayerText to read what players write and recognize it as you meant to do in the plugin.
To able voice text, for example, there are sites used to output voice by text, for example ****** Translate. PlayAudioStreamForPlayer could be useful here.
Also, i'm pretty sure that someone has made once a chat bot...
Re: (IN DeV) Chat BOT -
SourceCode - 24.01.2012
No, its not what you guys are thinking, but after you insisting i saw a possibililty to do this in pawn , using a function i just saw. not sure if it works
Re: (IN DeV) Chat BOT -
=WoR=Varth - 24.01.2012
Quote:
Originally Posted by SourceCode
No, its not what you guys are thinking, but after you insisting i saw a possibililty to do this in pawn , using a function i just saw. not sure if it works
|
I know exactly (probably) what you're thinking.
Re: (IN DeV) Chat BOT -
SourceCode - 24.01.2012
Quote:
Originally Posted by =WoR=Varth
I know exactly (probably) what you're thinking.
|
Good, PM me what ur thinking what i am thinking
Re: (IN DeV) Chat BOT -
Gamer_Z - 24.01.2012
with the socketsplugin + some pawn scripting I can achieve ANYthing that relates to outside input/output. This includes BOTS with voice chat functionality.