Rome wasn't built in a day...

This forum is to show yet unfinished work or anything else you'd like to brag about. Just to get some feedback or impress us all.

Moderator: Moderators

User avatar
Jack Ruby
General
Posts: 1443
Joined: Fri Feb 07, 2003 12:20 am
Location: london

Post by Jack Ruby »

I bow to the week long map :shock:

amazing work man :)
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
FIVEBOY
Colour Sergeant
Posts: 94
Joined: Thu Feb 27, 2003 3:09 pm
Location: England
Contact:

Post by FIVEBOY »

seere just can i ask where you got your cool custom textures from?
seere
First Lieutenant
Posts: 181
Joined: Fri Apr 02, 2004 12:51 pm
Location: London

Post by seere »

FIVEBOY wrote:seere just can i ask where you got your cool custom textures from?
Well Fiveboy I "borrow" from other games and search thouroughly the internet...google/image/blah textures..and go through alot of crap before I find something I like.
Some games use different file formats than simple jpegs ..they use dds files or worse so I have to get a program to read them, then cut them then I alter them slightly (hue ,saturation etc) then optomise for jpeg.
It is a pain but the end results is alot better than the bog standard ones in the stock moh series.
Seere.
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

i found some niiiiice testures on google images.... but i just took the jpeg (cuz it looked fine w/o cropping it) and converted it to targa (TGA), and there i had it.... heres a Q from me though.... i have some textures i got from a nice little map but i dont want so many pk3's taking up room in my main folder so i just took all the textures and put them in a pk3 i named custom_textures and i had a folder in it called "textures" and one called "scripts". i put the textures in "textures" under "dragon" and .shaders in "scripts" but when i go in the game and i shoot one of the metal textures, it makes the mark of a concrete (the standard for un-shadered textures)... is there a way to change this? do i have to put the .shaders in "scripts" > "dragon"?
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

with the textures lying in textures/dragon,
the shader file must be scripts/dragon.shader
and shaders for metal textures should look something like

Code: Select all

textures/dragon/texture1
{
	qer_keyword trim
	qer_keyword rusted
	qer_keyword metal
	surfaceParm metal
	{
		map textures/dragon/texture1.tga
		rgbGen identity
		depthWrite
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
		depthFunc equal
	}
}
btw, standard opaque textures can easily be jpgs (much smaller)
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

... do i write .shaders like i write a script? just save it as a .shader?
Image
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

Yes just save it as *.SHADER ..
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

cool! thnx!
Image
User avatar
Deutsche Dogge
First Lieutenant
Posts: 183
Joined: Wed May 07, 2003 11:50 pm
Location: Quebec
Contact:

Post by Deutsche Dogge »

You can also have a look there for more informations about shader files.
http://www.heppler.com/shader/
Image
Click sig to visit the alternation modding community
Post Reply