Automating a Task

Got problems with your models? Struggling with textures? Get help with your custom assets.

Automating a Task

Postby madmodder123 on Mon Feb 11, 2013 8:28 am

Hey guys i'm working on a program that will help you convert all you gold source engine props into the source engine and I was wondering how I would take an image like this:
Image
and be able to automate the steps of making the blue (or any other color) into an alpha channel (the originals are .bmp i have them converted to .tga and .vtf/.vmt files via VTFedit)
madmodder123
Member
Member
 
Joined: Wed Sep 19, 2007 5:45 am

Re: Automating a Task

Postby Stormy on Fri Feb 15, 2013 8:10 am

GIMP has a feature called colour to alpha where it converts any given RGB value to alpha, so it's possible. The script might be open source too so you could read it and see how they did.
User avatar
Stormy
May Contain Skills
May Contain Skills
 
Joined: Sun Nov 28, 2010 6:03 am
Location: Cairns, QLD, AUS

Re: Automating a Task

Postby ErikKiller on Fri Feb 15, 2013 1:38 pm

Why would you want GldSrc in Source? Aren't they too low in quality?
Image
Image
First rodeo? Use the Source SDK Documentation for reference!
User avatar
ErikKiller
May Contain Skills
May Contain Skills
 
Joined: Sun Sep 09, 2007 4:05 pm
Location: Estonia

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users

cron