[Plugin] RNPC - Recordfree NPCs | Control NPCs without recording | DEV

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

All download Links are down ....
Reply

mh..weird it worked for me although the downloadpage loaded very slow
Reply

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

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

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);
Reply

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

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

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

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

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

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

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

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

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
Reply

Again update?
Reply

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

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

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

Quote:
Originally Posted by xDarkuzSx
Посмотреть сообщение
still going the same!
Wait untill Mauzen can update the plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)