Can someone help with a turbo for car when i preess z
This forum is now archived!
- Welcome to the archive!
News:
The 3DRad community can be found at classdev.net.
- 3D Rad - Free 3D game maker - Forum >
- General Category >
- 3D Rad - Optimization Tips >
- Scripting turbo
Author Topic: Scripting turbo (Read 2282 times)
jestermon
No script needed.
1.. Middle mouse click on the car, so that you get it's true location and orientation (the body, not one of the wheels)
2.. Add a force object, and link it to the car
3.. In the Force dialog, select the car as the 'Recipient
4.. Check the 'Local orientation' Check-box in the Force dialog
5.. Set a force 'intensity' that you wish to apply as Turbo - Play with this value
6.. Set the timer (in seconds) in the Force dialog to the time the Force must be active, from firing
7.. Add an EventOnInput
8.. Link the EOI to the Force
9.. Ensure 'Start on Input' is selected for the Force, in the EOI dialog
10. Choose the trigger key for the Input from the 'Input Control' drop down list (Z is 4th from the top)
11.. Zoom zoom.
Oops: I typed the script in invisible ink, hope you can read it.
1.. Middle mouse click on the car, so that you get it's true location and orientation (the body, not one of the wheels)
2.. Add a force object, and link it to the car
3.. In the Force dialog, select the car as the 'Recipient
4.. Check the 'Local orientation' Check-box in the Force dialog
5.. Set a force 'intensity' that you wish to apply as Turbo - Play with this value
6.. Set the timer (in seconds) in the Force dialog to the time the Force must be active, from firing
7.. Add an EventOnInput
8.. Link the EOI to the Force
9.. Ensure 'Start on Input' is selected for the Force, in the EOI dialog
10. Choose the trigger key for the Input from the 'Input Control' drop down list (Z is 4th from the top)
11.. Zoom zoom.
Oops: I typed the script in invisible ink, hope you can read it.
Here's a sample project with 2 examples of a "turbo/boost" - one uses a Force and EventOnInput(basically how jestermon instructed) and the other uses the Acceleration OUT_ parameter for the car.
There's probably a few more ways or variations to 'fake' a turbo effect, but here's a 2-4-1 from me.
I used version 7.03b for the demo
There's probably a few more ways or variations to 'fake' a turbo effect, but here's a 2-4-1 from me.
I used version 7.03b for the demo
No script needed.I was gonna say
1.. Middle mouse click on the car, so that you get it's true location and orientation (the body, not one of the wheels)
2.. Add a force object, and link it to the car
3.. In the Force dialog, select the car as the 'Recipient
4.. Check the 'Local orientation' Check-box in the Force dialog
5.. Set a force 'intensity' that you wish to apply as Turbo - Play with this value
6.. Set the timer (in seconds) in the Force dialog to the time the Force must be active, from firing
7.. Add an EventOnInput
8.. Link the EOI to the Force
9.. Ensure 'Start on Input' is selected for the Force, in the EOI dialog
10. Choose the trigger key for the Input from the 'Input Control' drop down list (Z is 4th from the top)
11.. Zoom zoom.
Oops: I typed the script in invisible ink, hope you can read it.
How many ways can you peel an orange?
Don't answer that - It's a comparison.
if i give the orange to my feet after school it will peel it self
How many ways can you peel an orange?
Don't answer that - It's a comparison.
if i give the orange to my feet after school it will peel it self
well that made sense
jestermon
The Force object doesnt work.Any Jedi master will argue that the force does indeed work.
if i crash and roll i fly into space
If the force is always on, and it is set too high, then you actually have a jet engine. A car with a jet engine is supposed to fly.
Set the force value lower, and make sure you set the Force timer to a small timeout value .. say 1 - 3 seconds. Also make sure the force is not "working at start", and start the force with some event such as an Input.
If all else fails, review the StarWars manuals about how to use the force.
(In other words, click on the HELP button, on the Force dialog screen)
Edit:
Ok, here's your Christmas gift.
Tweaking.. that's the secret of a great game. Tweak everything till it works exactly as you want it to. So here's a little project, to get you started. You hit Left-Ctrl to zoom. You can change it to Z or anything you wish. Play around with the force value, and the timeout value, till you get what you need. Look at all the settings and links, and refer to my first post, to see how everything is put together.
I've set the force a little too high (15000, 2 seconds), so that it really zooms, and spins out of control if you turn. Somewhere between (9000, 1.2) and (15000, 2) is the "sweetspot". You'll have to play to find it.
Hope this helps
OMG! GUYS i was toataly fragged out for 1 week out of PC can somone explain what THE HELL DOES ALL THE STARWARS PHRAZES DO IN HERE? Well its obvius that Jestermon Is Jedimon or master of Jedis but all other things ?
jestermon
...ALL THE STARWARS PHRAsES..
Turbo for cars, needs Force or Acceleration to work.
"Force" is a physics term. It is also a Starwars term.
I had just read the latest "Starwars helmet" post before replying to this thread.
My silly sense of humor took on a life of it's own, when I made the "starwars" quips.
but with the force i lose grip and crash or stay in the air when going up a jump i was thinking about scripting but i cant
Pages: [1]