- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More
Submitter
SUPPORT TOPIC File Information
Download cvpmLightManager 1.1
VBScript VBS Lights Flashers VPinMAME Core
This is the cvpmLightManager script, which is designed to work in conjunction with Visual Pinball 9.x and the VPM Core Scripts. This class provides a simplified interface for automating light management. With cvpmLightManager, all you have to do is "plug in" your lights by associating the light number or solenoid in the Controller with whatever set of table lamps, flashers, alpha ramps, primitives or droppable wall arrays you desire. You can set a different fadeUp/fadeDown value for each individual lamp if you wish, and you can assign multiple lamps to the same controller index.
This script is designed to replace the numerous permutations of the "fading lamps" scripts that have cropped up in all sorts of tables. It's based largely on the excellent work done by PacDude and JPSalas.
Note that this is an early release, and there may be a few bugs lurking around in the script. I welcome feedback and updates.
Version 1.0 of this script is used in "The Machine: Bride of Pinbot" v2.03 . Version 1.1 corrects some bugs and adds support for VP Collections (using the Collection Manager).
Some notes:
* I've noticed that a number of tables use two Lights stacked on each other to provide four total images for that lamp's space. This script is designed to use just one Light and alter its OffImage property to achieve the same effect. While it takes some work to switch to this newer method, it's more efficient and easier to understand and control, and it also simplifies the overall structure of the table.
* Wall Arrays: The WallArrayLamp is designed to take a set of droppable walls that represent an animation, where only one wall in the set should be up at a time. You can provide a Collection of walls for any position in this index - all of the walls at that index will be set to the same IsDropped state. However, for more complex scripts, you may find it easier to use a script callback instead.
This script is designed to replace the numerous permutations of the "fading lamps" scripts that have cropped up in all sorts of tables. It's based largely on the excellent work done by PacDude and JPSalas.
Note that this is an early release, and there may be a few bugs lurking around in the script. I welcome feedback and updates.
Version 1.0 of this script is used in "The Machine: Bride of Pinbot" v2.03 . Version 1.1 corrects some bugs and adds support for VP Collections (using the Collection Manager).
Some notes:
* I've noticed that a number of tables use two Lights stacked on each other to provide four total images for that lamp's space. This script is designed to use just one Light and alter its OffImage property to achieve the same effect. While it takes some work to switch to this newer method, it's more efficient and easier to understand and control, and it also simplifies the overall structure of the table.
* Wall Arrays: The WallArrayLamp is designed to take a set of droppable walls that represent an animation, where only one wall in the set should be up at a time. You can provide a Collection of walls for any position in this index - all of the walls at that index will be set to the same IsDropped state. However, for more complex scripts, you may find it easier to use a script callback instead.
What's New in Version 1.1 (See full changelog)
- Initial standalone release
Other files you may be interested in ..
- 18,378 Total Files
- 57 Total Categories
- 873 Total Authors
- 25,431,439 Total Downloads
- Baseball (Gottlieb 1970)_Bigus(MOD) Latest File
- bigus1 Latest Submitter
user(s) are online (in the past 15 minutes)
members, guests, anonymous users











are all trademarks of VPFORUMS.