The problem with that method is that blender is better at rendering 100 10,000 poly objects that 10,000 100 poly objects.
I would stick to importing blends as level files, as they contain object information without you needing to check it’s validity, move a vertex or two, or anything.
As long as you have good documentation (and possibly a script) for adding spawn points, everything should be fine. It also allows custom textures etc.
X10 comes with ‘CPanel’ (presumably control panel), which has a file browser, script installation (for galleries and forums), and some web authoring tools. I coded my site by hand, because I’m familiar with HTML, and can’t be bothered learning a new tool, but you can use any tool you like to make the actual site. I imagine your current host will be fine, if you can install phpbb. No reason to change.
Setting up FTP from x10 isn’t hard, and I don’t imagine it’s much different in zymic. I just had to tell it which folder, give it a user name and password, and then that was an FTP directory.
As to the blender/game end, python does have a library for it, and it doesn’t look to hard to use.
Being interested in setting up a similar system myself, I’ll have a play over the next week or two and see if I can figure anything out.
One thing that you have to be careful of is sending connections every frame. Internet hosts don’t like 60 connections from the same machine to be made every second. When I made an IRC bot, I discovered a few things: Close all connections. Don’t make more than about 5 connection’s in a minute.
I would structure the code with an ‘init’ function. The first time it runs, you create the connection and get/display a file list. The next time you’ve made your selection, and it downloads it.
You can read the bottom of the post (my own python ramblings) or you can see a simple script over here.
Like any other internet protocool, FTP will close if you are inactive to long. You may have to re-open the connection, or respond to the servers pings (in this case they are “NOOP”) Send a ‘NOOP’ every 5 minutes or so and you should be fine.
I’ve no idea if that helped, confused you, or if you’ve discarded this idea completely. I’ll stop typing before I say something stupid.
Bye.
Rambling:
So you’d set up a basic connection with:
import ftplib
username = user
password = pass
ftphost = ftplib.FTP('ftp://your url')
ftphost.login(username, password)
Then to access it you can either send the command via a string, or via a dedicated python function:
fileList = ftphost.retrlines('LIST') #LIST is a standard FTP comand. See the wikipedia page on FTP to see what others are
or
fileList = ftphost.nlst()
print (fileList)
From there you can search through the fileList and when you find your file you can get it with something like:
fileToWriteTo = 'path/to/local/file'
reply = ftpHost.retrbinary('RETY '+fileName, open(fileToWriteTo, 'wb').write)
if reply = '226 Transfer Complete':
ftpHost.quit()
else:
print (reply)
print ("sdfgeoff guessed his code wrongly")
ftpHost.quit()
I haven’t tested any of this, and it’s written straight from the documentation. I probably missed something, so don’t kill me if it doesn’t work!
I’ll actually try this tomorrow. (I just need somewhere to store my first thoughts of the code, not being on my main PC, and here works fine).