Category:Programming: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(tweaks)
(Add link to Sound In Code)
 
(283 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
__NOTOC__
{{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=6|width=50%|background-color=#F7F7F7|border-color=lightgray}}
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}}


== Basics ==
== Getting started ==
* [[Installing and Debugging the Source Code]]
* [[My First Mod]] ''(or [[Swarm SDK Create a Mod]])''
* [[Developer Console Control]]
* [[My First Mod]]
* [[My First Entity]]
* [[My 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]]
* [[Think()]]
* [[TraceLines|Using traceLines]]
* [[Generalities On Entities]]
* [[Generalities On Entities]]
* [[Projectile based Weapons]]
* [[Solution Configuration setup]]
* [[Compiler choices]]
 
=== Source SDK 2013 ===
* [[Source SDK 2013 | Installing and Building]]
* [[Building without Visual Studio]]
* [[Setup mod on Steam]]
* [[Launching from Visual Studio 2013]]
* [[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]]
* [[Source control|Introduction to Source Control]]


== Compiling ==
== Common techniques ==
* [[Compiler Choices]]
* [[Accessing other entities]]
* [[Compiling under VS2005]]
* <code>[[Think()]]</code>
* [[Compiling under VS2008]]
* <code>[[Create()]]</code>
* [[Compiling under Linux]]
* [[Developer Console Control]]
* [[UTIL_TraceLine|TraceLines]]
* [[Animating a model]]
* [[Sound In Code|Sound]]
* [[Vector]]s
* [[Game initialization]] (defines C++ player class, [[GameRules]], etc.)


== APIs ==
== Abstract coding ==
* [[:Category:Interfaces|Interfaces]]
* '''[[:Category:Abstract Coding]]'''
* [[Adding an experience system|Levels & XP]]
* [[Optimization (Programming)|Optimization]]
* [[Procedural Textures]]
* [[Scopes & Sniperrifles]]
* [[Special effects]]
* [[Vehicles (programming)|Vehicles]]
* [[Threads]]
* [[Save Game Files]]
* [[Dynamic Weapon Spawns]]
* [[Dynamic Weapon Spawns (Advanced)]]


== Miscellaneous ==
== Miscellaneous ==
* [[Shader Authoring]]
* [[:Category:Free source code|Free source code]]
* [[Using Source Control with the Source SDK]]
* [[Gibs]]
* [[First Person Ragdolls]]
* [[Player and NPC Cloak|Invisibility cloak]]
* [[Clip style reloads]]
* [[Regenerating_Health|Regenerating Health]]
* [[Dual Pistols (CSS Style)]]
* [[Adding Call of Duty Style Low Health Regeneration]]
* [[Team Icons]]
* [[Fading Out NPC Ragdolls]]
* [[Adding a Dynamic Scope]]
* [[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]]


== Artificial intelligence ==
== SDK Fixes and Tips ==
* [[AI Programming]]
* [[General SDK Snippets & Fixes]]
* [[Fixing AI in multiplayer]]
* [[Duck Jump Fix]]
* [[Duplicate Animation Events Fix]]
* [[Weapon Respawn Fix]]
* [[Source SDK missing files]]
* [[Source 2007 Template Fixes]]
* [[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]]
* '''[[Metamod (Source)|Metamod]]'''
 
== Reference ==
* [[Programming Sites]]
* [[Engine Structure]]
* [[Frame Order]]
* [[:Category:Interfaces]]
* [[:Category:Functions]]
* [[:Category:Classes]]
 
== Weapons ==
* '''[[:Category:Weapons programming]]'''
* '''[[Adding a new weapon to your mod]]'''
* '''[[Authoring a weapon entity]]'''
* '''[[Lowering your weapon on sprint]]'''
* '''[[Adding New Ammotypes]]'''
** [[Ammunition#Ammunition_coding|Ammo-related coding]]
* [[Adding Ironsights]]
* [[Weapon script]]
* [[Adding a Dynamic Scope]]
* [[Dual Pistols (CSS Style)]]
* [[Muzzle Flash (CSS Style)]]
* [[Muzzle Flash Lighting]]
* [[Grapple Hook]]
* [[Making a weapon Heal players]]
* [[Weapons on Spawn]]
* [[Battlefield Style Hitmarker]]
* [[Quick Grenade]]
* [[Changing the viewmodel bob]]
* [[Delayed Attacks]]


{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}


== Abstract coding ==
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}}
{{abstract coding ideas}}


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


== Networking ==
== Networking ==
Line 58: Line 145:
* [[Server Queries]]
* [[Server Queries]]
* [[Source RCON Protocol]]
* [[Source RCON Protocol]]
* [[Server-Side Bots|Creating server-side bots]]


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


== User interface (VGUI) ==
== User interface (VGUI) ==
* [[VGUI Documentation]]
* '''[[:Category:VGUI]]'''
* '''[[VGUI Documentation]]'''
* [[Custom_Menu_Screen|Create graphical menu (with images)]]
* [[Understanding VGUI2 Resource Files]]
* [[Understanding VGUI2 Animation]]
* [[VGUI2 Programming Best Practices]]
* [[VGUI2 Programming Best Practices]]
* [[HUD Elements]], [[Basic Hud Modification]]
* [[GameUI]]
* [[Adding Your Logo to the Menu]]
* [[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 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]]
* [[VGUI Health bar|Creating a health progress bar]]
* [[Coded_keypad|Creating an interactive keypad at the screen]]
* [[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]]


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


== Changing genres ==
== Changing genres ==
* [[Third Person Camera]]
* [[Third Person Camera]]
* [[2D Fighter/Arcade game]]
* [[2D Fighter/Arcade game]]
* [[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.]]


{{category end}}
== External links ==
* [[Programming Sites]] - sites about programming, including tutorials & articles.


{{otherlang:en}}
{{category end}}__NOTOC__
{{otherlang:en:de|:Category:Programming:de}},
{{cleanup|Merge with something or move...}}
{{otherlang:en:es|:Category:Programming:es}},
{{otherlang:en:jp|:Category:Programming:jp}},
{{otherlang:en:pl|:Category:Programming:pl}},
{{otherlang:en:ru|:Category:Programming:ru}},
{{otherlang:en:zh-cn|:Category:Programming:zh-cn}}.


[[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.