{{tag>entity legacy part}} ===== Entity ===== **Location(s)**: :entity: **Entity** **Info**: Allows you to control your entity. You can switch your player model to a different one or change it's properties (e.g. size, color, transparency). This part only supports in-game models, if you want to use a custom one check Entity2 ---- ==== Basic usage: ==== - Add :entity: **Entity** part. - Tweak the settings however you like. Do not use more than one :entity: **Entity** part in your outfit, it will most likely cause problems. {{ :tutorial:part_thumbnails:sm7wwnn8gl.mp4?117x200}} ---- ==== Related commands: ==== |pac_modifier_model| 1/0 (1) | Enables/Disables entity changes. | |pac_modifier_size| 1/0 (1) | Enables/Disables size changes. | |pac_enable_entity| 1/0 (1) | Enables/Disables the entity part. | ---- ==== Properties ==== ^generic^^ |**{{anchor:name}}[[#name]]** | Name of the part. Player name by default. | |**{{anchor:hide}}[[#hide]]**| Hides (disables) the part. | |**{{anchor:model}}[[#model]]**| Model that you want to use as your entity. | |**{{anchor:material}}[[#material]]**| Material that you want to use. This replaces ALL materials on your models, if you want to replace individual materials see [[part:submaterial:]]| |**{{anchor:hide-entity}}[[#hide entity]]**| Hides your entity. This can cause problems, if you want to make your entity invisible set **alpha** to **0** instead. | |**{{anchor:draw-weapon}}[[#draw weapon]]**| Shows your guns. Can cause conflicts with other parts that do the same thing if you try to disable it, consider using :event: **[[/part/event#weapon-class | Weapon Class]]** event or :model: weapon part instead. | |**{{anchor:mute-sounds}}[[#mute sounds]]**| ??? | |**{{anchor:allow-ogg-when-muted}}[[#allow ogg when muted]]**| ??? | |**{{anchor:hide-bullets}}[[#hide bullets]]**| ??? | |**{{anchor:draw-player-on-death}}[[#draw player on death]]**| ??? | |**{{anchor:hide-physgun-beam}}[[#hide physgun beam]]**| Hides the beam of your Physics Gun. | |**{{anchor:use-legacy-scale}}[[#use legacy scale]]**| ??? | |**{{anchor:is-explicit}}[[#is explicit]]**| Marks this part as explicit. Players using **''pac_hide_disturbing 1''** won't be able to see it. | ^appearance^^ |**{{anchor:color}}[[#color]]**| Color of your entity. White by default. | |**{{anchor:brightness}}[[#brightness]]**| Brightness of your entity. **1** by default. | |**{{anchor:alpha}}[[#alpha]]**| Transparency of your entity. **1** is fully visible, **0** fully transparent. Set it to **0.999** if you're using transparent textures. | |**{{anchor:fullbright}}[[#fullbright]]**| Ignores lighting information. | |**{{anchor:draw-order}}[[#draw order]]**| ??? | |**{{anchor:translucent}}[[#translucent]]**| ??? | |**{{anchor:invert}}[[#invert]]**| Inverts the normals of the model. | |**{{anchor:double-face}}[[#double face]]**| Renders polygons from both sides (no culling) | |**{{anchor:skin}}[[#skin]]**| Changes the skin of your model (if available). | |**{{anchor:draw-shadow}}[[#draw shadow]]**| Renders the shadow of you player model. | |**{{anchor:lod-override}}[[#lod override]]**| Forces a Level of Detail (if available). | |**{{anchor:ignore-z}}[[#ignore z]]**| Ignores depth buffer. Renders the entity on top of everything else. | |**{{anchor:no-texture-filtering}}[[#no texture filtering]]**| Disables texture filtering. | |**{{anchor:blend-mode}}[[#blend mode]]**| ??? | ^movement^^ |**{{anchor:sprint-speed}}[[#sprint speed]]**| Sprinting (**''W''** + **''Shift''**) speed of your entity. You can only **decrease** your speed, to increase it see [[/part/player-movement]]. **0** means unchanged. Default is **400**.| |**{{anchor:run-speed}}[[#run speed]]**| Default (**''W''**) speed of your entity. You can only **decrease** your speed, to increase it see [[/part/player-movement]]. **0** means unchanged. Default is **200**.| |**{{anchor:walk-speed}}[[#walk speed]]**| Walking (**''W''** + Walk key) speed of your entity. You can only **decrease** your speed, to increase it see [[/part/player-movement]]. **0** means unchanged. Default is **100**.| |**{{anchor:crouch-speed}}[[#crouch speed]]**| Crouch walking (**''W''** + **''Ctrl''**) speed of your entity. You can only **decrease** your speed, to increase it see [[/part/player-movement]]. **0** means unchanged. Default is **60**.| ^orientation^^ |**{{anchor:aim-part-name}}[[#aim part name]]**| Rotates your entity towards a given target. Only works when position is different from **''0, 0, 0''**. | |**{{anchor:bone}}[[#bone]]**| Moves your entity to a given bone. Only works when position is different from **''0, 0, 0''**. | |**{{anchor:position}}[[#position]]**| Moves your entity on each axis (**X**, **Y**, **Z**). | |**{{anchor:angles}}[[#angles]]**| Rotates your entity on each axis (**X**, **Y**, **Z**). | |**{{anchor:eye-angles}}[[#eye angles]]**| Sets your entity to follow eye angles. | |**{{anchor:size}}[[#size]]**| Changes the size of your entity. | |**{{anchor:scale}}[[#scale]]**| Changes the scale of your entity on each axis. (**X**, **Y**, **Z**). | |**{{anchor:parent-name}}[[#parent name]]**| Parent of this part. | ^behavior^^ |**{{anchor:relative-bones}}[[#relative bones]]**| ??? | |**{{anchor:weapon}}[[#weapon]]**| Affects your weapon instead of your player model? Doesn't seem to work properly, use [[/part/weapon]] instead. | |**{{anchor:inverse-kinematics}}[[#inverse kinematics]]**| Enables inverse kinematics. Doesn't seem to work. | |**{{anchor:mute-footsteps}}[[#mute footsteps]]**| Mutes footstep sounds. Doesn't seem to work. | |**{{anchor:suppress-frames}}[[#suppress frames]]**| ??? | |**{{anchor:animation-rate}}[[#animation rate]]**| Changes your animation rate. | |**{{anchor:fall-apart-on-death}}[[#fall apart on death]]**| Drops all your parts onto the ground on death. | |**{{anchor:hide-ragdoll-on-death}}[[#hide ragdoll on death]]**| Hides your ragdoll on death. | |**{{anchor:eye-target-name}}[[#eye target name]]**| Aims your character eyes at a given target. |