05.11.2009, 09:53
-----------------------------------------------
-----------------------------------------------
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
-----------------------------------------------
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