Moving lamp tutorial

A Tutorial for Source Engine

Hello, i will try to teach you how to make a moving lamp that you can shoot it and make it move. Let's start.

NOTE: This could work on every Source Engine game, I'm using Counter-Strike: Source for this tutorial.

First, make a "prop_physics_multiplayer" entity in the ceiling, like in the second screenshot.

After, modify the "prop_physics_multiplayer" placing a name, using the "models/props/de_prodigy/lighthanging.mdl" model, Disable shadows and done.

After, place a "phys_ballsocket" in the ceiling like in the fourth screenshot.

After you've placed the "phys_ballsocket", open Properties and place the lamp name in "Entity 1".

Place a "point_spotlight" in the bulb of the lamp, like in the sixth screenshot.

Modify the "point_spotlight" entity whatever do you like. Don't forget add the lamp name in "Parent".

After, add a "light_spot" again in the bulb of the lamp.

Again, modify the "light_spot" entity whatever do you like, but add the same color as you've placed on "point_spotlight".

Compile the map and test if works. This could work on Counter-Strike: Source like in the last screenshot.

I hope you understand it, Thanks and sorry my bad english.

Posts

  • Foofinoo avatar
    Foofinoo username pic Joined 5y ago
    Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    11,998 points Ranked 390th
    30 medals 3 legendary 6 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    Foofinoo avatar
    Foofinoo
    Cell 1 Flag
    Affiliation
    Cell 1
    1y
    Thanks, it can be really useful !!
    • Thanks x 1
    • You rock x 1
    Professional Crastination avatar
    Mantra
    Professional Crastination

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Original Authors
Matias-TM
Matias-TM Joined 4y ago
Offline
757 points Ranked 6691st
22 medals 2 legendary 3 rare
  • Returned 5000 times Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
  • Submitted 20 Maps Medal icon
  • One month a member Medal icon
Tutorial

Submitter

Matias-TM avatar
Matias-TM Joined 4y ago
Offline
757 points Ranked 6691st
22 medals 2 legendary 3 rare
  • Returned 5000 times Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
  • Submitted 20 Maps Medal icon
  • One month a member Medal icon

Matias-TM
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Genre
Mapping

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 1,187 Views
  • 1 Posts
  • 1y Submitted

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel