Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Material problem
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#1
Material problem

Hello again

I have this servant_brute I want to change the color of. What I have done so far is.

Downloaded the DDS tools from Nvidia for Photoshop
Opened "servantbrute.dds" and used "Hue and Saturation" on it to make it blue.
After that I saved it in .dds DXT3 or 5 (can't remember right now)
I opened up "servantbrute.mat" and changed the diffuse to my new .dds and saved it.
Now when I open the servant_brute in a "ModelView.exe" nothing happens, It still has the old texture.

I don't know what is causing this and is asking for your help.

Thanks
(This post was last modified: 07-25-2011, 02:34 PM by dasde.)
07-25-2011, 02:33 PM
Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#2
RE: Material problem

Open it in Materialviewer again and see if it's changed.

[Image: 44917299.jpg]Dubstep <3
07-25-2011, 02:39 PM
Find
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#3
RE: Material problem

(07-25-2011, 02:39 PM)xtron Wrote: Open it in Materialviewer again and see if it's changed.

It has changed.
07-25-2011, 03:19 PM
Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#4
RE: Material problem

hmm...did you create a completly new folder adding the required files for the monster THEN changed the material etc?

[Image: 44917299.jpg]Dubstep <3
07-25-2011, 04:00 PM
Find
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#5
RE: Material problem

(07-25-2011, 04:00 PM)xtron Wrote: hmm...did you create a completly new folder adding the required files for the monster THEN changed the material etc?

I copied the folder, renamed the .ent file so I could find it in the editor, and then changed material file.
07-25-2011, 09:56 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#6
RE: Material problem

make sure you
1. copied the entire servant_brute folder,
2. paste it into the enemies folder
3. rename the new folder to eg: "servant_bluebrute"
4. rename all of the contents to "servant_bluebrute.xxx" - be careful not to overwrite the suffixes on the .dds files!
5. open material editor, assign the correct .dds files
6. open in model editor, check how it looks, maybe cange some user defined varables.

(This post was last modified: 07-25-2011, 10:03 PM by DRedshot.)
07-25-2011, 10:03 PM
Find
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#7
RE: Material problem

(07-25-2011, 10:03 PM)DRedshot Wrote: make sure you
1. copied the entire servant_brute folder,
2. paste it into the enemies folder
3. rename the new folder to eg: "servant_bluebrute"
4. rename all of the contents to "servant_bluebrute.xxx" - be careful not to overwrite the suffixes on the .dds files!
5. open material editor, assign the correct .dds files
6. open in model editor, check how it looks, maybe cange some user defined varables.

Still the old texture Sad
07-25-2011, 10:31 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#8
RE: Material problem

Hmm. sorry then, i tried to do this a few months ago, and had the same problem. I think (but not certain) that the texture is assigned at the modelling stage - ie: the only foolproof way of changing the texture is by opening it with Maya and creating a new .dae with the blue texture mapped. But hopefully someone can prove me wrong, because that is a very awkward way to do it also Maya is expensive unless your a student (search for autodesk there is some info about free software for students).

have you tried opening model editor, clicking on the brute mesh, and at the tab at the right changed the material to your custom material?

(This post was last modified: 07-25-2011, 10:54 PM by DRedshot.)
07-25-2011, 10:53 PM
Find
dasde Offline
Junior Member

Posts: 30
Threads: 6
Joined: May 2011
Reputation: 0
#9
RE: Material problem

(07-25-2011, 10:53 PM)DRedshot Wrote: Hmm. sorry then, i tried to do this a few months ago, and had the same problem. I think (but not certain) that the texture is assigned at the modelling stage - ie: the only foolproof way of changing the texture is by opening it with Maya and creating a new .dae with the blue texture mapped. But hopefully someone can prove me wrong, because that is a very awkward way to do it also Maya is expensive unless your a student (search for autodesk there is some info about free software for students).

have you tried opening model editor, clicking on the brute mesh, and at the tab at the right changed the material to your custom material?

Okay, it changes the texture in the ModelEditor, but when I save it so I can't view it in "ModelView.exe" or the level editor without showing the old texture.

Cheers.
(This post was last modified: 07-26-2011, 12:20 AM by dasde.)
07-26-2011, 12:09 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#10
RE: Material problem

I just did it without any issues. Can view it in modelview.

Process:
1. Copy and paste the brute folder somewhere within entities.
2. Open the servantbrute.dds
3. Change it.
4. Save it (saved it in dxt1). Have used this one by habit but noticed it was not the correct one to use.

There is actually no need for renaming of sorts.

You may notice that if you open the .ent file you have copied the grunt still has the default skin. This is because this .ent file still refers to the original grunt.

5. Open ModelEditor.
6. File --> Import mesh.
7. Import the .dae file located in your new blue brute folder.
8. Settings --> User defined variables --> Make it a grunt
9. Settings --> Animations --> Add all of the animations
10. Save the new .ent file.

[Image: mZiYnxe.png]


(This post was last modified: 07-26-2011, 01:46 AM by Acies.)
07-26-2011, 01:45 AM
Find




Users browsing this thread: 1 Guest(s)