{{tag>weapon part}} {{htmlmetatags>metatag-keywords=(pac3, wiki, part, weapon) metatag-description=(Used for weapon customization.) metatag-og:title=(Weapon | Part | PAC3) metatag-og:description=(Used for weapon customization.) }} ====== Weapon ====== This part lets you customize your weapon, change its position, etc. Most of the setting are the same as the [[:part:model]] part. This part acts a bit like the [[:part:event:weapon_class]] event, attaching other parts to it will only show them with the selected [[#class]]. ===== Location ===== This part can be found under: * [[:part:entity]] -> [[:part:weapon]] {{page>:includes#location}} ===== Usage & Examples ===== ==== Basic Customization ==== * Add the [[:part:weapon]] part to your outfit * Click on (...) next to [[#class]] and select the weapon that you want to customize {{:part:weapon:magic_physgun.jpg?direct|}} ==== Weapon Position | Custom Physgun ==== Weapon position can be changed by enabling [[#override position]]. {{fa>download?color=#7ab353&fw&lg}} **Download:** {{:part:weapon:physgun_magic.txt}} {{:part:weapon:weapon_props.jpg?direct|}} ==== Weapon Attachments ==== Any other part attached to the weapon will only appear when the selected weapon is active. {{fa>download?color=#7ab353&fw&lg}} **Download:** {{:part:weapon:weapon_props.txt}} ===== Properties ===== ==== Generic ==== == name == {{section>property:name#include&inline}} == hide == {{section>property:hide#include&inline}} == override position == Allows modifying the weapon's position. == class == The weapon that you want to customize. Click on (...) to select. == is explicit == {{section>property:is explicit#include&inline}} == draw order == {{section>property:draw order#include&inline}} ==== Appearance ==== == no draw == {{section>property:no draw#include&inline}} == draw shadow == {{section>property:draw shadow#include&inline}} [[:property:draw shadow|Read More]] == translucent == --- == ignore z == {{section>property:ignore z#include&inline}} [[:property:ignore z|Read More]] == color == Color of the model in R G B format in the 0 - 1 range. Values over 1 increase brightness. == material == {{section>property:material#include&inline}} [[:property:material|Read More]] == brightness == Brightness of the model. == no lighting == Disables lights/shadows on the model. Also known as fullbright. == no culling == Forces the model to show from both sides. Also known as double face. == invert == Inverts the normals of the model. == alpha == {{section>property:alpha#include&inline}} [[:property:alpha|Read More]] == skin == Changes the skin ([[https://developer.valvesoftware.com/wiki/$texturegroup|texturegroup]]) of a model. This option appears even if the model doesn't have any additional skins. == level of detail == Overrides the **Level of Detail** of the model. Higher number means lower model quality. == eye target name == Makes the eyes follow a specified model/bone. Type the name in or click on (...)((**Right Click** on (...) to list all available options.)) to select. == no texture filtering == Disables texture filtering == blend mode == --- ==== Orientation ==== == bone == {{section>property:bone#include&inline}} == size == {{section>property:size#include&inline}} Scales the collision hull and hitboxes as well. == scale == {{section>property:scale#include&inline}} This only scales the visual model. == bone merge == --- == legacy transform == --- == aim part name == {{section>property:aim-part#include&inline}} == position == {{section>property:position#include&inline}} [[:property:position|Read More]] == angles == {{section>property:angles#include&inline}} [[:property:angles|Read More]] == eye angles == {{section>property:eye angles#include&inline}} [[:property:eye angles|Read More]] == position offset == {{section>property:position offset#include&inline}} [[:property:position offset|Read More]] == angle offset == {{section>property:angle offset#include&inline}} [[:property:angle offset|Read More]] == aim part == {{section>property:aim part#include&inline}} [[:property:aim part|Read More]] == parent == {{section>property:parent#include&inline}} ==== Bodygroups ==== This section only appears if the model has [[https://developer.valvesoftware.com/wiki/$bodygroup|bodygroups]] that can be changed. All of the available bodygroups can be changed here. ==== Submaterials ==== This section allows you to change all of the submaterials on the model. Works with in-game materials (Click (...) to select), materials created in PAC (type in the name of the material part), or texture links. Changing any material on this list disables the :material: [[:part:material#material-override]] functionality. ===== Related tutorials ===== {{topic>tutorial +model}}