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
How can I replace a texture on the "Static Object"?
Makiavel Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jan 2011
Reputation: 0
#1
Question  How can I replace a texture on the "Static Object"?

Perhaps the question is stupid, but I'd really appreciate the help.
Can I replace, for example, the texture of the default castlebase wall?
I mean, can I have an object with the same model in the editor, but with the different texture?
(This post was last modified: 01-02-2011, 08:56 PM by Makiavel.)
01-02-2011, 08:55 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#2
RE: How can I replace a texture on the "Static Object"?

no, you have to
> open the static object folders up
> create a new folder inside static objects, called "my objects" or something else that you can recognize
> copy the model and textures over into your new folder
> go into the model editor that comes with the tools
> changes the textures there, you'll need to edit the material for it too as well as rename the texture files and material name
01-02-2011, 09:28 PM
Find
Makiavel Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jan 2011
Reputation: 0
#3
RE: How can I replace a texture on the "Static Object"?

Thanks. But there is some kind of problem, or I just do not understand something: I copied these files from the redist\static_objects\castlebase\wall into the folder I created: (files for the default castlebase wall)
Castlebase_wall.dds
Castlebase_wall.mat
Castlebase_wall_spec.dds
Castlebase_wall_nrm.dds
default.msh
default.dae

I edited the Castlebase_wall.mat, so it has the texture I want now.
I tried to look into the folder through the model editor, but it seems to only open .ent files.

What am I doing wrong?
(This post was last modified: 01-03-2011, 09:23 PM by Makiavel.)
01-03-2011, 09:19 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#4
RE: How can I replace a texture on the "Static Object"?

(01-03-2011, 09:19 PM)Makiavel Wrote: Thanks. But there is some kind of problem, or I just do not understand something: I copied these files from the redist\static_objects\castlebase\wall into the folder I created: (files for the default castlebase wall)
Castlebase_wall.dds
Castlebase_wall.mat
Castlebase_wall_spec.dds
Castlebase_wall_nrm.dds
default.msh
default.dae

I edited the Castlebase_wall.mat, so it has the texture I want now.
I tried to look into the folder through the model editor, but it seems to only open .ent files.

What am I doing wrong?

Maybe load the castlebase object of which you modified the texture!


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-03-2011, 09:36 PM
Find
Makiavel Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jan 2011
Reputation: 0
#5
RE: How can I replace a texture on the "Static Object"?

What you mean, load? Into the model editor or into the level editor? Or here?
I'm trying to modify the default castlebase wall, but I don't know how to open the model file itself.
01-03-2011, 11:16 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#6
RE: How can I replace a texture on the "Static Object"?

you need to open the model (.ent) into the editor, and select the mesh with the texture, and under material, change it too your one, or else it will use the original .mat file
01-03-2011, 11:27 PM
Find
Makiavel Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jan 2011
Reputation: 0
#7
RE: How can I replace a texture on the "Static Object"?

Wait, don't static objects have their models in .dae format?
I tried to do what you told me with the entity, since their models are in .ent format and I can open them with model editor. I copy the files, changed the material in the model editor (in model editor it looked just the way I want), but when I try to use the entity in the level editor or the game, I see the original texture. And when I open the model in model editor again, I see the original texture and the "material" field is empty.
01-04-2011, 07:42 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#8
RE: How can I replace a texture on the "Static Object"?

are you loading your custom model into the level editor? did you rename the models too?
01-05-2011, 06:42 AM
Find
Makiavel Offline
Junior Member

Posts: 13
Threads: 2
Joined: Jan 2011
Reputation: 0
#9
RE: How can I replace a texture on the "Static Object"?

Yes, I loaded my custom model into the level editor, so there are two same models there now (since I failed to change the texture of the costume model). By loading I mean, that I pressed the "refresh" button under the entities list, and then saw the custom model in the sub-category (folder) I created.
But what exactly about renaming? Should I rename copied files in the explorer, or is it something else? I still don't understand.

Silentium est argentum.
01-05-2011, 11:44 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
#10
RE: How can I replace a texture on the "Static Object"?

yes, rename them in explorer. Names should be unique so there are no conflicts.

how is it looking now that you renamed them?
double check your mat file and the ent file to be sure everything is ok
(This post was last modified: 01-05-2011, 12:53 PM by DIGI Byte.)
01-05-2011, 12:51 PM
Find




Users browsing this thread: 1 Guest(s)