Sights & Sniperrifles

From Valve Developer Community
Jump to: navigation, search
Abstract Coding series Discuss your thoughts - Help us develop the articles or ideas you want

Levels & XP | Optimization | Procedural Textures | Sights & Sniperrifles | Special effects | Vehicles | Threads | Save Game Files | Night Vision | Non-offensive Weapons | Dynamic Weapon Spawns | Dynamic Weapon Spawns (Advanced)

Coding

Adding a Scope
This article focuses on the VGUI element for a scope as well as directions on implementing the zoom function to the .357 Magnum.
Adding a Dynamic Scope
Creating a 3D viewmodel scope.
Adding Ironsights
How to add Wikipedia icon iron sights to your weapons
Ironsights
An alternative version