Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 23, 2024, 03:41:36 AM
News:
Trouble in Terrorist Town
?
Site here
,
forum here
.
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Creating VTF's for custom content
Pages: [
1
]
Author
Topic: Creating VTF's for custom content (Read 4600 times)
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
«
on:
May 14, 2010, 12:41:36 PM »
Well, ive made a custom weapon for traitors, and was wondering on how to make a vtf / vmt out of the image ive currently created.
The vtf's ive made before just bug out into flashing pink/black squares...
Can someone tell me how to?
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
Silverstream
Poster
Posts: 174
Project Suburb Developer
«
Reply #1 on:
May 14, 2010, 01:59:19 PM »
Make sure you are using
"UnlitGeneric"
in your .vmt and not
"LightmappedGeneric"
or
"VertexLitGeneric"
. This should repair the flashing black and purple.
Make sure the pathway to your .vtf material file is correct in your .vmt file.
You may want to use the following layout for your .vmt file:
"UnlitGeneric"
{
"$basetexture" "VGUI/ttt/xxxxxxx"
"$vertexcolor" 1
"$vertexalpha" 1
"$translucent" 1
}
In terms of your .vtf the following
MUST
be considered:
1. Your Image MUST be 64 pixels x 64 pixels.
2. In adobe photoshop or VTF Edit, use the BGRA8888 Compression image format for your .vtf
3. Make sure the following flags are selected for your .vtf file:
- Point Sample
- No Mipmap
- No Level of Detail
- Eight Bit Alpha Map (Format Specified)
3. Thats it. Your .vtf file should be working nicely now in-game.
Note: I prefer importing my .tga files into VTF Edit and Compile the .vtf from there, it's a lot easier to work with the parameters and select your compression format and what not.
«
Last Edit: May 14, 2010, 02:02:43 PM by Silverstream
»
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
«
Reply #2 on:
May 16, 2010, 11:44:16 PM »
Notepad++'d
Thanks for the help.
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
toco123
Poster
Posts: 22
«
Reply #3 on:
May 17, 2010, 01:35:24 PM »
Also, a .psd template is included with the latest ttt
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
«
Reply #4 on:
May 17, 2010, 01:43:24 PM »
I noticed. Thats what i used for my MP5.
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
Pages
: [
1
]
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Creating VTF's for custom content
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Other
-----------------------------
=> Trouble in Terrorist Town
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Page created in 0.008 seconds with 18 queries.
Loading...