Recording Flags

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search

To be used with StartRecordingPlayerData

REC_NAME                1
REC_SPAWN               2
REC_ONFOOT_NORMAL       4
REC_ONFOOT_AIM          8
REC_VEHICLE_DRIVER      16
REC_VEHICLE_PASSENGER   32
REC_DEATH               64
REC_OBJECT_SHOT         128
REC_OBJECT_TOUCH        256
REC_PICKUP_PICKED       512
REC_CHECKPOINT_ENTERED  1024
REC_CHECKPOINT_EXITED   2048
REC_PLAYER_COMMAND      4096
REC_PLAYER_CHAT         8192
REC_PLAYER_PM           0x4000
REC_CLIENTSCRIPT_DATA   0x8000

Also

REC_STANDARD        REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER

REC_AFTERLIFE       REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH

REC_SPYMODE         REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_PLAYER_COMMAND|REC_PLAYER_CHAT|REC_PLAYER_PM

REC_RACEMODE        REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_CHECKPOINT_ENTERED|REC_CHECKPOINT_EXITED

REC_RAMPAGE         REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_PICKUP_PICKED

REC_RIFLERANGE      REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_OBJECT_SHOT|REC_OBJECT_TOUCH

REC_EVERYTHING      REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_OBJECT_SHOT|REC_OBJECT_TOUCH|REC_CHECKPOINT_ENTERED|REC_CHECKPOINT_EXITED|REC_PICKUP_PICKED|REC_PLAYER_COMMAND|REC_PLAYER_CHAT|REC_PLAYER_PM|REC_CLIENTSCRIPT_DATA

REC_ALLNAME         REC_NAME|REC_ONFOOT_NORMAL|REC_ONFOOT_AIM|REC_VEHICLE_DRIVER|REC_VEHICLE_PASSENGER|REC_SPAWN|REC_DEATH|REC_OBJECT_SHOT|REC_OBJECT_TOUCH|REC_CHECKPOINT_ENTERED|REC_CHECKPOINT_EXITED|REC_PICKUP_PICKED|REC_PLAYER_COMMAND|REC_PLAYER_CHAT|REC_PLAYER_PM|REC_CLIENTSCRIPT_DATA

Notes
REC_STANDARD Records onfoot updates and vehicle updates
REC_AFTERLIFE npc will die as player death is recorded. it will also be able to spawn automatically.
REC_SPYMODE npc will send exactly the same chat messages and commands (/). Also if player send priv message to a player, npc will search for a player with same name and send priv message.
REC_RAMPAGE Pickup picked datas will be saved.
REC_RIFLERANGE Object shot, Object touch details will be saved
REC_EVERYTHING Every possible actions/chats/cmds/pms/checkpoints/deaths/spawns/client-script-data/pickups/object-touch,shot are saved
REC_ALLNAME REC_EVERYTHING plus the name of player itself. Aimed at creating an npc from rec-file.