This article's documentation is for anything that uses the Source engine. Click here for more information.

Prop physics create: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(copied the prop_dynamic_create page and edited it for prop_physics_create)
 
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:prop_physics_create}}
{{LanguageBar}}
<code>prop_physics_create</code> is a console command cheat used to spawn a {{ent|prop_physics}} in-game.
{{this is a|console command|name=prop_physics_create}}
{{Command|prop_physics_create}} is a console command cheat used to spawn a {{Ent|prop_physics}} in-game.


==Usage==
== Usage ==
Its parameter is used in the form:
Its parameter is used in the form:
<pre>prop_physics_create <.mdl name></pre>
<pre>
===Example===
prop_physics_create <.mdl name>
* prop_physics_create props/metal_box.mdl
</pre>
*: in {{portal2}}, this will spawn a cube where the player is aiming.
 
{{bug|it appears these prop_physics cannot be picked up}}
=== Example ===
==See also==
* {{Code|prop_physics_create props/metal_box.mdl}}
*{{ent|prop_dynamic_create}}
: in {{portal2}}, this will spawn a cube where the player is aiming.
*{{ent|ent_create}}, a console command that creates an entity of the given type where the player is looking.
{{Bug|it appears these prop_physics cannot be picked up}}
*{{ent|Console Command List}} list of console commands.
 
[[Category: Console Commands]]
== See also ==
* {{Command|prop_dynamic_create}}
* {{Command|ent_create}}, a console command that creates an entity of the given type where the player is looking.

Latest revision as of 09:38, 12 July 2024

English (en)Translate (Translate)

prop_physics_create is a console command available in all Source Source games. prop_physics_create is a console command cheat used to spawn a prop_physics in-game.

Usage

Its parameter is used in the form:

prop_physics_create <.mdl name>

Example

  • prop_physics_create props/metal_box.mdl
in Portal 2, this will spawn a cube where the player is aiming.
Icon-Bug.pngBug:it appears these prop_physics cannot be picked up  [todo tested in ?]

See also