Added: 2 years ago
From: jplur
Views: 1,932
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • i got your blenderserve.2 file working. I had to install the zope.egg in the twisted module. anyway i got the server up, but i want to know how do you send information to eachother. like animation triggers, and shooting, and jumping, or even propertys. a reply would be greatly appreciated

  • @carlosandlexi

    not much room to post a message in comments,

    The info is sent in the client.blend 'client' script on line 106

    own['s'].send( pkt )

    To send animation changes, the client has to send a message when it starts an animation, and interperate those kinds of messages from other players into actions.

    something like

    own['s'].send(":A:walk")

    then similar to line 169

    if item == "A": if splitdata[z+1] = "walk": entry.walk() #tell the local representation to do the action

  • @jplur also i was premature to say i had it working. I thought i had it but i only tested it in my cpu, it was able to connect two open files to the server. but was unable to connect with a friend via internet. error was target mach. actively refused. i do have a router, and i tried to mess with port fowarding. I just wasnt sure what my server ip is, or what type on service to choose (htp,ftp, so on). how do i know i did it right. it is port 5057 -? thanks for the reply

  • Is it pure scripting or is there some blender drag and drop?

  • woah, online!!

    how do u do that??

  • haha this is great ive been working with the same stuff. not with the twisted module though. is it similar to programing for normal sockets?

  • nice man maybe a tutorial :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more