Category:Programming: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Add link to Sound In Code)
 
(182 intermediate revisions by 78 users not shown)
Line 1: Line 1:
{{otherlang2|de=:Category:Programming:de|es=:Category:Programming:es|jp=:Category:Programming:jp|pl=:Category:Programming:pl|ru=:Category:Programming:ru|zh-cn=:Category:Programming:zh-cn}}
{{LanguageBar}}


{{seealso|For GoldSrc Programming, see [[:Category:GoldSrc Programming]]}}
{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}}
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}}


== Getting started ==
== Getting started ==
* [[Installing and Debugging the Source Code]] ''(or [[Swarm SDK Create a Mod|with Alien Swarm]])''
* [[My First Mod]] ''(or [[Swarm SDK Create a Mod]])''
* [[Using Source Control with the Source SDK]]
* [[My First Entity]]
* [[My First Mod]] ''(or [[Swarm C++ Code Overview|Alien Swarm overview]])''
* [[Your First Entity]]
*# [[Authoring a Logical Entity]]
*# [[Authoring a Logical Entity]]
*# [[Authoring a Model Entity]]
*# [[Authoring a Model Entity]]
*# [[Authoring a Brush Entity]]
*# [[Authoring a Brush Entity]]
* [[Generalities On Entities]]
* [[Generalities On Entities]]
* [[Solution Configuration setup]]
* [[Compiler choices]]


=== Compiling ===
=== Source SDK 2013 ===
* [[Compiler Choices]]
* [[Source SDK 2013 | Installing and Building]]
** [[Compiling under VS2005]]
* [[Building without Visual Studio]]
** [[Compiling under VS2008]]
* [[Setup mod on Steam]]
** [[Compiling under VS2010]]
* [[Launching from Visual Studio 2013]]
** [[Compiling under Linux]]
* [[Source SDK 2013 community repos]]
* [[Compiling under VS2022]]
* [[Fix Visual Studio Warning Level Error]]
 
=== Alien Swarm SDK ===
* [[Swarm C++ Code Overview]]
 
=== Source SDK 2007 ===
* [[Launching from Visual Studio]]
* [[Launching from Visual Studio]]
* [[Source control|Introduction to Source Control]]


== Common techniques ==
== Common techniques ==
* [[Accessing other entities]]
* [[Accessing other entities]]
* <code>[[Think()]]</code>
* <code>[[Think()]]</code>
Line 29: Line 37:
* [[Developer Console Control]]
* [[Developer Console Control]]
* [[UTIL_TraceLine|TraceLines]]
* [[UTIL_TraceLine|TraceLines]]
* [[Animating a model]]
* [[Sound In Code|Sound]]
* [[Vector]]s
* [[Vector]]s
* [[Game initialization]] (defines C++ player class, [[GameRules]], etc.)
* [[Game initialization]] (defines C++ player class, [[GameRules]], etc.)


== Abstract coding ==
== Abstract coding ==
* '''[[:Category:Abstract Coding]]'''
* [[Adding an experience system|Levels & XP]]
* [[Adding an experience system|Levels & XP]]
* [[Optimization (Programming)|Optimization]]
* [[Optimization (Programming)|Optimization]]
Line 41: Line 52:
* [[Threads]]
* [[Threads]]
* [[Save Game Files]]
* [[Save Game Files]]
* [[Class System]]
* [[Dynamic Weapon Spawns]]
* [[Dynamic Weapon Spawns (Advanced)]]


== Miscellaneous ==
== Miscellaneous ==
* [[:Category:Free source code|Free source code]]
* [[:Category:Free source code|Free source code]]
* [[First Person Ragdolls]]
* [[Gibs]]
* [[Gibs]]
* [[Camera Bob]]
* [[Player and NPC Cloak|Invisibility cloak]]
* [[Camera]]
* [[Regenerating_Health|Regenerating Health]]
* [[Regenerating_Health|Regenerating Health]]
* [[Adding Call of Duty Style Low Health Regeneration]]
* [[Fading Out NPC Ragdolls]]
* [[Adding an inventory]]
* [[Adding MySQL++]]
* [[Adding Proximity Voice]]
* [[Importing CSS Weapons Into HL2]]
* [[Hand_Viewmodels|Separate Viewmodel for Arms]]
* [[Editing VPC scripts|Edit VPC scripts]]
* [[Adding Weapon Inspect]]
* [[Adding a Camera Bone to a Viewmodel]]
* [[Viewmodel Blood Splatter Overlay]]
* [[Adding Empty Reload Animations]]
* [[Legs in Firstperson (2013)]]
* [[Forcing previous2021 Beta]]


== SDK Fixes and Tips ==
== SDK Fixes and Tips ==
* [[General SDK Snippets & Fixes]]
* [[Duck Jump Fix]]
* [[Duck Jump Fix]]
* [[Duplicate Animation Events Fix]]
* [[Duplicate Animation Events Fix]]
Line 58: Line 83:
* [[Source 2007 Template Fixes]]
* [[Source 2007 Template Fixes]]
* [[Viewmodel Prediction Fix]]
* [[Viewmodel Prediction Fix]]
* [[Client missing DT class CWaterBullet]]
* [[Detail props/Aspect ratio fix|prop_detail (Aspect Ratio Fix)]]
* [[env_projectedtexture/fixes|env_projectedtexture Fixes]]
* [[Fixing first time HL2DM compile problems]]
* [[First Person Fix]]
* [[Fixing VPK mounting for older Source SDK Bases]]


