SketchUp Source Tools: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Location for the Plugins changed in SketchUp 2016 (and possibly more recent older versions). Updated location. (Verified works.))
No edit summary
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{otherlang2
{{LanguageBar}}
|ru=SketchUp_Source_Tools:ru
{{update}}
}}


The SketchUp Source Tools allow you to create 3D content for the Source game  
The SketchUp Source Tools allow you to create 3D content for the Source game engine using [https://sketchup.com SketchUp by Trimble]. There are two main file format exporters: one for .VMF and one for .SMD.
engine using [http://sketchup.google.com/ Google SketchUp]. There are two main file format exporters: one for .VMF and one for .SMD.
 
== .VMF export ==
 
The .VMF export plugin allows you to export SketchUp models to Hammer, the environment
editor for the Source game engine. Hammer is used to create game levels for titles
such as Half Life, Portal, Counter Strike, Day of Defeat, and Left 4 Dead.


==VMF Export==
The VMF export plugin allows you to export SketchUp models to {{hammer|2}}.
* For more information, see [[SketchUp to Hammer Export plugin]].
* For more information, see [[SketchUp to Hammer Export plugin]].


== .SMD export ==
==SMD Export==
 
The SMD export plugin is useful for creating models for props or for making static models that can be placed in your levels.
The .SMD export plugin is useful for creating models for props or for making static  
models that can be placed in your levels.
 
* For more information, see [[SketchUp to SMD Export plugin]].
* For more information, see [[SketchUp to SMD Export plugin]].


== Installation  ==
== Installation  ==
 
1. First, download '''SketchUp'''. You can find the latest version [https://sketchup.com here].
1. First, download '''SketchUp'''. You can find the latest version [http://sketchup.google.com/download/ here].
: Note: There are multiple version of SketchUp, such as "Pro", "Studio", which offers more advanced features. The Hammertime plugin should work with either, and with any of the SketchUp releases between 5-7.
: You can use either the free version or the "Pro" version of SketchUp, which offers advanced features. The Hammertime plugin should work with either, and with any of the SketchUp releases between 5-7.


2. Install SketchUp. Launch it once, just to make sure it runs properly. If it prompts you to choose a template, any one will do. If the 3D window with a human figure comes up, you're in good shape. Go ahead and exit SketchUp so we can install the Source plugins for it.
2. Install SketchUp. Launch it once, just to make sure it runs properly. If it prompts you to choose a template, any one will do. If the 3D window with a human figure comes up, you're in good shape. Go ahead and exit SketchUp so we can install the Source plugins for it.
Line 32: Line 22:
  C:\Program Files\Valve\Steam\SteamApps\common\left 4 dead\sdk_tools\plugins\sketchup\plugins
  C:\Program Files\Valve\Steam\SteamApps\common\left 4 dead\sdk_tools\plugins\sketchup\plugins


{{note|The SketchUp plugins are not available in the Source SDK. (The folder appears but it will be empty.) SDK users should use the plugins from Left 4 Dead or Portal 2}}
{{note|The SketchUp plugins are not available in the Source SDK. (The folder appears, but it will be empty.) SDK users should use the plugins from {{l4d|2}} or {{Portal2|2}}.}}
 
{{note|Some users may need to delete and re-install the Source SDK in order to see the new plug-ins.}}
{{note|Some users may need to delete and re-install the Source SDK in order to see the new plug-ins.}}
{{note|The SketchUp plugins may appear in other tools, such as the '''Left 4 Dead 2 Authoring Tools''' and the '''Alien Swarm SDK'''.}}


{{note|The SketchUp plugins may appear in other tools such as the '''Left 4 Dead 2 Authoring Tools''' and the '''Alien Swarm SDK'''.}}
4. You'll need to copy '''all the files AND both folders''' into SketchUp's plugins folder. The exact target location depends on what version of SketchUp you have installed, as well as where you've installed it, but it's most commonly found here:


C:\Program Files (x86)\SketchUp\SketchUp (year)\Plugins


4. You'll need to copy '''all the files AND both folders''' into SketchUp's plugins folder. The exact target location depends on what version of SketchUp you have installed, as well as where you've installed it, but it's most commonly found here:
If you have a more modern version of SketchUp, then the plugins folder could be located here also.


  C:\Program Files (x86)\SketchUp\SketchUp 2016\Tools
  %APPDATA%/SketchUp/SketchUp (year)/SketchUp/Plugins


5. It's important that you have all of the following in the SketchUp plugins folder:  
5. It's important that you have all of the following in the SketchUp plugins folder:  
Line 63: Line 54:
Under the '''Plugins''' menu, there should be menu items labeled "'''Export VMF...'''" and "'''Export SMD...'''" You should be ready!
Under the '''Plugins''' menu, there should be menu items labeled "'''Export VMF...'''" and "'''Export SMD...'''" You should be ready!


== Comments and bugs ==
== Comments and Bugs ==
 
* Please send comments and feedback to [mailto:sketchuptools@valvesoftware.com sketchuptools@valvesoftware.com]
* Please send comments and feedback to [mailto:sketchuptools@valvesoftware.com sketchuptools@valvesoftware.com]


== External Links ==
== External links ==
* [http://www.maximumpc.com/article/howtos/howto_make_left_4_dead_map_google_sketchup How-To Make a Left 4 Dead Map Using Google Sketchup] (Maximum PC)
* [http://www.maximumpc.com/article/howtos/howto_make_left_4_dead_map_google_sketchup How-To Make a Left 4 Dead Map Using Google Sketchup] (Maximum PC)
* [http://www.youtube.com/watch?v=JMDNHvFF0Fo Nacimota - Using Valve's SketchUp Plugins] (YouTube)
* [http://www.youtube.com/watch?v=JMDNHvFF0Fo Nacimota - Using Valve's SketchUp Plugins] (YouTube)
* [http://www.sketchucation.com/ SketchUcation - A Resource Site for Google SketchUp]
* [https://sketchucation.com/ SketchUcation - A Resource Site for Google SketchUp]
* [http://www.leeland.net/l4d2-sketchup-faces2groups.html Sketchup - Faces 2 Extruded Groups] (Leeland.net)


[[Category:Level_Design]]
[[Category:Level Design]]
[[Category:SketchUp]]
[[Category:SketchUp]]
[[Category:Entry pages]]

Latest revision as of 12:22, 11 April 2025

English (en)Русский (ru)Translate (Translate)
Broom icon.png
This article or section needs to be updated to include current information regarding the subject.
Remember to check for any notes left by the tagger at this article's talk page.

The SketchUp Source Tools allow you to create 3D content for the Source game engine using SketchUp by Trimble. There are two main file format exporters: one for .VMF and one for .SMD.

VMF Export

The VMF export plugin allows you to export SketchUp models to Hammer Hammer.

SMD Export

The SMD export plugin is useful for creating models for props or for making static models that can be placed in your levels.

Installation

1. First, download SketchUp. You can find the latest version here.

Note: There are multiple version of SketchUp, such as "Pro", "Studio", which offers more advanced features. The Hammertime plugin should work with either, and with any of the SketchUp releases between 5-7.

2. Install SketchUp. Launch it once, just to make sure it runs properly. If it prompts you to choose a template, any one will do. If the 3D window with a human figure comes up, you're in good shape. Go ahead and exit SketchUp so we can install the Source plugins for it.

3. Next, you will need to have installed either the Left 4 Dead Authoring Tools or the Portal 2 Authoring Tools to obtain the plugins. You may find these plugins by right-clicking the tool in your Steam library, selecting properties, and clicking on the Browse Local Files... button under the Local Files tab. Alternatively, you may search manually; for the L4D Authoring Tools, the plugins can be found here:

C:\Program Files\Valve\Steam\SteamApps\common\left 4 dead\sdk_tools\plugins\sketchup\plugins
Note.pngNote:The SketchUp plugins are not available in the Source SDK. (The folder appears, but it will be empty.) SDK users should use the plugins from Left 4 Dead Left 4 Dead or Portal 2 Portal 2.
Note.pngNote:Some users may need to delete and re-install the Source SDK in order to see the new plug-ins.
Note.pngNote:The SketchUp plugins may appear in other tools, such as the Left 4 Dead 2 Authoring Tools and the Alien Swarm SDK.

4. You'll need to copy all the files AND both folders into SketchUp's plugins folder. The exact target location depends on what version of SketchUp you have installed, as well as where you've installed it, but it's most commonly found here:

C:\Program Files (x86)\SketchUp\SketchUp (year)\Plugins

If you have a more modern version of SketchUp, then the plugins folder could be located here also.

%APPDATA%/SketchUp/SketchUp (year)/SketchUp/Plugins

5. It's important that you have all of the following in the SketchUp plugins folder:

File Description
vmf_export.rbs Script file which performs vmf export.
smd_export.rbs Script file which performs smd export.
valve_sketchup_tools_config.rb User-changable configuration settings.
valve (folder) Contains required support files.
valve_library (folder) Contains examples and useful components.

6. Launch SketchUp.

Under the Plugins menu, there should be menu items labeled "Export VMF..." and "Export SMD..." You should be ready!

Comments and Bugs

External links