Miasma Community

Kreative Korner => Maps & Mapping => Topic started by: Snipe34 on June 13, 2010, 04:10

Title: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Snipe34 on June 13, 2010, 04:10
A mapper has a problem, he used a custom texture file and it's so huge it won't all go on the server.  He only used a few textures from that file.

What he has to do is extract the textures he used (save them to file) then re-import them to KF editor, and then, re-apply them.

Here's how:

1/ Find the texture (notice that the "InUse" tab is clicked [Full/InUse/MRU]) InUse shows all textures 'in use' in that map.  Selected tex is gwbookcase  BSP:12 (means it's applied to 12 BSP surfaces)
(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/dfee9951.jpg)

2/ Right click on the texture and choose 'export to file'
(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/8d6332c5.jpg)

3/ hurrying along, re-import the same file
(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/fb2994a3.jpg)

4/ click on file, import
(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/d1643171.jpg)

5/ The tex will now be placed in the map's mylevel.  After all the tex in the map from the huge custom tex file have gone through this process, then that tex file won't be needed anymore. 

(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/1126d937.jpg)

6/ the first tex in the map's 'mylevel' area.(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/2dbf892f.jpg)

Finally, after exiting KF edit, ALWAYS choose NO
(http://i692.photobucket.com/albums/vv290/Snipe34_2009/KF%20tutorials/d05108c1.jpg)
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: DarkShad0w15 on June 13, 2010, 10:00
wow thx snipe you are the best  ;D
Next time i dont will make any mistakes ^^
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: [MiA]Raj on June 13, 2010, 12:40
nice tutorial again, snipe ^^
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Snipe34 on June 14, 2010, 19:25
Cool thanks guys!
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Snipe34 on October 19, 2011, 22:50
Quote from: [MiA]NL4PL on October 19, 2011, 17:55
What must be the size of map to work on server :-X

huh?
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Vanico on October 20, 2011, 15:12
Nice tutorial.
But does this also work with static meshes?
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Veica on October 20, 2011, 15:34
With Static Meshes, just copy from one map and paste into another :P

But it should, I do remember seeing an import/export option.
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Vanico on October 20, 2011, 16:15
Copy/Past doesn't always work with mylevel meshes.
Sometimes you can paste them, but then they don't show up ingame.
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Snipe34 on October 20, 2011, 23:21
Quote from: [MiA]NL4PL on October 20, 2011, 07:57
Well mean that what what you wrote at the start this guide.

sry, I mean if a mapper has a huge texture file for his map, but he only wants a couple of textures from that file.

Vanico if some meshes don't show up it could be because Display > ForcedVisibilityZoneTag:<Make sure this says None>
Also Display > DrawType: DT_StaticMesh

Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Vanico on October 22, 2011, 16:42
What, if they aren't even visible in editor?
Sometimes I try to paste meshes but they don't show up, there's just a red cross.

How to I export them? If possible?
Title: Re: Tutorial: Extracting Textures (or pictures or materials) from KF editor
Post by: Veica on October 24, 2011, 16:13
http://tinyurl.com/68rfm9o :D