Jump to content



Photo
* * * * - 10 votes

The VP 10.4 beta thread


  • Please log in to reply
740 replies to this topic

#261 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 11 September 2017 - 09:41 PM

rev3207 is up:

 

- fix group elements checkbox bug

- fix stupid bug in the new bumper scatter angle handling



#262 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,522 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 11 September 2017 - 11:15 PM

windows 7 ultimate 64bit (standard HD TV)

post-73849-0-58755500-1505171578.png

Attached Files

  • Attached File  temp.png   172.05KB   15 downloads

 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#263 robertms

robertms

    Control Enthusiast

  • Members
  • PipPipPipPip
  • 620 posts
  • Location:Chicago, IL

  • Flag: United States of America

  • Favorite Pinball: Steve Ritchie designs

Posted 11 September 2017 - 11:38 PM

windows 7 ultimate 64bit (standard HD TV)

post-73849-0-58755500-1505171578.png

 

Same issue, Windows 7 for me as well.


Behold Godzilla! Check out my monster pincab project here: http://www.vpforums....topic=32236&hl=


#264 ganjafarmer

ganjafarmer

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts
  • Location:Poland

  • Flag: Poland

  • Favorite Pinball: Attack from Mars

Posted 12 September 2017 - 12:17 AM

How to use disablelighting with script?

 

