3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 [2]

Author Topic: NewYearTrophy  (Read 307 times)

« Reply #15 on: June 21, 2014, 12:21:50 PM »
your project is working well and quickly on 1 computer.
in my project server is working fine, but I have a problem with synchronization Scinmeshs wheels, springs and other objects. Don't know how to do, or in the client too PCars need?
« Last Edit: June 21, 2014, 12:32:23 PM by KO3bMA »
« Reply #16 on: June 21, 2014, 01:05:04 PM »
do you need to look at the code in the project files?

--Mike
« Reply #17 on: June 21, 2014, 01:13:32 PM »
Mike, thanks.  Code I know, but maybe someone will be interested...I don't understand how to bind meshes wheels
« Reply #18 on: June 21, 2014, 01:56:29 PM »
Quote
I don't understand how to bind meshes wheels

do you mean the custom wheels you want to use instead of the default car wheels?

also...
do you mean bind em on the client or on the server...


--Mike
« Reply #19 on: June 21, 2014, 02:06:04 PM »
Mike, Yes.
Vladislav has taught me =)
I do now, but a lot of work (and mistakes =))
« Reply #20 on: June 21, 2014, 02:17:07 PM »
who the hell is Vladislav   ;D

binding the skinmesh to the car is as simple as linking it to the car...

it's almost as simple to bind the wheels to the car... the tricky part is making em rotate the eight right way, and to make the front wheels ruen in the right direction...

i'd be interested to know how you (Vladislav) did it...

also, keep in mind... you're doing everything for multiplayer...


--Mike
« Reply #21 on: June 21, 2014, 02:28:55 PM »
ВладислаВ helps me...he is on the forum...
 inding meshes wheel to the car I  known . 
My mistake was that I was all meshes for one player has assigned the same ID  ;D.
Now sit, correct the error  ;D. And meshes each car a lot ..... ;D ;D ;D
everything works , I managed to fix
all...and sleep... good night!
« Last Edit: June 21, 2014, 02:32:54 PM by KO3bMA »
« Reply #22 on: June 21, 2014, 02:47:00 PM »
same player ID  different netIDs...
you'll get it... it takes a while...

i just added wheel controls by adding a simple script... now all 4 custom wheels are mounted, rotate as the car moves,  and turn with the steering wheels...

thanks for asking these questions... i'm gonna need all this stuff...

--Mike
« Reply #23 on: June 22, 2014, 12:19:29 AM »
to answer questions.... great work..... ;D
but I started to understand a little English without google translator .... a little bit
the night i will lay out his version of multiplayer
« Reply #24 on: June 22, 2014, 07:27:37 AM »
here's the example i was talking about above...  a multiplayer car server and client with working wheels...  the wheels and orient with the direction of the car...

there are two compiled projects in the attached zip... a server and a client...   

download the .zip and unzip it to the desktop or to any folder...

run the server .exec first (you can run it alone as a single player), then run the client...
switch between screens to control the different cars...  you'll see that the response is almost
instantaneous (not guaranteed across the internet wires :) )...

i'm going to make a separate thread for this which explains things and shows the code... it's easy once  you understand, and the workflow is simpler than the dedicated server it was recently promoting...

lemme know if there are any questions...

--Mike
« Reply #25 on: June 22, 2014, 08:30:42 AM »
Mike, Thank You. take a look now. I put my version. In the second attachment is the source.
« Reply #26 on: June 22, 2014, 08:34:38 AM »
source
Mesh to take from the compiled project
« Reply #27 on: June 22, 2014, 09:03:10 AM »
sorry... i don't have time to go through your code K...  i've given you an example of what works, and can explain any questions you may have... 

--Mike

« Reply #28 on: June 22, 2014, 09:14:22 AM »
thanks, so far, no problems. In my project, I added another axles, suspension springs, and everything works. By the way, your project is done differently, according initialization

Pages: 1 [2]