Quote:
What's the best way to create models for trespasser? I use 3dsmax.
It's definitely Max. I think everyone here uses it, though it's probably possible to use other programs and then import it to Max before converting it to TPM. The TPM script is only for Max so it's going to have to end up there in the end anyway.
Quote:
I made a simple crate but it wont export as a tpm properly. I'm pretty sure it's how I applied the texture. I used a material in 3dsmax. Seems like they have to be stored in the tpm file instead.
Hmm. I don't bother with the Max material editor when making TPMs. I usually just drag and drop the texture onto the model, and that's that. But yes, the textures are indeed stored in the TPM. They must also be indexed 256-colour BMPs, and no larger than 256x256. You can use 24-bit textures as well, but those have a lot of problems associated with them. And if you need to do transparency, including a Grayscale transparency map is required. When you need to make transparent materials, I find the easiest thing to do is to use a text editor to edit the exported TPM file after exporting from Max, but before importing, and just add in the "OpacityMap" line (you can check other TPAs for an example).
Quote:
Edit: I canexport models from TresEd, import to Max and export back again, then import back to TresEd just fine so it has to be how the textures are stored.
Yes, but there tend to be serious smoothing errors when you do that. You'll have to fidget around with it a bit in Max in order to fix the smoothing groups. You might even have to re-do them entirely.
Quote:
On a side note, what do you name your collision mesh so it knows to import it properly?
Tres doesn't do collision meshes. You have to make individual physics boxes for the model instead. And they MUST be boxes, or they will have serious problems. Typically these are named "FBox00-00" or "FHouse00-00" for physics that aren't attached via T-Script to the model, which are usually used for stationary objects, or "$FBox00-00" and "$FRock00-00" for mobile objects. Objects that are referenced and attached in the T-Script MUST begin with the $ in order to work correctly.