[intelliNPC] Michael the barkeeper - v1.0
#1

-----------------------------------------------
-----------------------------------------------
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




Reply
#2

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?
Reply
#3

Very creative!
Reply
#4

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

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

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

Reply
#7

Wow nice !!
Reply
#8

Hahaha... amazing.. good work.
Reply
#9

Very nice
Reply
#10

Not bad.
Reply
#11

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

Awsome FS! Great job!
Reply
#13

WTF

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

Looks awesome! Great job!
Reply
#15

Fucking great job as always!
Reply
#16

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

Umm foud a bug...

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

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

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.
Reply
#20

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..
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)