Disco Floor V2
Added 2021-05-27 01:28:34 +0000 UTCScript to generate interactive disco style light up floor, with option to create custom sized floor
INCLUDED
- Disco Floor script
- Disco Floor pattern presets
INSTALLATION
Download into your VaM\AddonPackages directory
optional: Download & Uncompress image.rar in your VaM Directory.
Load Script in any plugin tab (ie. Scene Plugin)
Select Width & Length of Floor (advise not to exceed 20x20)
Press Generate Floor.
Load Preset, you have to choose AddonPackage directory and select the DiscoFloor directory and navigate to Image folder.
optional: If you downloaded & uncompressed image.rar, you can just load from the default 'Custom\Image' directory.
Move the whole thing by selecting the Cube atom.
KNOWN ISSUES
Same as v1.
The max limit for the floor size is 30x30. This does not mean you should create one that big. That's 900 lights!
Anything over the default 12x6 will risk slow downs or crashing when trying to remove the floor. Suggest starting a new scene or hard reset instead of trying to remove a big floor
You can't change the size of the cube. The size is critical for determining the grid size for loading scenes.
NOTES
The old 12x6 preset patterns still works with any floor size. They either get cropped or tilted depending on the size of the floor. You can always create new ones to match your custom sized floor.
This script should work with scene made with v1 script.
Silly mistakes in coding was a cause for delay. I kept getting weird errors so spent most of the time debugging and testing. One was changing the grid size while the floor was generated. That messed up the animation. The stupid mistake was that I set the storablefloats to equal the slider, essentially making it the slider instead of it's value that shouldn't change when floor is present.
Well trying to fix that I did mange to fix other bugs and redo some functions.
I think I got all the bugs, but if you run into any let me know.
Credits
Uses code based on HSThrowaway5's loading Preset, MacGruber's load image code & VAMDeluxe's code for spawning atoms
