You're looking for a .PRT file.
You can use my tool and try to figure out which value is the correct one when you find it (.PRT are unexpored, so no real 'guide for it' yet.)
Generally, typically, you'll want to look at the datatables/mount/saddle_appearance_map.iff, find the bike and look for correct the client_data_filename. Then, you'll want look that .cdf up (They might be .iff, but same structure, if they are and you're using my tool, simply rename them to .cdf to look inside, my .cdf tool doesn't load .iff) and look inside the HOBJ/APPR/VGEFINFO chunks for the .prt times.
Now the thing is, they're attached to hardpoints/skeleton bones (Handled in the .mgn/.msh/etc) and I'm unsure how to modify those at the moment, but you might be able to move particle still inside the .prt. Which values, I have no idea, needs trial and error.
Quick tip on how .PRT structure: Each WVFM must do something specific, like axis rotation, spread, etc, so in my tool, if you click on one of the WVFM buttons, you'll get the values at the bottom.
This is of course if you got a completely new bike, like new model wise, otherwise if it's an NGE port, I'm sure getting all the files over would do the trick.
2014-04-26, 11:35 AM
(This post was last modified: 2014-04-26, 11:40 AM by Arioch.)
Ok Ill look for your files then, thanks! And yes this is a completely new model to the game. But its sitting place of the speederbike swoop for now until I can find a way to pack it up in addition to the speederbike instead of just overriding it. Also, I have no idea how to open the newer .tre files.
Thanks for your help!
TELL ME YOUR SECRETS!!!
Good luck though!
OK possibly my last question! How do I know that the game is directed to my new mesh? For instance, in a mod, I can name the new swoop mesh to match the old "swoop_bike_l0.msh" and it replaces/overrides the speederbike_swoop .msh file in game. The question is that I have named the new .msh files JKAswoop.msh and I am reasonably certain that the game has no clue what do to with those files when it finds them in the .tre. Also I cant name them after the speederbike_swopp files because Im pretty sure it would just over ride them again.
Thanks once again for your patience. I didt see this addressed in Luskos thread because he was using the BARC and its files are already in place... now that I think about it I bet your jawa tools might be the answer! Ill have a look there.
Glad I can help!
Anything SWG related is basically file chains.
You have the object .iff which creates the object, this can link to an .sat (.mgn LOD container link + skeleton link) or an .apt (.msh (static mesh) LOD container link), in this case let's take the .msh one, that would link to a .lod, the .lod handles 1 or more meshes, then you have the msh which links to a .sht (shader), which links to a texture (.dds) and an effect (.eft (hlsl container)), the .eft then links to a .psh (pixel shader) and a .vsh (vertex shader).
It's the same with the particles for the bike, etc, you just gotta find the top level file, which tends to usually be a database .iff or an object .iff.
You can rename the file links accordingly in any of those link files inside that chain, either with tools or a hex edit.
I'm in the process of creating a wikia that'll explain chains better and file structures, but if I can help ya with something more specific, let me know.
But yes, if you use the same name, it overwrites, which is why even for simple mods, I tend to favor doing unique filenames everywhere.
2014-04-28, 04:24 AM
(This post was last modified: 2014-04-28, 04:27 AM by Arioch.)
Thats some helpful information! thanks again! Im gonna take a break from the swoop and see if I can get a model from one of the newer .tre/.toc's into the environment. It might be easier to learn from files that are already named correctly and working together.
One warning for new files from the NGE, some tend to have 'buggy' hlsl shaders, if it crashes or shows up oddly, it's best to look at a comparable object and use whatevet .eft (from PreCU) link it uses in the .sht.