Teardown

Teardown

CCTV Script & Showcase
Showing 1-10 of 12 entries
< 1  2 >
Update: 28 Sep, 2022 @ 3:33pm

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

Update: 26 Sep, 2022 @ 3:43pm

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

Update: 24 Sep, 2022 @ 6:26pm

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

Update: 15 Sep, 2022 @ 1:43pm

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)

Update: 15 Sep, 2022 @ 1:43pm

Update: 14 Sep, 2022 @ 7:24am

  • 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

Update: 6 Sep, 2022 @ 10:45am

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

Update: 5 Sep, 2022 @ 2:51pm

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

Update: 4 Sep, 2022 @ 4:55pm

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

Update: 30 Aug, 2022 @ 8:29am

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