The Stanley Parable mod creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
2. Launch Hammer World Editor, open Options menu.
2. Launch Hammer World Editor, open Options menu.


3. Create a profile.  
3. Create a profile.
[[File:tsp_hammer_setup.jpg|300px]]
{{ExpandBox|[[File:tsp_hammer_setup.jpg|300px]]}}
{{warning|Before that you need to change Portal 2 default configuration: change Game Directory from ''$SteamUserDir\Portal 2\portal2'' to ''$SteamUserDir\Portal 2\portal2_dlc2'', because if the Hammer World Editor from Portal 2 finds a profile with the original Portal 2 folder, it will always select it.}}
{{warning|Before that you need to change Portal 2 default configuration: change Game Directory from ''$SteamUserDir\Portal 2\portal2'' to ''$SteamUserDir\Portal 2\portal2_dlc2'', because if the Hammer World Editor from Portal 2 finds a profile with the original Portal 2 folder, it will always select it.}}
4. Go to Build Programs menu and setup the settings for TSP.
4. Go to Build Programs menu and setup the settings for TSP.
[[File:tsp_hammer_build_programs_setup.jpg|300px]]
{{ExpandBox|[[File:tsp_hammer_build_programs_setup.jpg|300px]]}}
5. Press Ok or the Apply Button and restart Hammer World Editor.
5. Press Ok or the Apply Button and restart Hammer World Editor.



Revision as of 01:39, 21 April 2023

Base Information

If you want to start creating mods for The Stanley Parable, there are a few things you need to know:

  • Not all Portal 2 entities are available in The Stanley Parable.
  • Not all restrictions from Portal 2 apply to The Stanley Parable.
  • TSP has the "SMG2" weapon from The Beginners Guide. If you want to add weapons to your mod, then make it based on SMG2.
Note.pngNote:You can check this weapon if you copy the models, textures, sounds and scripts of this weapon from The Beginners Guide and paste them into TSP, and write "give weapon_smg2" in the console.

[Todo]

Hammer setup

1. Download Portal 2 Authoring Tools.

2. Launch Hammer World Editor, open Options menu.

3. Create a profile.


Tsp hammer setup.jpg
Warning.pngWarning:Before that you need to change Portal 2 default configuration: change Game Directory from $SteamUserDir\Portal 2\portal2 to $SteamUserDir\Portal 2\portal2_dlc2, because if the Hammer World Editor from Portal 2 finds a profile with the original Portal 2 folder, it will always select it.

4. Go to Build Programs menu and setup the settings for TSP.


Tsp hammer build programs setup.jpg

5. Press Ok or the Apply Button and restart Hammer World Editor.

[Todo]

External links

Compiler for IVF video format