SA-MP Forums Archive
[FilterScript] Ingame NPC maker - my first release after long time :D - 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: [FilterScript] Ingame NPC maker - my first release after long time :D (/showthread.php?tid=303828)

Pages: 1 2 3 4 5 6 7 8


Ingame NPC maker V2 - Fully automatic - ]Kurence[ - 15.12.2011

Hello, i have made a little filterscript that allows you to create 50 NPCs from game, no need to script npcmode or move recording file by yourself
Each NPC (50) has 2 config files (placed in scriptfiles) - first contains his vehicle ID and second contains his skin ID... It means that 100 cfg files will appear in your scriptfiles folder. Sorry for this, but i really suck at writing/reading files
In this version NPC's are being saved, and are restored after server restart. To remove them, use /kremove [ID/all]
You need to have FileManager plugin by JaTochNietDan installed
FileManager 1.2


COMMANDS:
/knpc [ID 0-50] - start/stop recording npc (PLAYER_RECORDING_TYPE will depend on your current state (on foot/driver)
recording will also stop if you will leave your vehicle or enter vehicle when on foot while recording.
/knpclist -show list of currently connected NPC's and their ID's
/kremove [ID 0-50] - remove NPC (or use '/kremove all' to remove all NPC's)
/knicks - Show/hide NPC's nicknames (3D Text Label)
/knpchelp - show list of commands


INSTALLATION:

1. Install JaTochNietDan's FileManager plugin - FileManager 1.2
-Download Windows/Linux version from here: FileManager Download
Put FileManager.dll to your plugins folder if you are running on windows, or filemanager.so if on linux
Now add this line to your server.cfg if you are on windows:
plugins FileManager.dll
or on linux:
plugins filemanager.so
2. Copy knpc.amx into your filterscripts folder
3. Copy files from in npcmodes from this archive to your npcmodes folder
4. Add knpc into 'filterscripts' line to your server.cfg
5. Increase maxnpc value in your server.cfg to atleast 50

NOTE: FileManager plugin is not made by me, all credits go to JaTochNietDan

DOWNLOAD:
knpc.zip - link 1

[ame="http://www.youtube.com/watch?v=pVsO-QBuyVc"]http://www.youtube.com/watch?v=pVsO-QBuyVc[/ame]


Re : Ingame NPC maker - my first release after long time :D - BigBaws - 15.12.2011

Good job , gonna test it


Re: Ingame NPC maker - my first release after long time :D - KeKe98 - 15.12.2011

Yea me too, good job


Re: Ingame NPC maker - my first release after long time :D - Deskoft - 15.12.2011

Nice release!


Respuesta: Ingame NPC maker - my first release after long time :D - [Nikk] - 15.12.2011

Wow i see this and looks so good, im gonna to test this Right now! Thanks ^^


Re: Ingame NPC maker - my first release after long time :D - misho1 - 15.12.2011

Awesome It Works 100%
+Respect


Re: Ingame NPC maker - my first release after long time :D - xRandomGuy - 16.12.2011

Looks nice, although it only works for the moment and does not save, correct me if I'm wrong(?)


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 16.12.2011

Quote:
Originally Posted by xRandomGuy
Посмотреть сообщение
Looks nice, although it only works for the moment and does not save, correct me if I'm wrong(?)
Yes, but in next version i will add ability to save NPC's, and also ability to create more NPC's at once


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 16.12.2011

New release - now NPCs are being saved (will be restored on server restart) and you can make 10 NPCs at once + some new commands
+fixed pretty serious bug, so please re-download if you were using this.

BTW, thanks everyone


Re: Ingame NPC maker - my first release after long time :D - Astralis - 16.12.2011

Quote:
Originally Posted by ]Kurence[
Посмотреть сообщение
New release - now NPCs are being saved (will be restored on server restart) and you can make 10 NPCs at once + some new commands
+fixed pretty serious bug, so please re-download if you were using this.

BTW, thanks everyone
Nice work. Great to hear.


Re: Ingame NPC maker - my first release after long time :D - sherlock - 18.12.2011

Will this work if the server has a login system??


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 18.12.2011

it should work, but if your gamemode kicks players who have spawned without login, then it wont


Re: Ingame NPC maker - my first release after long time :D - SnG.Scot_MisCuDI - 18.12.2011

In car NPC doesnt work, it just spawns a npc standing


Re: Ingame NPC maker - my first release after long time :D - Frogger75 - 19.12.2011

Everytime i try to record a Train NPC it crashes my game halfway through, any reason why its doing this?


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 19.12.2011

Quote:
Originally Posted by Frogger75
Посмотреть сообщение
Everytime i try to record a Train NPC it crashes my game halfway through, any reason why its doing this?
do you have any mods installed?


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 19.12.2011

Quote:
Originally Posted by Xx_OutLawZ_xX
Посмотреть сообщение
Great release!
hmm, i think i know you from VC MP, weren't you playing on XE european?


Re: Ingame NPC maker - my first release after long time :D - viddo - 31.12.2011

When i do /knpc 0 and record it says recording then when i /knpc to stop it says nothing and no npc is created

Note: I added everything and the npc modes too.


Re: Ingame NPC maker - my first release after long time :D - InferNus` - 31.12.2011

It's Amazing


Re: Ingame NPC maker - my first release after long time :D - ]Kurence[ - 31.12.2011

Quote:
Originally Posted by viddo
Посмотреть сообщение
When i do /knpc 0 and record it says recording then when i /knpc to stop it says nothing and no npc is created

Note: I added everything and the npc modes too.
i think that it is problem with permissions, that filemanager plugin may not have rights to move these files... it is common problem on vista and win 7


Re: Ingame NPC maker - my first release after long time :D - Red_Ronnie - 01.01.2012

Everybody, help me.My problem is in time spawn boots.How to change spawn- time?Pls in skype:red-ronnie.