Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
AIped - 21.03.2013
Well i had some fun combining RNPC with the mapandreas include from Ryder ;
https://sampforum.blast.hk/showthread.php?tid=273263
I used it because the plugin is to big of use from my little laptop im working on.
I managed to make some heightdetection with it and made an rnpc walk on the map. He could choose his direction /facingangle to go to randomly when ever it faced a higher object.
I was laughing my socks off when he just walked over the water XD
Just wanted to share this with you guys, maybe you can do better anyway this is realy worth a try for people who cant run the mapandreas plugin.
AW: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Logan_Adams - 22.03.2013
All download Links are down ....
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
AIped - 22.03.2013
mh..weird it worked for me although the downloadpage loaded very slow
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
TheArcher - 22.03.2013
I'm pretty sure that Mauzen's VPS went down, he has announced months ago that he couldn't pay the service anymore so looks like the service closed today. Just wait for him to upload other mirrors.
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Mauzen - 22.03.2013
Forgot to announce that here. I quitted my old vps contract because its price/perfomance rating sucks in meanwhile (hired it 2 years ago). Ill rent a new one soon, probably with the same domain (i dont actually own that domain because it was included with the vps, need to clarify some things with my hoster). Database and files are dumped, so the links will become valid again when the server is back.
Till then I added a alternative link for the most recent version to the first post.
Re: Respuesta: Re: Respuesta: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Mauzen - 02.05.2013
Quote:
Originally Posted by xDarkuzSx
yea I use this code:
Help me pls..
|
Add a short delay between setting the two keysets, and at the end, else the whole thing will just be one segment long, and the npc doesnt have the "time" to do anything.
[QUOTE=xDarkuzSx;2507519]yea I use this code:
pawn Код:
RNPC_CreateBuild(npcid, PLAYER_RECORDING_ONFOOT); // start build mode
RNPC_SetWeaponID(35); // Rocket Laucher
RNPC_SetKeys(128); // <-- this function doesn't work with the rocket laucher..
RNPC_AddPause(10);
RNPC_SetKeys(128 + 4); //and this.
RNPC_AddPause(10);
RNPC_FinishBuild();
RNPC_StartBuildPlayback(npcid);
Respuesta: Re: Respuesta: Re: Respuesta: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
xDarkuzSx - 02.05.2013
[quote=Mauzen;2507614]Add a short delay between setting the two keysets, and at the end, else the whole thing will just be one segment long, and the npc doesnt have the "time" to do anything.
Quote:
Originally Posted by xDarkuzSx
yea I use this code:
pawn Код:
RNPC_CreateBuild(npcid, PLAYER_RECORDING_ONFOOT); // start build mode RNPC_SetWeaponID(35); // Rocket Laucher RNPC_SetKeys(128); // <-- this function doesn't work with the rocket laucher.. RNPC_AddPause(10); RNPC_SetKeys(128 + 4); //and this. RNPC_AddPause(10); RNPC_FinishBuild(); RNPC_StartBuildPlayback(npcid);
|
dont work
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
justinnater - 04.05.2013
Just noticed, using SetRNPCPos(npcid, x,y,z);
in the same callback where SetRNPCSkin(npcid, skinid); is being used, will cause the NPC not to be teleported to its position of SetRNPCPos.
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
TheArcher - 04.05.2013
Quote:
Originally Posted by justinnater
Just noticed, using SetRNPCPos(npcid, x,y,z);
in the same callback where SetRNPCSkin(npcid, skinid); is being used, will cause the NPC not to be teleported to its position of SetRNPCPos.
|
I might take a look later at it.
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Kwarde - 04.05.2013
Yeah, well; I did
128 + 4. Isn't that aim+shoot? :P (FYI, When I let a RNPC shoot, I never use just the FIRE button, I use AIM+FIRE always

)
Respuesta: Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
xDarkuzSx - 04.05.2013
Quote:
Originally Posted by Kwarde
Yeah, well; I did 128 + 4. Isn't that aim+shoot? :P (FYI, When I let a RNPC shoot, I never use just the FIRE button, I use AIM+FIRE always  )
|
Don't work...

the rnpc don't shoot me

and i use AIM KEY(127) AND KEY_FIRE(4)
Re: Respuesta: Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Kwarde - 06.05.2013
Quote:
Originally Posted by xDarkuzSx
Don't work...  the rnpc don't shoot me  and i use AIM KEY(127) AND KEY_FIRE(4)
|
FYI, Aim Key = 128.
Did you try this with an RPG? Because that doesn't work.
Respuesta: Re: Respuesta: Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
xDarkuzSx - 07.05.2013
Quote:
Originally Posted by Kwarde
FYI, Aim Key = 128.
Did you try this with an RPG? Because that doesn't work.
|
Dont work , i use KEY 128 AND 4 with add pause or not.. The rnpc dont shoot, i test this with Rocket Laucher..
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Mauzen - 07.05.2013
Someone could try to record and playback shooting a rpg the old manual way, then we see if its a RNPC problem, or a problem with the npc system itself.
Respuesta: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
Marricio - 22.05.2013
I got this hit detection in my old and abandoned zombie gamemode, it works pretty much good for me! It might need few tweaks though, but it actually detects hits.
Feel free to use this snippet as it's no use for me anymore
http://pastebin.com/WFzWXPHQ
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
LikeNPC - 25.05.2013
Again update?
Respuesta: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
xDarkuzSx - 31.05.2013
Hi, I have other question...
As I can do to who the NPC's not float?
I use the function:
RNPC_AddMovementAlt
But if I wear under of a bridge the NPC's rise up (above of the bridge) and is very annoying,їhow to i can make a function that does not float but they are always glued to the floor?
D.P: Sorry for my English, but it is I am from Mexico and I'm learning English.
Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
TheArcher - 31.05.2013
@xDarkuzSx There could be finding the current Z position from MapAndreas... Try using
pawn Код:
MapAndreas_FindZ_For2DCoord
or at least we need a way to change the Z coord.
Respuesta: Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
xDarkuzSx - 01.06.2013
Quote:
Originally Posted by TheArcher
@xDarkuzSx There could be finding the current Z position from MapAndreas... Try using
pawn Код:
MapAndreas_FindZ_For2DCoord
or at least we need a way to change the Z coord.
|
still going the same!
Re: Respuesta: Re: RNPC - Recordfree NPCs | Control NPCs without recording | DEV -
TheArcher - 01.06.2013
Quote:
Originally Posted by xDarkuzSx
still going the same!
|
Wait untill Mauzen can update the plugin.