Category:Programming: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add link to Sound In Code)
 
(139 intermediate revisions by 58 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]])''
* [[Source control|Introduction to Source Control]]
* [[My First Entity]]
<!--* [[Using Source Control with the Source SDK]]-->
* [[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 31: Line 38:
* [[UTIL_TraceLine|TraceLines]]
* [[UTIL_TraceLine|TraceLines]]
* [[Animating a model]]
* [[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 48: Line 57:
== Miscellaneous ==
== Miscellaneous ==
* [[:Category:Free source code|Free source code]]
* [[:Category:Free source code|Free source code]]
* [[First Person Ragdolls]]
* [[Gibs]]
* [[Gibs]]
* [[Class System]]
* [[Player and NPC Cloak|Invisibility cloak]]
* [[Camera Bob]]
* [[Camera]]
* [[Regenerating_Health|Regenerating Health]]
* [[Regenerating_Health|Regenerating Health]]
* [[Adding Call of Duty Style Low Health Regeneration]]
* [[Fading Out NPC Ragdolls]]
* [[Fading Out NPC Ragdolls]]
* [[Adding an inventory]]
* [[Adding an inventory]]
* [[Adding MySQL++]]
* [[Adding MySQL++]]
* [[Adding Proximity Voice]]
* [[Adding Proximity Voice]]
* [[Legs in Firstperson]]
* [[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 68: Line 84:
* [[Viewmodel Prediction Fix]]
* [[Viewmodel Prediction Fix]]
* [[Client missing DT class CWaterBullet]]
* [[Client missing DT class CWaterBullet]]
* [[Detail props/Aspect ratio fix]]
* [[Detail props/Aspect ratio fix|prop_detail (Aspect Ratio Fix)]]
* [[env_projectedtexture/fixes]]
* [[env_projectedtexture/fixes|env_projectedtexture Fixes]]
* [[Fixing first time HL2DM compile problems]]
* [[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 85: 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]]
* [[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 ==
Line 106: Line 135:
* '''[[AI Programming]]'''
* '''[[AI Programming]]'''
* More about AI Programming here: '''[[:Category:AI]]'''
* More about AI Programming here: '''[[:Category:AI]]'''
{{category cell|background-color=white|border-color=white}}


== Networking ==
== Networking ==
Line 118: Line 145:
* [[Server Queries]]
* [[Server Queries]]
* [[Source RCON Protocol]]
* [[Source RCON Protocol]]
{{category cell|background-color=white|border-color=white}}


== UTIL_ ==
== UTIL_ ==
Line 128: 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]]
* [[Alien Swarm Glow|L4D Glow Effect in Swarm]]
* [[TF2 Glow Effect (2013 SDK)|TF2 Glow Outline Effect]]
 
* [[Parallax Corrected Cubemaps]]
{{category cell|background-color=white|border-color=lightgray}}
* [[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 157: Line 183:
* [[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]]
{{category cell|background-color=#FBF7EA|border-color=white}}
* [[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]]


== External libraries ==
== External libraries ==
* [[Adding Lua]]
* [[Adding Lua]]
* [[Adding Python]]
* [[Adding Python]]
Line 169: Line 201:
* [[Implementing Adobe Flash]]
* [[Implementing Adobe Flash]]
* [[Implementing Awesomium]]
* [[Implementing Awesomium]]
 
* [[Implementing Discord RPC]]
{{category cell|background-color=white|border-color=lightgray}}
* [[Implementing Sentry]]


== Changing genres ==
== Changing genres ==
Line 176: Line 208:
* [[2D Fighter/Arcade game]]
* [[2D Fighter/Arcade game]]
* [[Over the Shoulder View]]
* [[Over the Shoulder View]]
{{category cell|background-color=white|border-color=lightgray}}
== External Links ==
* [[Programming Sites]] - sites about programming, including tutorials & articles.
{{category cell|background-color=white|border-color=lightgray}}


== Multiplayer ==
== Multiplayer ==
* [[Fixing AI in multiplayer]]
* [[Team Icons]]
* [[Team Icons]]
* [[MOTD Removal]]
* [[MOTD Removal]]
* [[First Person Fix]]
* [[Death notices with custom weapons]]
* [[Death notices with custom weapons]]
* [[Alternate Multiplayer Physics]]
* [[Alternate Multiplayer Physics]]
* [[Server-Side Bots|Creating server-side bots]]
* [[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.