Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about a file
#1
Hi!

I just got a new bike into game and now I am looking to edit the exhaust glow/flames.

The problem is, I cant figure out the name of that file. If anyone knows or knows what file type I should look for, can you please let me know? Id like to adjust the point at which they are rendered.

Thanks for listening any help is appreciated!

[Image: screenShot0079_zpsc06290db.jpg]
 
Reply
#2
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.
 
Reply
#3
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!
 
Reply
#4
(2014-04-26, 11:35 AM)Arioch Wrote: 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!

Oh, awesome. It's a .msh then, I'd assume? I forgot, but is it possible to create hardpoints with the max script?

Look at Lasko's Guide for adding it as a new bike, that should get you started. It's for the BARC, but same logic can be applied for this.

Newer .tre files? Do you mean the .NGE ones? I assume you have them downloaded then? Best is to just open the .toc with treExplorer.
 
Reply
#5
TELL ME YOUR SECRETS!!!

Good luck though!
 
Reply
#6
Yep! Its a .msh and its working perfectly now as far as functionality goes. The exhaust is still out of place, I played with that tool for quite a while with no luck yet. Ill try again soon.

I dont know anything about hardpoints Tongue lol

Im going to implement Laskos guide soon since it looks like EXACTLY what I want to accomplish!

And yep, the NGE ones. I still have all my old files from live and never tried to open .toc files for some reason so Ill get into those!

Thanks again for all your help!

Bugme - no secrets, just research on this site and you can pretty much do the same thing I did. Its not that bad once youre familiar with things in game, the editing tools and say 3ds max.
 
Reply
#7
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.
 
Reply
#8
Glad I can help!

Anything SWG related is basically file chains.

For instance;

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.
 
Reply
#9
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.
 
Reply
#10
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.
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)