Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
Hey there.
How can I make standing NPCs I need some guard NPCs in a army base, but they should have only a Colt45 and standing , not attacking no one, and no dying can you help please?
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
register a npc to the base ... you have to no move and use a weapon
Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
I don't know how to make NPCs, that's why I ask.
Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
Help please I want to make a security cop NPC wich will only stay not moving and not doing any action, please help, I'll get the coordinates, thanks.
Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
Anyone? Please I need it...
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
Look through the tutorials section and there's a thread teaching you how to make NPCs. Just when you recording for the file, don't move.
Posts: 170
Threads: 26
Joined: Jun 2009
Reputation:
0
well i know that you need to load the filterscript npc_record and in the game go to the place and put the npc in one place as you want him to be on foot then do command /ofrecord "name" for name put the name of the thing you want it for like soldier and it will start to record then wait like two seconds and do /stoprecord and put the .rec file thats going to be in scriptfiles and move it to npcmodes and make a new pawn file and put this in just remove cruise1 and put the name of your npc
#define RECORDING "cruise1" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.
#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Posts: 1,029
Threads: 96
Joined: May 2010
Reputation:
0
Didn't understand anything can you help, with my request?
Posts: 860
Threads: 10
Joined: Aug 2008
Reputation:
0
Start the game and go to the place where you want the Guard to be standing at. Do /rcon loadfs npc_record and then do /ofrecord (Don't move after doing this because your actions are now being recorded for further playback), and after a two seconds, do /stoprecord. Post a message when you are done doing this.(I am going to show you this step by step because it will be easier for you)