Play Flags: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{v1_8_beta}}
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
The parameter flags was added in v1.8 (not released as of 03.Jan.2024) and will not work in previous versions.
This flags only work with PLAYER_RECORDING_TYPE_ALL
This flags only work with PLAYER_RECORDING_TYPE_ALL
</poem>
</poem>

Revision as of 15:46, 26 January 2024

This function was added in v1.8 beta and will not work on previous versions.

This flags only work with PLAYER_RECORDING_TYPE_ALL

PLAY_IGNORE_PASSENGER_HEALTH  1
PLAY_IGNORE_SEATID  2
PLAY_IGNORE_VEHMODEL  4
PLAY_IGNORE_VEHICLEID  8
PLAY_IGNORE_CHECKPOINTS  16
PLAY_IGNORE_CHECKPOINT_POSITIONS  32
PLAY_IGNORE_UNSTREAMED_PICKUPS  64
PLAY_IGNORE_PICKUP_MODEL  128
PLAY_IGNORE_UNSTREAMED_OBJECTS  256
PLAY_IGNORE_OBJECT_MODEL  512
PLAY_AVOID_OBJECTSHOT_WEAPONCHECK  1024

If PLAY_IGNORE_PASSENGER_HEALTH is used, then the health and armour present inside the passenger data of rec file will not be used.
If PLAY_IGNORE_VEHMODEL will not raise error if vehicle model inside rec file is different from that of the server now. Models are checked using vehicle IDs.
PLAY_IGNORE_CHECKPOINTS will not stop the playback if the checkpoint with the ID in rec file is not found/streamed in. If PLAY_IGNORE_CHECKPOINT_POSITIONS is used, then position of checkpoint will not be checked against that in rec file.
PLAY_AVOID_OBJECTSHOT_WEAPONCHECK will not raise error, if the weapon with object was shot is not available to npc. It simply send the packet.