Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page Makina map
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
  (#8)
philadelphia killing mach is Offline
Senior Member
 
Posts: 1,366
Join Date: May 2004
Location: I hate HippiesLand
   
Default 08-19-2004, 10:37 PM

it's not as hard as you think. i wanted a texture to make half of a four lane road with white parking lines along the sides so i made this textue........

[img]http://img.photobucket.com/albums/v73/hgto8g/MODS/street2lanelr.jpg[/img]



i took this section of script from central_europe.shader

[code:9417f]
textures/central_europe/earth_road_gen1dn
{
qer_keyword terrain
qer_keyword road
qer_keyword gravel
qer_keyword dirt
surfaceparm dirt
{
clampmap textures/central_europe/earth_road_gen1dn.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}

[/code:9417f]

copied it to notepad and changed the lines

textures/central_europe/earth_road_gen1dn
and
textures/central_europe/earth_road_gen1dn.tga

to

textues/generic_city/4lanestreet1
and
textures/generic_city/4lanestreet1.tga

then saved it in my generic_city.shader file

i created a .pk3 with two folders; scripts & textures
inside textures i created a subfolder and called it generic_city and placed my 4lanestreet1.tga in there (it's actually a .jpg but mohaa will read it as a .tga)

you can put as many custom textures as you want in there, just make sure to match them up to a new line in your .shader script.
  
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.