Place the ramp where you want it to go using BAM mini playfield menu, then when its in place, Copy / paste the Move to command to your script. Save the table, then close FP and reload. If you open the bam menu again and go back to that mini playfield's setting, it may disable the physics collisions for that mini playfield, so try to avoid that while playing / testing.
For texture swapping, you need to use the PUP Plug-in's texture swap feature. It's different than the normal texture swap command because it works based on the ID of the texture image name instead of needing a FP surface / items with a name.
Code:
' ################### PUP Plug-in: Texture Swaps and Animations ##################
' - used on all objects where the normal BAM texture swapping commands won't work (like ornaments, ramps, etc)
' - can be used to swap textures with pretty much anything
' - replacement textures that are not used on any surface or object must be added to an Image Sequence (so BAM can "see" it)
' - note, that EVERY texture you are swapping (to and from) needs to use GetTextureId to fetch the texture
' - then you simply just need to use the ReplaceTexture command to replace each texture
' - keep in mind... this will replace the texture on ALL objects / surfaces that use it, so you may need uniquely named textures
' - you must SAVE the table after adding new textures before running the table or this may not work!
' - any changes made to the source texture (brightness, colour, etc) will effect the swapped out texture!
' **** Initialize the pup plug-in ****
Dim PuP_Plug_Tex
Set PuP_Plug_Tex = xBAM.Get("PuPPlugin")
If PuP_Plug_Tex Is Nothing Then AddDebugText "PuP Plugin is missing"
' swap ramp texture with new texture
PuP_Plug_Tex.ReplaceTexture PuP_Plug_Tex.GetTextureId("ramp_texture"), PuP_Plug_Tex.GetTextureId("ramp_texture_2")
' swap ramp texture back to original texture
PuP_Plug_Tex.ReplaceTexture PuP_Plug_Tex.GetTextureId("ramp_texture"), PuP_Plug_Tex.GetTextureId("ramp_texture")
Be sure you add ALL textures for the table to an Image List (I call it Textures), to allow them to be "seen" by BAM to allow the textures to be swapped. No need to apply any textures to any table items / surfaces at all for this to work, as long as you do this.