== Plugins ==
== Plugins ==
* [[Creating A New Plugin]]
* [[Client plugins]]
* [[Mani Admin Plugin]]
* [[SourceMod (server plugin)]]
* [[Server Plugins]]
* [[Server Plugins]]
* [[Developer Console Control]]
* [[Left 4 Dead Plugins]]
* [[Left 4 Dead Plugins]]
* '''[[Metamod (Source)|Metamod]]'''


== Reference ==
== Reference ==
Line 72: Line 107:
* [[:Category:Classes]]
* [[:Category:Classes]]


==Weapons==
== Weapons ==
 
* '''[[:Category:Weapons programming]]'''
* '''[[:Category:Weapons programming]]'''
* '''[[Adding a new weapon to your mod]]'''
* '''[[Authoring a weapon entity]]'''
* '''[[Authoring a weapon entity]]'''
* '''[[Adding a new weapon for your mod]]'''
* '''[[Lowering your weapon on sprint]]'''
* '''[[Lowering your weapon on sprint]]'''
* '''[[Adding New Ammotypes]]'''
* '''[[Adding New Ammotypes]]'''
** [[Ammunition#Ammunition_coding|Ammo-related coding]]
** [[Ammunition#Ammunition_coding|Ammo-related coding]]
* [[Adding Ironsights]]
* [[Weapon script]]
* [[Weapon script]]
* [[Adding a Dynamic Scope]]
* [[Adding a Dynamic Scope]]
* [[Dual Pistols (CSS Style)]]
* [[Dual Pistols (CSS Style)]]
* [[Muzzle Flash (CSS Style)]]
* [[Muzzle Flash Lighting]]
* [[Muzzle Flash Lighting]]
* [[Grapple Hook]]
* [[Grapple Hook]]
* [[Making a weapon Heal players]]
* [[Weapons on Spawn]]
* [[Battlefield Style Hitmarker]]
* [[Quick Grenade]]
* [[Changing the viewmodel bob]]
* [[Delayed Attacks]]


{{category cell|background-color=#FBF7EA|border-color=white}}
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}}


== Artificial Intelligence ==
== Artificial Intelligence ==
* '''[[:Category:AI Programming]]'''
* '''[[:Category:AI Programming]]'''
* '''[[AI Programming]]'''
* '''[[AI Programming]]'''
* [[Fixing AI in multiplayer]]
* More about AI Programming here: '''[[:Category:AI]]'''
 
{{category cell|background-color=white|border-color=white}}


== Networking ==
== Networking ==
Line 104: Line 145:
* [[Server Queries]]
* [[Server Queries]]
* [[Source RCON Protocol]]
* [[Source RCON Protocol]]
* [[Server-Side Bots|Creating server-side bots]]
{{category cell|background-color=white|border-color=white}}


== UTIL_ ==
== UTIL_ ==
Line 115: Line 153:
* [[UTIL_EntitiesInSphere]]
* [[UTIL_EntitiesInSphere]]
* [[UTIL_GetLocalPlayer]]
* [[UTIL_GetLocalPlayer]]
{{category cell|background-color=#FBF7EA|border-color=white}}


== Rendering ==
== Rendering ==
* [[Material proxies]]
* [[Material proxies]]
* [[Shader Authoring]]
* [[Shader Authoring]]
* [[Source SDK 2013: Shader Authoring]]
* [[Particles In Code|Particles]]
* [[Particles In Code|Particles]]
* [[Fading The Player In Thirdperson]]
* [[Fading The Player In Thirdperson]]
* [[Overlaying a material onto model entities]]
* [[Overlaying a material onto model entities]]
* [[L4D Glow Effect]]
* [[L4D Glow Effect]]
 
* [[TF2 Glow Effect (2013 SDK)|TF2 Glow Outline Effect]]
{{category cell|background-color=white|border-color=lightgray}}
* [[Parallax Corrected Cubemaps]]
* [[Adding_PBR_to_your_mod|Physically Based Rendering]]
* [[Adding a dynamic sky to your mod]]


== User interface (VGUI) ==
== User interface (VGUI) ==
* '''[[:Category:VGUI]]'''
* '''[[:Category:VGUI]]'''
* '''[[VGUI Documentation]]'''
* '''[[VGUI Documentation]]'''
* [[Custom_Menu_Screen|Create graphical menu (with images)]]
* [[Understanding VGUI2 Resource Files]]
* [[Understanding VGUI2 Resource Files]]
* [[Understanding VGUI2 Animation]]
* [[Understanding VGUI2 Animation]]
Line 137: Line 177:
* [[HUD Elements]] and [[Basic Hud Modification]]
* [[HUD Elements]] and [[Basic Hud Modification]]
* [[VGUI: Making GameUI Panels|Making GameUI panels]]
* [[VGUI: Making GameUI Panels|Making GameUI panels]]
* [[VGUI2: Hardcoded_Controls|Hardcoded Controls]]
* [[Models on VGUI Panels]]
* [[Models on VGUI Panels]]
* [[VGUI HTML Screen]]
* [[VGUI HTML Screen]]
* [[VGUI Creating A Custom Screen]]
* [[VGUI Screen Creation|Creating a VGUI screen]]
* [[VGUI Screen Creation|Creating a VGUI screen]]
* [[VGUI Task List|Creating a VGUI task list]]
* [[VGUI Task List|Creating a VGUI task list]]
* [[Team Icons]]
* [[VGUI Health bar|Creating a health progress bar]]
 
* [[Coded_keypad|Creating an interactive keypad at the screen]]
{{category cell|background-color=#FBF7EA|border-color=white}}
* [[Override_GameUI|Overriding the main menu with GameUI]]
* [[Animated_Menu_Background|Animated Main Menu Background]]
* [[Custom_loading_screen|Creating a custom loading screen depending on the map]]
* [[Game_Window_Cursor_Clipping|Clipping the cursor to the game window]]
* [[HL2DM_Mod_Chat_Color|Changing the default Orange color in a HL2DM Chat box]]
* [[programming/creating_vgui_soundscape_maker|Creating a VGUI Soundscape maker]]


== External libraries ==
== External libraries ==
* [[Adding Lua]]
* [[Adding Lua]]
* [[Adding Python]]
* [[Adding Python]]
* [[:Category:SourceShaderEditor|Adding the Source Shader Editor]]
* [[Embedding Lua in the Source Engine]]
* [[Embedding Lua in the Source Engine]]
* [[Implementing FMOD]]
* [[Implementing FMOD]]
* [[Implementing libcurl]]
* [[Implementing libcurl]]
 
* [[Implementing Adobe Flash]]
{{category cell|background-color=white|border-color=lightgray}}
* [[Implementing Awesomium]]
* [[Implementing Discord RPC]]
* [[Implementing Sentry]]


== Changing genres ==
== Changing genres ==
Line 159: Line 208:
* [[2D Fighter/Arcade game]]
* [[2D Fighter/Arcade game]]
* [[Over the Shoulder View]]
* [[Over the Shoulder View]]
== Multiplayer ==
* [[Team Icons]]
* [[MOTD Removal]]
* [[Death notices with custom weapons]]
* [[Alternate Multiplayer Physics]]
* [[Server-Side Bots|Creating server-side bots]]
* [[Adding the Game Instructor]]
* [[Fixing Per-Material Footsteps in HL2MP]]
* [[Fixing AI in multiplayer]]
* [[Randomizer Gamemode]]
== Alien Swarm ==
* [[Alien Swarm Glow|L4D Glow Effect in Swarm]]
* [[Swarm ThirdPersonView|Third Person View]]
* [[Swarm FirstPersonView|First Person View]]
* [[Swarm 2DArcadeSideView|2D Fighter/Arcade Game View]]
* [[Swarm C++ Code Overview]]
== Game movement and camera ==
* [[Brush ladders|Using a tool texture for ladders]]
* [[First Person Ragdolls|First Person Ragdolls in Multiplayer]]
* [[First Person Ragdolls In Singleplayer|First Person Ragdolls in Singleplayer]]
* [[Legs in Firstperson|Legs in First Person]]
* [[Camera Bob]]
* [[Camera]]
* [[View_roll|View roll]]
* [[Legs in Firstperson (2013)]]
== Vehicles ==
* '''[[:Category:Vehicle Programming]]'''
* [[Vehicles (programming)|Vehicles]]
* [[Adding Headlights to the Buggy]]
== See also ==
* [[:Category:GoldSrc Programming|Programming for GoldSRC.]]
== External links ==
* [[Programming Sites]] - sites about programming, including tutorials & articles.
{{category end}}__NOTOC__
{{category end}}__NOTOC__
{{cleanup|Merge with something or move...}}


[[Category:Modding]]
[[Category:Modding]]

Latest revision as of 16:33, 17 July 2025

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Hrvatski (hr)Italiano (it)日本語 (ja)한국어 (ko)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Українська (uk)中文 (zh)中文(臺灣) (zh-tw)Translate (Translate)
See also:  For GoldSrc Programming, see Category:GoldSrc Programming

Getting started

Source SDK 2013

Alien Swarm SDK

Source SDK 2007

Common techniques

Abstract coding

Miscellaneous

SDK Fixes and Tips

Plugins

Reference

Weapons


Artificial Intelligence

Networking

UTIL_

Rendering

User interface (VGUI)

External libraries

Changing genres

Multiplayer

Alien Swarm

Game movement and camera

Vehicles

See also

External links

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Merge with something or move...
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Subcategories

This category has the following 26 subcategories, out of 26 total.

A

B

C

E

F

H

M

N

P

R

S

U

V

Pages in category "Programming"

The following 200 pages are in this category, out of 365 total.

(previous page) (next page)
(previous page) (next page)

Media in category "Programming"

The following 2 files are in this category, out of 2 total.