Wall1.disableligting=0.1
- not working (it's set to 1 instead of 0.1)

One day i'll build Vitalik statue out of used AMD gpu's.


#265 Mark70

Mark70

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: Germany

  • Favorite Pinball: Godzilla 70th anniv. T2, Jack*Bot, ToM, ST-2013, Pinball Champ 82

Posted 12 September 2017 - 05:01 AM

"weird.. which windows version(s) do you guys have where this is shown incorrectly?"

 

Win 7 Pro



#266 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,522 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 12 September 2017 - 06:10 AM

 

How to use disablelighting with script?

Wall1.disableligting=0.1
- not working (it's set to 1 instead of 0.1)

 

 

I'm getting this same thing even when its set in the editor option menu... it is after save its reverting to "1" 


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#267 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 12 September 2017 - 08:34 AM

 

How to use disablelighting with script?

Wall1.disableligting=0.1
- not working (it's set to 1 instead of 0.1)

 

 

there is a 'h' missing, but i guess that's not it, right? ;)



#268 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 12 September 2017 - 11:27 AM


 

 

rev3198 is up:

 

- display message if touch support available for screen

small finding, the above message is also shown in my cab which has no touch screen

 

 

weird.. which windows version(s) do you guys have where this is shown incorrectly?

 

 

this should vanish with the next build, if not, please complain again!  :)


Edited by toxie, 12 September 2017 - 11:28 AM.


#269 ganjafarmer

ganjafarmer

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts
  • Location:Poland

  • Flag: Poland

  • Favorite Pinball: Attack from Mars

Posted 12 September 2017 - 03:33 PM

 

 

How to use disablelighting with script?

Wall1.disableligting=0.1
- not working (it's set to 1 instead of 0.1)

 

 

there is a 'h' missing, but i guess that's not it, right? ;)

 

 

It's working if i set 0.1 from GUI but it's not working when i change it with script. Tried with different objects. No luck.


One day i'll build Vitalik statue out of used AMD gpu's.


#270 cyberpez

cyberpez

    Enthusiast

  • Silver Supporter
  • 394 posts

  • Flag: United States of America

  • Favorite Pinball: Back to the Future

Posted 12 September 2017 - 04:37 PM

 

 

 

How to use disablelighting with script?

Wall1.disableligting=0.1
- not working (it's set to 1 instead of 0.1)

 

 

there is a 'h' missing, but i guess that's not it, right? ;)

 

 

It's working if i set 0.1 from GUI but it's not working when i change it with script. Tried with different objects. No luck.

 

 

I think it should work?  I'm using it that way in a couple tables..  but also using this...   :unknw:

 

a.BlendDisableLighting = .33


Edited by cyberpez, 12 September 2017 - 04:37 PM.


#271 ganjafarmer

ganjafarmer

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts
  • Location:Poland

  • Flag: Poland

  • Favorite Pinball: Attack from Mars

Posted 12 September 2017 - 05:51 PM

a.BlendDisableLighting=.33

 

Thanks man, it's working.


One day i'll build Vitalik statue out of used AMD gpu's.


#272 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 13 September 2017 - 09:08 AM

True.. The old setting was kept around like-is for backwards compatibility reasons..



#273 alulabxxx

alulabxxx

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: Italy

  • Favorite Pinball: terminator

Posted 13 September 2017 - 10:42 AM

Question. If i go in global Physics option and Exit from it, when i open menu again almost all settings go to 0 instead their previous value. It's an error? how can i fix? 



#274 sliderpoint

sliderpoint

    Pinball Fan

  • Members
  • PipPipPipPip
  • 760 posts
  • Location:Spokane, WA

  • Flag: United States of America

  • Favorite Pinball: Metallica

Posted 13 September 2017 - 02:29 PM

Seems we buzzed by mine and Joes mouse control questions (page 12).  Are those even feasible?  

 

thx

-Mike



#275 Schlabber34

Schlabber34

    Enthusiast

  • Members
  • PipPipPip
  • 311 posts

  • Flag: Germany

  • Favorite Pinball: High Speed

Posted 13 September 2017 - 04:15 PM

I saved a table with "Test Desktop" checked by accident. Now i can't save the table with it unchecked. Tried several times and yes i did save the table right after unchecking. The drop down menu "Mode" is also not saveing. It stays on "Desktop". Both are in the Backdrop options.

 

Did i mention that you guys are heroes?  :love39:

 

rev3207!!


Edited by Schreibi34, 13 September 2017 - 04:16 PM.


#276 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 14 September 2017 - 12:00 AM

Schreibi34 - The default setting for "Test Desktop" is controlled in Preferences->Video "Use Always FS Backdrop Settings"



Question for modifying VP. I want to add a new method to pintable.cpp/h, similar to get_WindowWidth. Let call it, get_Foo(). I modified pintable.cpp and .h appropriately. It builds fine, but do I need to define it somewhere else also for it to be available? In the debugger window, I can print WindowWidth, but if I try to print Foo, it does not work

Edited by gtxjoe, 14 September 2017 - 12:00 AM.


#277 Schlabber34

Schlabber34

    Enthusiast

  • Members
  • PipPipPip
  • 311 posts

  • Flag: Germany

  • Favorite Pinball: High Speed

Posted 14 September 2017 - 05:06 AM

Oh please tell me that i didn't forget to revert this back! Thanks, i'll check this in the afternoon! :surprise:



#278 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 14 September 2017 - 12:40 PM

Schreibi34 - The default setting for "Test Desktop" is controlled in Preferences->Video "Use Always FS Backdrop Settings"



Question for modifying VP. I want to add a new method to pintable.cpp/h, similar to get_WindowWidth. Let call it, get_Foo(). I modified pintable.cpp and .h appropriately. It builds fine, but do I need to define it somewhere else also for it to be available? In the debugger window, I can print WindowWidth, but if I try to print Foo, it does not work

 

It's not that easy to add to add a new function to the COM scripting host. You have to do the following:

1. open vpinball.idl and search for the interface that you would like to add a new function. In your example it's "interface ITableGlobal". At the end of that section add a new line 

    [propget, id(xxx), helpstring("property Foo")] HRESULT foo([out, retval] int *pVal);

   where xxx must be a unique ID that isn't in use by other items in that interface

2. Now open pintable,h and add search for the class definition "class ScriptGlobalTable" and add STDMETHOD(get_foo)(/*[out, retval]*/ int *pVal);

3. Now open pintable.cpp and add

 
STDMETHODIMP ScriptGlobalTable::get_foo(int *pVal)
{
   /* add your code here */
   return S_OK;
}
 

That's it ;)



#279 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 14 September 2017 - 01:40 PM

And if it seems to be useful for others, too, please send us a patch of your changes..



#280 Schlabber34

Schlabber34

    Enthusiast

  • Members
  • PipPipPip
  • 311 posts

  • Flag: Germany

  • Favorite Pinball: High Speed

Posted 14 September 2017 - 02:18 PM

I'm  a dummy! gtxjoe was right. Table saved correctly now! Sorry for wasting your time! :facepalm: