Skip to content
github-actions[bot] edited this page Jul 24, 2026 · 14 revisions

Parts Reference

Reference for the PART table you register with TARDIS:AddPart(). Part files live in lua/tardis/parts/ and part IDs must be lowercase. A few fields below are not yours to set: exterior, interior, parent, o, Control, pos, ang and static are injected by the part system at runtime, and UseBasic / PreDraw / PostDraw are optional non-engine hooks you can define (the engine Initialize / Think / Use / Draw / OnRemove come from Entity). For a walkthrough, see Parts.

gmod_tardis_part

Extends Entity, base_wire_entity, base_gmodentity.

Used in tardis_part_original, tardis_control, tardis_sequence_step.

Field Type Required Description
ID string? No
Name string? No
Model string? No
AutoSetup boolean? No
AutoPosition boolean? No
Collision boolean? No
CollisionUse boolean? No
PortalNoCollide boolean? No
NoStrictUse boolean? No
ShouldTakeDamage boolean? No
BypassIsomorphic boolean? No
Motion boolean? No
StartFrozen boolean? No
ResetPositionOnUse boolean? No
UnfreezeHint boolean? No
EnabledOnStart boolean? No
PowerOffUse boolean? No
HasUse boolean? No
HasUseBasic boolean? No
Animate boolean? No
AnimateSpeed number? No
AnimateOptions tardis_part_animation? No
ExtraAnimations table<string,tardis_part_animation>? No
animation tardis_part_animation_state? No
Sound string? No
SoundOn string? No
SoundOff string? No
SoundNoPower (false|string)? No
SoundOnNoPower string? No
SoundOffNoPower string? No
SoundLoop string? No
SoundLoopVolume number? No
SoundStop string? No
SoundPos Vector? No
PowerOffSound boolean? No
ClientThinkOverride boolean? No
ClientDrawOverride boolean? No
ShouldDrawOverride boolean? No
Translucent boolean? No
CustomAlpha boolean? No
NoShadow boolean? No
NoShadowCopy boolean? No
NoCloak boolean? No
NoDraw boolean? No
InvisibleFade boolean? No
InvisibleCollision boolean? No
FadeSpeed number? No
Scale number? No
InteriorPart boolean? No
ExteriorPart boolean? No
AllowThroughPortals boolean? No
DrawThroughPortal boolean? No
ShadowCollision boolean? No
ShadowPending boolean? No
ShadowLocalPos Vector? No
ShadowLocalAng Angle? No
LastShadowTarget Vector? No
exterior gmod_tardis Yes
interior gmod_tardis_interior Yes
parent (gmod_tardis|gmod_tardis_interior) Yes
o tardis_part_original Yes
Control string Yes
Pos Vector Yes
Ang Angle Yes
static boolean? No
Invisible boolean? No
Enabled boolean? No
MatrixScale Vector? No
Exteriors table<string,table>? No
Interiors table<string,table>? No
UseTransparencyFix boolean? No
Use (fun(self: gmod_tardis_part, activator: Player, caller: Entity?, useType: number?, value: number?))? No
UseBasic (fun(self: gmod_tardis_part, activator: Player))? No
PreDraw (fun(self: gmod_tardis_part))? No
PostDraw (fun(self: gmod_tardis_part))? No
OnBodygroupChanged (fun(self: gmod_tardis_part, bodygroup: number, value: number))? No

tardis_part_animation

Used in gmod_tardis_part.

Field Type Required Description
Type string? No
MaxPos number? No
MinPos number? No
StartPos number? No
Speed number? No
PoseParameter string? No
StopAnywhere boolean? No
NoDirectionChange boolean? No
NoPowerFreeze boolean? No
ReturnAfterStop boolean? No
SpeedOverrideFunc (function)? No
ConditionFunc (function)? No
CustomAnimationFunc (function)? No

tardis_part_animation_state

Used in gmod_tardis_part.

Field Type Required Description
type string Yes
max number Yes
min number Yes
pos number Yes
speed number Yes
pose_param string Yes
stop_anywhere boolean? No
constant_dir boolean? No
no_power boolean? No
should_return boolean? No
speed_override_func (function)? No
condition_func (function)? No
custom_func (function)? No

tardis_part_original

The original SENT methods, saved by SetupOverrides before they are wrapped.

Used in gmod_tardis_part.

Field Type Required Description
Initialize fun(self: gmod_tardis_part) Yes
Think fun(self: gmod_tardis_part) Yes
Draw fun(self: gmod_tardis_part, flags: number?) Yes
Use fun(self: gmod_tardis_part, activator: Entity, caller: Entity?, useType: number?, value: number?) Yes

Clone this wiki locally