How would I put a vehicle (with a vehicle constraint and camera rig etc) into a group (or groups) and link it into a main blend file? So I can edit the vehicle in its own file and have it update in the main file automatically?
well, it’s quite easy…
let’s say that you’ve a “vehicle.blend” with the vehicle group named “vehicle” ( group = vehicle object + camera? + lights?+ other)
Then in “game.blend” , Shift-F1, enable “Link” button in the bar, browse your HD and load the “vehicle” group!
Then TAb key to Add-Group-Vehicle
Remember that you must “distribute” the vehicle" file with the “game” file!
And you will find that it’s not very practical to work with
Here in this “game” I’ve use “dupligroups” for the vehicle and removed it, I only have kept the “tubes” one http://blenderartists.org/forum/showthread.php?t=151155
The “yo frankie demo” uses groups very well and powerfully, but those people are python gurus
Thanks for the help guys… I know how to link the objects now… just a few problems, the scripts don’t seem to work properly: so the wheels don’t get added and none of the controls work… also I can’t look through the camera even if I select it and press 0. Do you know why? Thanks guys!
Edit: just managed to make a proxy for the camera and set it as the scene camera, but the logic seems to not be linked…
Edit2: Figured out how I did it (It was a while ago). Linking groups seems to mess up game logic. If you have logic on your objects then link all objects separately. You can select multipke objects in the file browser by right-click selecting them and link them all at once. They will remain in a group. Not sure if I’ve done this right.
what kind of logic are we talking about? I don’t think I have any links between objects, but the objects have logic and scripts. Linking. The logic bricks doesn’t show up but it works when you press p.
The car has a script which adds wheels etc by accessing their names directly in python. That doesn’t seem to work at all. Could someone try and save a complete vehicle in a file and link that vehicle into another scene? I can’t get my head around how the objects would be accessed etc.