Posted Nov 07 2007 - 06:50 PM
New version. I've made a lot of improvements to the drawing of cars, plus there's now enough functionality to add track sounds. Here's some instructions for the latter.
I'd suggest looking at a track that already has sounds in RaceCon - that will give you something to copy. You can run RaceCon twice simultaneously, or you can open both in the same RaceCon, whichever you find easier.
Take Kyalami for example - if you expand the Root node you can see the ssourcelist node under it. This is what I call a 'Handle'. Handles have names, whereas everything else has numeric ids. If your track doesn't currently have the ssourcelist handle, the first task is to add it. To do that, right click on the Root node and choose 'Insert Handle'. That will add the handle, but it won't be named as yet, which makes it look odd. You should be able to see the extra + box for it. If you left-click just to the right of the plus you should be able to select the nameless handle - once you do the middle pane will show its details - mainly a type of 'Handle Pseudo-Node'. (True nodes are the ones with numeric ids).
To give the handle a name, right-click where it says 'Name' and you can enter 'ssourcelist'. Once you've done that the handle's name will appear in the tree view.
Now back to Kyalami - if you expand the ssourcelist node you'll see it has one child node, an Object List with id=244. To create a similar node in your track, right-click the ssourcelist node in the tree view, and choose 'Insert Object List'. Then if you expand the ssourcelist node you'll see it now has an object list child node, with a stupidly large id. This id is just a placeholder until the 3do gets saved, at which time the numbers all get reassigned and it gets a proper smaller one.
In Kyalami again, expanding the Object List node shows us it has five child Transformation nodes, one for each sound location. Currently your Object List node has no children - to add one, right click its node in the
tree view and choose 'Insert Transformation'. For the moment one sound will do us, but you can repeat this any number of times.
Now if you expand the tree view nodes out, you can see the new Transformation node (again with large id). There's two things you need to do to the Transformation node. Firstly set the X,Y,Z Translation values to
match the position of the sound. That can be done by right-clicking where it says 'X Translation' etc. For sounds the rest of the values don't matter and can be left as they are.
Secondly the Transformation node needs to have an External Object child node. To do that, again you need to right click it in the tree node view, and choose 'Insert External Object'. The External Object is the thing that links to a different 3do. You can specifiy the name of that 3do by right-clicking where it says '3DO'. As you can see from Kyalami, it shouldn't have '.3do' on the end.
That's everything you need in the track 3do. It's probably best to close RaceCon at this point, when you should be prompted to save the track 3do. Then reload it and check that everything is as it should be. The ids of the nodes you've added should now have small numbers, but everything else should look
just as before.
Then you need to perform similar steps for the TSO 3do that has the sound. Adding the ssourcelist and the Object List is identical to the above. But instead of adding a Transformation node, now choose 'Insert Number List' . That will create a Number List node with no numbers in it. To add the
numbers, right-click where it says 'Count' and set the count to 2. It adds zeroes by default which happens to be what you want.
Please ensure you have backups of the 3dos you're editing. Racecon will completely recreate the 3do when it saves, so if there's anything it doesn't understand properly it may go horribly wrong. However as far as I know it doesn't have any problems in this area.
For anyone that wants to be bold, I think there's a simpler way that should work. Rather than having to add sounds to the trackside objects, I think everything could be done inside the track 3do. The difference is that where the External Object node would normally be, I think you can substitute the Number List node, still set up the same as above. If anyone tries that perhap they could post the results here.