Main Forum > General Discussion
Need a little help ...
Les73gTx:
I have added triggers in 4 spots around the table and it seems to work very well actually... thank you for the advice and help. :Cool: I took some ball rolling sounds from a few other tables so I had a mix of short and long ones and I was able to get most of the table covered in the Fast areas with the appropriate wav file. There seemed to be a lot of sounds missing from this table but I have added most of the ones back in using triggers ... I have one other question for you ... if I wanted to put a sound on a rubber post instead of putting a trigger down can I just name the post I want to have a sound?
example .. lets call it post1
Sub post1_Hit()
PlaySound "rubberPostHit"
End Sub
I guess the big question is ... Is there a resource guide on how to write proper commands in VP editor script and not cause errors for dummies? :Study:
Itchigo:
For posts: What I do is make a wall that extends just beyond the post. Make that wall a little bigger than the post so the ball will hit this wall and NOT the post. Make this wall not visable (uncheck). Then call it as below. The reason for this is posts are usually made of MANY objects, it's really hard to have a hit event on an object with 100 parts.
I remember downloading some stuff from vpf in terms of guides, but honestly, I'm self taught- including windows. The best way I learned was taking apart old vp8 's (not vpm).
I'll give you some basic commands:
Slingshots: Slingshot1_Slingshot()
Walls, Posts, etc: Wall1_Hit() NOTE: Collideable and has hit event have to be checked.
Triggers: Trigger1_Hit()
Here's how to use the If statements:
Sub Trigger1_Hit()
If Tilt=False Then-------------------------------------------------------------------------------
If Light1.State=1 Then ---------------------
Addscore 100
Playsound "Bell100------------------------
Else
Addscore 10----------------------------------------------
Playsound "Bell10"
End If---------------------------------------------------
End If-----------------------------------------------------------------------------------------
End Sub
Now here's how to understand this:
Trigger1 has been hit.
If Light1 Is on Score 100 and the sound, if it isn't score 10 and the sound.
This will only happen if we are not tilted.
Think of it this way. Everything between If and End If is a rule. But there can be rules between rules and I showed above.
Download my table templates from here:
http://www.pinballnirvana.com/index.php?name=UpDownload&req=viewsdownload&sid=6&min=20&orderby=titleA&show=20
They will help a lot. The one's I have here are newer and more complex.
Les73gTx:
Ok that is awesome ....I did the target before the post on a couple of these sound additions along with the other tip you gave me I believe I have something that I am proud of and want to share with the community
Thanks so much for your help Itchigo!
Itchigo:
Awesome! Anytime. Maybe I should start a script page of all the basic commands? But most of them are in the templates already too.
Navigation
[0] Message Index
[*] Previous page
Go to full version