nestwhe.blogg.se

Crosshair overlay for ironsight
Crosshair overlay for ironsight






crosshair overlay for ironsight

Ang = angle_zero - Local angular translation of the viewmodel Pos = vector_origin - Local positional translation of the viewmodel DrawOverlay = false - Draw scope overlay when zoomed HideViewModel = false - Hide view model when zoomed BobCycle = 0.45 - Magnitude of the weapon bob These are seperated by primary/secondary so ironsights can lower it SWEP.RenderGroup = RENDERGROUP_OPAQUE - April 2016: "RenderGroup of SENTs and SWEPs is now defaulted to engine default unless overridden (instead of defaulting to RG_OPAQUE)" MuzzleFlashScale = 1 - Only for non-default muzzle flash Vel = 100 / 250 - Velocity at which the crosshair expands ĭelta = 3, // Distance at which the crosshair shrinks at each step Min = 4, // The minimum distance the crosshair can achieve. AccurateCrosshair = false - Moves crosshair with actual shooting position This will disable crosshair and scope drawing DrawCrosshair = true - Call DoDrawCrosshair or not. Scope style to show if the weapon is zoomed and is true ScopeStyle = "css " - Style defined by code_gs.weapons.RegsiterScope. CrosshairStyle = "default " - Style defined by code_gs.weapons.RegisterCrosshair. BobSpeed = 320 / 250 - Speed at which the bob is clamped at. BobStyle = "default " - Style defined by code_gs.weapons.RegisterBobType. ViewModelFOV = 74 - Field-of-view of the view model (how far out the viewmodel is projected) ViewModelFlip = false - Move the view model to the other side of the screen SelectionColor = Color( 255, 210, 0, 255) - Color of the font for weapon selection icons SelectionFont = "HL2Selection " - Font defined by surface.CreateFont to use for weapon selection icons SelectionIcon = 'V ' - Letter from the SelectionFont file to draw on the weapon selection panel KillIconColor = Color( 255, 80, 0, 255) - Color of the font for killicons KillIconFont = "HL2KillIcon " - Font defined by surface.CreateFont to use for killicons Letter from the KillIconFont file to draw for killicon notifications DrawAmmo = true - Draw HL2 ammo HUD when the weapon is out Category = "GS Source " - Category in the spawn menu the weapon should appear in








Crosshair overlay for ironsight