Difference between revisions of "Magnets"

From Valve Developer Community
Jump to: navigation, search
m (Added the page to categories.)
m (Cleared dead link.)
Line 10: Line 10:
[[File:blue_magnet_tutorial_2.png|200px|thumb|right|How to position.]]
==== Step 2 ====
==== Step 2 ====

Latest revision as of 09:50, 2 November 2019

How to create magnets

Pull magnet (Blue)

Step 1

How to position.

Create a prop_dynamic_override. Select World Model to models/props/magnet.mdl and set Disable Shadow to Yes.

Step 2

Create a prop_static with World Model models/props/light_rail_wall_emitter.mdl. Again, set Disable Shadow to Yes and set Pitch Yaw Roll (Y Z X) to 0 180 0.

Step 3

Create a point_spotlight with Color (R G B) 83 225 255. Set FX Amount to 128, Spotlight Length to 128 and Spotlight Width to 32.

Step 4

Create a env_citadel_energy_core with Name puzzle_energy_coreX.

X = number of magnet per level