SA-MP Forums Archive
[intelliNPC] Michael the barkeeper - v1.0 - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [intelliNPC] Michael the barkeeper - v1.0 (/showthread.php?tid=106732)

Pages: 1 2


[intelliNPC] Michael the barkeeper - v1.0 - Striker_Moe - 05.11.2009

-----------------------------------------------
-----------------------------------------------
II II I II IIIIIIIIIII IIIIIIIIII II II II
II II II II II II II II II
II II II II II II II II II
II II II II II IIIIIIIIII II II II
II II II II II II II II II
II II II II II II II II II
II II II I II IIIIIIIIII IIIIIIIIII IIIIIIIIII II


II I II II II II II IIIIIIIIIIII
II II II II II III
II II II II II II
II II II II II II
II II II II IIIIIIII II
II II II II II
II II II II II
II II II II III
II II I II IIIIIIIIIIII


------------------------------------------------
------------------------------------------------


So, finally the day has come,

Iґm going to release the first intelliNPC (means intelligent acting NPC). Hereґs a video for a little overview:

Michael the Barkeeper - intelligent acting SA:MP NPC

Hereґs a extract of the readme.txt which is included in all packages.


::::---:::: 1. Installation


To install the bot, move the complete "npcmodes" folder into your SA:MP server folder (NOT IN A SPECIFIC FOLDER!).
Then, move the "michael.amx" file into your "filterscripts" folder.

Next, open up your server.cfg and write "maxnpc 1" in a free line. Save and close the file.


Now you can decide between two solutions:

---Add the bot permanentely to your server:

To do so, open up your server.cfg and add "michael" next to "filterscripts". Save the file and restart the server.

---Add the bot only until next server restart:

Go ingame, log into RCON (/rcon login PASSWORD), then write /rcon loadfs michael and youґre done.


::::---:::: 2. Activation


First of all, you need to go to the place the barkeeper is supposed to stand, and write /getbarkeeper. This will
make the barkeeper to move to this location and stand there.

To activate the bot, go near him and write "Michael, serve the guests!". Make sure you write the ! at the end.
If the bot replies "As you wish!", heґs activated and ready to work!


::::---:::: 3. Usage


To talk to the bot, stand near him and FACE HIM. The bot reacts to several salutations and orders. If the bot does
not reply on a specific salutation/order, try to formulate your text a bit different / without !,.? or whatever.

After the bartender has processed your order, he wants you to pay. You can enter the amount you want to pay him -
the exact amount, more or less (or nothing). Depending on what you pay, heґs very happy or pissed off. If you
managed to piss him off, do not try to speak to him again, or heґs gonna call police.

Also, shooting in his range is not the best idea - if you dont shoot at him, he calls police.


::::---:::: 4. Bugs and Suggestions


If you found any bugs or technical issues, please reply in the thread on SA:MP forums so I can fix them as soon
as possible.
This also goes for suggestions - got any ideas on new drinks or anything else? Feel free to reply in the thread
or send me a PM - your help is very appreciated.


::::---:::: 5. Credits


Credits for the scripting work go to me, Mo3.
Credits for SA:MP and the NPCs itself go to the SA:MP developer team.




Version 1.0 - Full package including .pwn







Re: [intelliNPC] Michael the barkeeper - v1.0 - MachineHead - 05.11.2009

Wow! That is awesome, great job!

By the way.

Also, shooting in his range is not the best idea - if you dont shoot at him, he calls police.

Don't you mean that if you shoot him he will call the police?


Re: [intelliNPC] Michael the barkeeper - v1.0 - Eazy_Efolife - 05.11.2009

Very creative!


Re: [intelliNPC] Michael the barkeeper - v1.0 - saiberfun - 05.11.2009

meh
when im done wit ma adminfs(don'T have much time)
I'll start making minimissions wit intelligent bots.


Re: [intelliNPC] Michael the barkeeper - v1.0 - Striker_Moe - 05.11.2009

No. If you shoot directly at him, he doesnt call police and surrenders, but if you shoot somewhere else, he calls police.


Re: [intelliNPC] Michael the barkeeper - v1.0 - MachineHead - 05.11.2009

Quote:
Originally Posted by Mo3
No. If you shoot directly at him, he doesnt call police and surrenders, but if you shoot somewhere else, he calls police.
I get it now Dx




Re: [intelliNPC] Michael the barkeeper - v1.0 - RyDeR` - 05.11.2009

Wow nice !!


Re: [intelliNPC] Michael the barkeeper - v1.0 - Blunts - 05.11.2009

Hahaha... amazing.. good work.


Re: [intelliNPC] Michael the barkeeper - v1.0 - Mive - 05.11.2009

Very nice


Re: [intelliNPC] Michael the barkeeper - v1.0 - SpiderPork - 05.11.2009

Not bad.


Re: [intelliNPC] Michael the barkeeper - v1.0 - PowerSurge - 05.11.2009

Hey Mo3 it's me Skelebob.
It was fun playing with this bot yesterday
You're amazing!


Re: [intelliNPC] Michael the barkeeper - v1.0 - skaTim - 05.11.2009

Awsome FS! Great job!


Re: [intelliNPC] Michael the barkeeper - v1.0 - GaGlets(R) - 05.11.2009

WTF

Great job man.
I thinked that npc can only walk and drive but this... ! WOW man you are fantastic scripter!


Re: [intelliNPC] Michael the barkeeper - v1.0 - Jese - 05.11.2009

Looks awesome! Great job!


Re: [intelliNPC] Michael the barkeeper - v1.0 - [03]Garsino - 05.11.2009

Fucking great job as always!


Re: [intelliNPC] Michael the barkeeper - v1.0 - Striker_Moe - 05.11.2009

Woah, thank you all! Didnt imagine that big response.


Re: [intelliNPC] Michael the barkeeper - v1.0 - GaGlets(R) - 05.11.2009

Umm foud a bug...

I let him to kill me - after that i died more 3- 5 times without reason


Re: [intelliNPC] Michael the barkeeper - v1.0 - Tannz0rz - 05.11.2009

Glad to see that someone is using my a_angles.inc to its fullest.
Nice work Mo.


Re: [intelliNPC] Michael the barkeeper - v1.0 - Matthew_Murdoch - 05.11.2009

Quote:
Originally Posted by [03
Garsino ]
Fucking great job as always!
ye true BUT. . The npc is a bartender . .and the npc does is not able to be in interiors. . Well for me atleast, anyone else?
Kinda removes the point if it cant be in a bar.


Re: [intelliNPC] Michael the barkeeper - v1.0 - [03]Garsino - 05.11.2009

Quote:
Originally Posted by euRo`
Quote:
Originally Posted by [03
Garsino ]
Fucking great job as always!
ye true BUT. . The npc is a bartender . .and the npc does is not able to be in interiors. . Well for me atleast, anyone else?
Kinda removes the point if it cant be in a bar.
You probaly did something wrong..