Settings
This page contains all settings used by SecureCast. These can be found in the Settings module under the SecureCast module.
number VoxelSize
The size of each voxel in studs.
Vector3 VoxelGridSize
The size of the voxel grid in studs.
Danger
Be careful when editing this value, anything smaller than the playable area will result in players being missed by the server raycasts.
number SnapshotLifetime
The lifetime of snapshots in seconds.
Danger
Be careful when editing this value, very small values will result in players with high ping not being able to land shots but high values may result in players being hit behind cover long after they have gone behind it.
Instance Definitions
The container for projectile definitions modules.
{[Enum.Material]: number} SurfaceHardness
An array of each materials hardness.
The needed penetration power can be calculate with the following formula:
Power = SurfaceDepth * SurfaceHardness
number RicochetHardness
The minimum surface hardness needed for a projectile to ricochet off of something.
This is ignored when a projectile has a ricochet angle set to math.pi * 2
.
{string} Parts
An array containing the names of every hitbox in a players character, ordered from most to least damage.
{Vector3} PartsSizes
An array containing the halved sizes of every hitbox in a players character, in the same order as the Parts
array.
Vector3 HitboxSize
The maximum halved size of a players character, it needs to contain the character at it's maximum arm span.