Explain how to create a spinning blade contraption like the ones from the Ravenholm…
- User
Explain how to create a spinning blade contraption like the ones from the Ravenholm chapter of Half-Life 2 in the Valve Hammer Editor.
- Assistant
To create a spinning blade contraption like the ones from the Ravenholm chapter of Half-Life 2 in the Valve Hammer Editor, follow these steps:
-
Open the Valve Hammer Editor and create a new map.
-
Select the brush tool and create a platform for the spinning blade to sit on.
-
Next, create a prop_static entity from the entity tool and select the spinning blade model.
-
Place the spinning blade on the platform.
-
Create a func_rotating entity from the entity tool and place it around the blade.
-
Configure the func_rotating entity by setting the angle speed in degrees per second and the sound of blade rotation.
-
Create a trigger_once entity from the entity tool and place it in front of the spinning blade.
-
Set the trigger_once entity's target property to the func_rotating entity's name.
-
Test the map to see if the spinning blade works correctly.
-
Adjust the angle speed of the func_rotating entity to make the blade spin faster or slower, and adjust the trigger_once entity's position to control where the blade starts spinning.
-