|
Post by Doomer022 on Feb 25, 2017 16:15:11 GMT
Im working on a project called "Freeride Sandbox". The game is all about driving different cars on different maps and terains. But i dont know how to swtich from car to car. Like, when i press "1", then it will change to car 1, and when i press "2", then it will change to car 2. All of the cars are controlled by the player. No "CarAI", No skinmesh change, nothing, just changing the camera from one car to another. Thanks!
Oh and i know NOTHING about scripts xD
|
|
|
Post by Power Supersport on Feb 25, 2017 16:30:48 GMT
Hey there, you don't need a script for this one... Basically you need two EventOnInput-s... You have to connect them to both the cars and the cameras... Set the first EOI to key "1" and the second one to key "2"... On the first one set the first car to start, the first camera to show, the second car to stop and the second camera to hide... Do the opposite for the second EOI... Don't forget to uncheck the "Working at start" on the second car and "Rendering at start" on the second camera... If you didn't understand completely, I've provided a demo for ya... For more information, please visit the 3D Rad's documentation by clicking help in whichever object you need help for... Attachments:Demo.3dr (135.39 KB)
|
|
|
Post by Doomer022 on Feb 25, 2017 16:55:41 GMT
OMG IT WORK PERFECTLY! THANKS! :DDDDDDDD IM SO HAPPY RIGHT NOW!!!!
|
|
|
Post by Doomer022 on Feb 25, 2017 18:01:36 GMT
Soooo...it crashed. It bugged out the WHOLE thing. -The 2 cars bugged under the ground -when i started it, the car started to shake and fly around the terrain -The music didnt worked(it was active) -The sprites and Values got reset -The Speeometer Scrpit crashed It was very funny to see the car just shake and fly around. The project just became Big Rigs XDDDD But i deleted it and remade it, because i had an older version of the game
|
|