From Valve Developer Community
Revision as of 09:50, 2 November 2019 by Jake1997 (talk | contribs) (Cleared dead link.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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