The Game Modding Community - Since 2001

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

  • 10mo
    Foofinoo avatar
    Foofinoo username pic Joined 4y ago
    Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    11,246 points Ranked 408th
    28 medals 3 legendary 5 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
    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
755 points Ranked 6557th
21 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
755 points Ranked 6557th
21 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!
Sign up to access this!

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Genre
Mapping

Share

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

Stats

  • 1,004 Views
  • 1 Posts
  • 10mo Submitted

Scores

  • Not yet rated
Sign up to access this!

SEX! Ok, we got your attention. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel