PDA

View Full Version : Replacing fx files



Lesomuzik
15th Jan 12, 7:29 AM
I'm trying to replace one of the files (meltagun_cylinder_blast_4.PSystem) located in master_fx.oppc, but I don't know where to place it in preview folder, all I've figured out is preview/fx/something

I tried preview/fx/master_fx, preview/fx/fx_master, but didn't work (just as expected :) )

cerberos008
15th Jan 12, 9:44 AM
It's possible that the game doesn't allow the editing of certain files cause preview/fx/master_fx should be the correct location. I've tried editing .O3d and .object-manifest files before using Santos' tools, but neither had any effect on the game. I'm assuming the game runs specific files from an internal source only or something. The only files I have been able to edit though are .dds, .dcm, .bmat, and .attr_pc.

Or it could be that the tools I've used have not compressed the .O3d files properly and the game couldn't read it right and so was forced to switch to the default file. Perhaps it's the same for your edits maybe?

Again, this is just my assumption. What exactly have you been trying to do with the .PSystem files and what tools do you use to edit it?

Lesomuzik
15th Jan 12, 11:05 AM
Looks that I've solved the problem. I changed the package name, from which the file should be loaded and everything looks OK. Basically what I did was that in attr_pc file I changed


<Key>fx_package</Key>
<Type>String</Type>
<Data>master_fx</Data>

to


<Key>fx_package</Key>
<Type>String</Type>
<Data>foo</Data>

Than I created folder preview/fx/foo placed file there, and it works.

Btw...
I used Santo's smbod application from here (http://forums.relicnews.com/showthread.php?262094-TOOL-Space-Marine-Tools-UPDATED-23-08-Model-Importer-released!&p=1045289595&viewfull=1#post1045289595)

Well, that's all for now, thank you :)

EDIT:
It's not looking OK, because it looks like the file is not loaded at all. Thing I was expected to happen, did really happen, but I think it was because of missing file, not because of content of changed file. Damn...