/tg/ Station 13 - Modules - TypesVar Details - Proc Details

Remote Camera Component

Attaches a camera for surveillance-on-the-go.

Vars

c_tag_randomCamera random ID
camera_prefixThe shell's type (used for prefix naming)
camera_rangeCamera range flag (near/far)
camera_range_settableAllow camera range to be set or not
camera_signal_move_overrideUsed only for the BCI shell type, as the COMSIG_MOVABLE_MOVED signal need to be assigned to the user mob, not the shell circuit
current_camera_empUsed to store the camera emp state
current_camera_emp_timer_idUsed to store the camera emp timer id
current_camera_nameUsed to store the last string used for the camera name
current_camera_networkUsed to store the last string used for the camera network
current_camera_rangeUsed to store the current camera range setting (near/far)
current_camera_stateUsed to store the current process state
current_cameranet_stateUsed to store the current cameranet state
networkThe network to use
shell_cameraCamera object
shell_parentThe shell storing the parent circuit
startStarts the cameraa
stopStops the program.

Procs

cameranet_addAdd camera from global cameranet
cameranet_removeRemove camera from global cameranet
close_cameraClose the camera state (only if it's already active)
init_cameraInitializes the camera
processHandle power usage and camera state updating
remove_cameraRemove the camera
remove_camera_empRestore emp'd camera
set_camera_empSet the camera as emp'd
start_processAdds the component to the SSclock_component process list
stop_processRemoves the component to the SSclock_component process list
update_camera_locationUpdate the chunk for the camera (if enabled)
update_camera_name_networkUpdates the camera name and network
update_camera_rangeSet the camera range

Var Details

c_tag_random

Camera random ID

camera_prefix

The shell's type (used for prefix naming)

camera_range

Camera range flag (near/far)

camera_range_settable

Allow camera range to be set or not

camera_signal_move_override

Used only for the BCI shell type, as the COMSIG_MOVABLE_MOVED signal need to be assigned to the user mob, not the shell circuit

current_camera_emp

Used to store the camera emp state

current_camera_emp_timer_id

Used to store the camera emp timer id

current_camera_name

Used to store the last string used for the camera name

current_camera_network

Used to store the last string used for the camera network

current_camera_range

Used to store the current camera range setting (near/far)

current_camera_state

Used to store the current process state

current_cameranet_state

Used to store the current cameranet state

network

The network to use

shell_camera

Camera object

shell_parent

The shell storing the parent circuit

start

Starts the cameraa

stop

Stops the program.

Proc Details

cameranet_add

Add camera from global cameranet

cameranet_remove

Remove camera from global cameranet

close_camera

Close the camera state (only if it's already active)

init_camera

Initializes the camera

process

Handle power usage and camera state updating

This is the generic abstract proc - subtypes with specialized logic should use their own copy of process()

remove_camera

Remove the camera

remove_camera_emp

Restore emp'd camera

set_camera_emp

Set the camera as emp'd

start_process

Adds the component to the SSclock_component process list

Starts draining cell per second while camera is active

stop_process

Removes the component to the SSclock_component process list

Stops draining cell per second

update_camera_location

Update the chunk for the camera (if enabled)

update_camera_name_network

Updates the camera name and network

update_camera_range

Set the camera range