So I have this character creator where you can alter object color, mesh, etc. (It’s not finished, but that’s not important)
Now I want to make the actual game. For this, I want to copy the altered object to a new scene, because otherwise the character creator scene would probably be a mess, and I like to keep things clean. But:
- If I create a linked copy, no changes show up when I switch to the game scene.
- If I don’t link the object and copy the logic so that the separate character in-game receives the same changes as the one in the character creator, nothing changes either. (Would this be solved if I set the game scene to run in the background? Would this be bad for the performance, or ignored because you can’t see anything anyway?)
I have also thought about linking the objects to a second .blend file, which would be the actual game. But in order to do that, external data would have to be created, right?
Could I possibly solve this with python? Say, get a script to write all the information in a file, save it and then load it on the actual game. (This would also have the advantage of being able to save your characters, I think)
I’m a noob with Python, so I don’t know how to write the data to a file. Probably wouldn’t be that complicated though. (I’d prefer to just export the “dynamic” attributes like object color and scaling instead of the whole model to keep it clean)
I would appreciate any help on how to approach this. Opinions on what I could perhaps put in a separate file would be pretty sweet too.
(Also, the VideoTexture module doesn’t work for me, not even with a premade .blend I downloaded. And the standalone game export always gives me an error. I have also tried the terminal script method, but it’s no good either. I’m using Mac OSX Snow Leopard and Blender 2.68. Does anyone else have these problems?)