Register    Login    Forum    FAQ    PinSimDB.org

Board index » PinSimDB.org & GoPinball.com sites » Bug report and feature requests




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: ROTATION WTF?
 Post Posted: Fri Mar 17, 2017 7:34 pm 
Offline

Joined: Tue May 01, 2012 11:13 pm
Posts: 235
Location: Abbotsford
Your Right Steve. weird, it did do it, now it doesn't.
Anyway, the thing is that FP does recognize these commands without errors, even if they don't work. Maybe the script is loaded in first before the exe to assign values? If so, then why does rotation work? Was it something Black had already put in to set up but forgot about it?

Here at the very least are the Surface Commands, none of these cause a script error at all, it was just trial and error with the variables.

'Stuff that FP reconizes but not doing anything

'Surface1.DisplayTopTexture=1 ' Flag to display image in editor 1=on, 0 = off
'Surface1.TopColour ="200,0,0" ' change top color. not working so far
'Surface1.TopImage="autoplunger" ' Change image, not working so far
'Surface1.SideColour="224,0,0"
'Surface1.SideImage="autoplunger"
'Surface1.HeightTop= 200 ' and HeightBottom Not Working
'Surface1.MaterialType = Metal ' Metal = 0,Wood = 1, Plastic = 2,Rubber = 3
'Surface1.Playfield=1 ' On/Off Flag for surface as a playfield
'Surface1.Reflection=0
'Surface1.HasHitEvent=TRUE
'Surface1.Transparency=1 ' 0 =off (Solid 1=transparency (set in editor)

_________________
_____________________________________

Latest projects and rants at My Facebook Page
_____________________________________

Latest Project: FPx Template Engine


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Fri Mar 17, 2017 10:39 pm 
Offline
User avatar

Joined: Mon Feb 27, 2012 10:39 am
Posts: 1867
with the help of a special friend...

LeftSlingshotSurface.SphereMapTop=true
LeftSlingshotSurface.SphereMapTop=false
LeftSlingshotSurface.SphereMapSide=false
LeftSlingshotSurface.SphereMapSide=true


apply it to flippers (left/right) and see what happen!

...toggling spheremap

_________________
add me to SKYPE : steve.paradis49


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Fri Mar 17, 2017 11:57 pm 
Offline

Joined: Tue May 01, 2012 11:13 pm
Posts: 235
Location: Abbotsford
I didn't do spheremap. :)

I have a mostly complete list of script commands, not hard to get. I think a lot of these are for VBScript, while FP is written in C, and it has to be "Translated" in the source code to work. Mind you, this is way above my pay level, just a guess.

_________________
_____________________________________

Latest projects and rants at My Facebook Page
_____________________________________

Latest Project: FPx Template Engine


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Sun Mar 26, 2017 10:27 am 
Offline

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 207
Would it be possible to use the newly discovered commands to move "ornaments" for animations or effects. I recently read about Russell updating his Star Trek (STERN) table and saying that he can't have the Vengeance ship move now (he wanted new lighting effects with the newer model) because its an ornament...


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Sun Mar 26, 2017 1:43 pm 
Online

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 1683
Location: Ontario, Canada
Try BAM use miniplayfield function to animate ornaments
I can help with that..


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Sun Mar 26, 2017 10:04 pm 
Offline

Joined: Tue May 01, 2012 11:13 pm
Posts: 235
Location: Abbotsford
The best way to find out is to try it. there appears to be a rotation command for Ornaments. Steve didn't do that one, so we don't know.

_________________
_____________________________________

Latest projects and rants at My Facebook Page
_____________________________________

Latest Project: FPx Template Engine


Top 
 Profile  
 
 Post subject: Re: ROTATION WTF?
 Post Posted: Thu Apr 13, 2017 12:47 pm 
Online

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 1683
Location: Ontario, Canada
HappyCab wrote:
with the help of a special friend...

apply it to flippers (left/right) and see what happen!

...toggling spheremap


What happens Steve. I tried
If (KeyCode = GetKeyCode(LeftFlipperKey)) Then LeftFlipper.SphereMapTop=true
and
If keycode = 44 then LeftFlipper.SphereMapTop=true:RightFlipper.SphereMapTop=true


and it crashed? ;)


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

Board index » PinSimDB.org & GoPinball.com sites » Bug report and feature requests


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: