• We have added Language Translations for French, Italian and Spanish menus, you can change your language at the bottom of every page, bottom left in the footer.
  • Spanish (Español, Latin American) translations have been added for the Forums and Resource Manager (Downloads). You can change your Language Here!

Need a special ball image

tiltjlp

PN co-founder
Would someone be able to create a ball image for me from the attached antique US penny? I need it for my current project, a nifty Trade Stimulator from the 1940s. Thanks in advance. Send the end result to zifbob1@juno.com. You will receive credit when I release the table.

John :oldman
 

Attachments

tiltjlp

PN co-founder
Need a bit more coding help with the same game. I have three kickers which I want to have a ball created and kicked from at random. Is there a way to do that. Here is the code segment.

If keycode = 25 Then
DropKicker1.CreateBall:DropKicker1.Kick 180,1
DropKicker2.CreateBall:DropKicker2.Kick 180,1
DropKicker3.CreateBall:DropKicker3.Kick 180,1
End If

Thanks . . . John :oldman
 

TomB

Pinball Nudger
You could enable the kickers timer to tick let's say once a second and in the timer routine you kick a ball out at random:

Code:
sub kicker1_timer
  kicker1.timerinterval = 1000
  if rnd < 0.25 then
    kicker1.CreateBall
    kicker1.kick 180,1 
  end if
end sub
The rnd function generates evenly distributed random values between 0 and 1. Testing against 0.25 means, the probability that a new ball is created is about 25% on each timer tick. You can experiment with the values on the attached table.
 

Attachments

tiltjlp

PN co-founder
Thanks TomB, I would nver have figured out that I needed a timer to make this work. The example table is really appreciated, since it will help me understand the inner working of the whole thing.

John
 

tiltjlp

PN co-founder
Well TomB, I tried your code, and I'm probably doing something wrong, since a ball is kicked out of each of the three kickers. And I just realized I left out some important information. My table is a one ball Trade Stimulator. Sorry, but could you adapt your code for me. What I need is for the one and only ball to drop straight down from one of three kickers placed across the top of the table.

I'm using a single key press to launch the ball, and wonder if it is possible to check for a possible ball in another kicker at the bottom of the table, from the previous game, and if it's present, destroy it before creating and launching a new ball. If the ball doesn't land in a specific kicker, but in one of several other kickers, it is destroyed to end the game. Only a winning ball remains in the bottom kicker. losing balls are destroyed. Sorry for the confusion. And no, it will not work using one kicker and having the ball kicked out in random directions.

John
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ Ike Savage:
    yessir
    Quote
  • @ JonPurpleHaze:
    OOOppppsss..
    Quote
  • @ Ike Savage:
    so you're were talking about the archived originals? on the positive side, that stuff probably doesn't take up much
    Quote
  • @ Ike Savage:
    room
    Quote
  • @ Ike Savage:
    where is the unapprove option, anyway? is that a super mod thing or something from the admin panel?
    Quote
  • @ Ike Savage:
    oh wait, I see it
    Quote
  • @ JonPurpleHaze:
    true, but they could also be invisible to users and perhaps allow the category to be removed
    Quote
  • @ JonPurpleHaze:
    Don't know, do know that if you delete a category all files would also be removed so that's bad,
    Quote
  • @ Ike Savage:
    seems like we discussed it in some length at one point and came up with the current arrangement, but I don't have a strong opinion on that stuff. the one thing I do like is that I can clear out weaker tables from the main section without deleting them
    Quote
  • @ JonPurpleHaze:
    Sounds fine to me Ike, can't disagree with ya!
    Quote
  • @ Ike Savage:
    is it that you want to declutter more of the resources section?
    Quote
  • @ JonPurpleHaze:
    No it's fine
    Quote
  • @ Ike Savage:
    also, just to be clear-- the issue with "unapprove" is that you don't know if the table actually gets deleted from the server, right? AFAIK I have no way of seeing where the tables actually lie on the server, so it's something I can't test effectively
    Quote
  • @ JonPurpleHaze:
    They wouldn't get deleted from the server, I don't think.
    Quote
  • @ JonPurpleHaze:
    Can we get back to the subdomain folders/files, the uploads.pinballnirvana.com folder is where uploads would need to be, just wondering what might need to be deleted..
    Quote
  • @ Ike Savage:
    do you mind a phone call? probably easier to discuss, save some wear and tear on my hands, too
    Quote
  • @ JonPurpleHaze:
    No problems Ike, can't talk now but will try and set this up.
    Quote
  • @ Ike Savage:
    okay, well let me know if you need space cleared up across the torrent area, because I have some ideas
    Quote
  • @ JonPurpleHaze:
    Yeah, noticed a .zip file contains many versions etc..
    Quote
  • @ JonPurpleHaze:
    Uploading a 1.34 GB Pink Floyd The Wall zip file via ftp to test...
    Quote
  • @ JonPurpleHaze:
    The file is actually on the server in FP originals but isn't public.
    Quote
  • @ Anthias:
    Um, so, Hi!. What did I miss? (he says as though he ducked to the toilet while the adds were on...)
    Quote
  • @ AnonTet:
    Hi guys, I«m asking here as it might have a quicker response. How can I check the ball size used by authors in FP? or at least the default size if anyone knows. Thanks
    Quote
  • @ Gimli:
    Most FP authors use the default size and don't know how to use BAM to alter it.
    Quote
  • @ Gimli:
    I think it may be 13.8 though
    Quote
    @ Gimli: I think it may be 13.8 though
    Top