ravarcade
Pinball Wizard
- Joined
- Feb 8, 2020
- Messages
- 101
- Reaction score
- 232
- Points
- 49
- Favorite Pinball Machine
- AFM
https://www.ravarcade.pl/files/BAM-OpenVR.zip
Updated or new files: BAM.dll, renderingengine.dll,libpng16.dll, zlib.dll, ModelImporter.exe
(Update: i just uploaded version with new renderingengine.dll and without libpng16.dll and zlib.dll)
GIFs in FP
Custom models
See video:
Hide parts of FP cab
Updated or new files: BAM.dll, renderingengine.dll,
(Update: i just uploaded version with new renderingengine.dll and without libpng16.dll and zlib.dll)
- Added Gif support
- Updated custom models support
- Part of default FP cabinet can be hidden (legs, buttons, ...)
GIFs in FP
- Add gif as texture in fp texture manager.
Note 1: with this version of BAM you can do it. FP will accept GIF.
Note 2: don't try to use that GIF as texture in FP, it will not work. - Creation of GIF object in script:
Code:Dim g Set g = xBAM.LoadGIF("GifName")
- Replace exiting texture with gif:
Code:g.ReplaceTexture "einstein poster"
- Replace texture on custom model:
Code:g.ReplaceModelTexture(slug) g.ReplaceModelTexture(freddy.part(15)) ' part 15 is freddys head g.ReplaceModelTexture(slug, 1) ' replece normal map texture (diffuse texture unchanged)
- Change speed of animation:
Code:g.UpdateInterval = 40 ' 40ms -> 1000/40 = 25 FPS
- Play whole animation once:
Code:g.Frame 0, g.NumFrames-1, g.NumFrames-1
- Play in infinte loop animation:
Code:g.Frame 0, g.NumFrames-1, 0
- Set transparent color in GIF:
Code:g.SetTransparentColor 0, 254, 0 ' default transparent green color
Custom models
See video:
Hide parts of FP cab
xBAM.VisibleCabParts = 0
xBAM.VisibleCabParts = 7
Last edited: