Teardown
CCTV Script & Showcase
Mostrando 1-10 de 12 aportaciones
< 1  2 >
Actualización: 28 SEP 2022 a las 15:33

  • Tweak logic for scenes with robot in action, camera would very unlikely to report a damage by robot now

Actualización: 26 SEP 2022 a las 15:43

  • Disabled cameras now would stay at the final position just before disabled
  • Fixed disabled cameras doesn't reset status to default (e.g.: cam triggers 'Vandalism' once after restart)

Actualización: 24 SEP 2022 a las 18:26

  • Cameras now can be disabled and enabled using registry
  • Feature mentioned above have a basic function library, see cctvCamLib.lua script in this mod (same folder with cctvCam.lua)

Actualización: 15 SEP 2022 a las 13:43

Change Log:

  • Removed camera resting function from camera which is assembled to a DYNAMIC body.*¹
  • Tweak camera logic with limited yaw range
Note:
  1. This function would cause camera with dynamic base to float in air when the base/camera is lifted and held in air (e.g.: lifted by player). Additionally, joined structure would always in same status, all active or all sleeping (game engine side, not mod side, for optimization) therefore there's no easy method to tell if the camera is in air (vanilla map always have 1000+ bodies so loop through is not practical; raycast could be able to solve this but this method itself would consume more performance, especially for cameras assembled to a larger dynamic body [e,g.: vehicle] so neither)

Actualización: 15 SEP 2022 a las 13:43

Actualización: 14 SEP 2022 a las 7:24

  • Added an optional tag 'preTarget' to mark the body as an vital object, alarm would be triggered once see player interact with it
  • Queued message now won't queue repeating messages

Actualización: 6 SEP 2022 a las 10:45

  • Performance optimization
  • Cameras now would rotate to default direction immediately once loaded

Actualización: 5 SEP 2022 a las 14:51

tweak for return logic when camera yaw limits are not symmetrical (e.g.: yaw limits at -90 and 180)

Actualización: 4 SEP 2022 a las 16:55

tweak for cameras with a base being a static shape (in world body)

Actualización: 30 AGO 2022 a las 8:29

added support to use different units when displaying speed of vehicle, now support: km/h, mph, m/s, ft/s, knots