Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 8 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Sort of Tutorial on water for dx7
leethebrave
General Member
Since: Apr 24, 2006
Posts: 52
Last: Oct 2, 2006
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Wednesday, May. 24, 2006 02:45 am
I have been playing with the asset manager and figured a few things out to make water look better.

I'm sure the good guys will improve emensly on what im putting, but its a start.


Fisrt off get yourself a cubic map anything will do as we will just do test for the moment, a cubic map is 6 different or quite similar textures. They have to be TGA files. The files need to have _FT,_LT,_RT,_BK,_UP,_DN at the end, something like this water_ft.tga etc etc. Copy these files to your main/images folder ( make a images folder if yu dont have one)


Once you have that done its off to the asset manager.

Asset manager --------

Make a new file call it watertest so you remember, and dont use caps that will bugger it up. Select material in the box below the rename button.

Now eneter the follwoing settings

materialtype = water

surfacetype = water

usage = liquid

locales = any one will do, I suggest using poland as it empty

blendfunc = blend (so that you can alpha blend the water.)

cubic env map = This points to the watertexturename_ft.tga file.

Special surface properties = nomarks, nolightmap, nodynamiclight, nocastshadow, nonsolid, detail. I have played with this and these setting seem the best.

Now save as the name you used in the first part which was watertest (this is important that you save as the name you used to start)

Test on map and see if it works. It should work fine.

If it has good job.

Now you can go back to asset manager open you watertest if its not still open and play with the water map section which has texture width/height etc, you can change the colour etc.


I hope this makes sense and I hope its helpful.

The pros will come along soon im sure and give better options.
Share |
E-Luminate
General Member
Since: Apr 25, 2006
Posts: 30
Last: Jun 15, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Wednesday, May. 24, 2006 11:29 am
When I tried it, it asked me for the file Call of Duty 2\texture_assets\case\case64blue.tga


I made a tga file called the same (just to make it work). When I load the game the water is still blue and does not use the textures I specified. I also cannot change the colour of the water?

Any help would be great, I'm really wanting to be able to change the colour more than anything else.
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Wednesday, May. 24, 2006 01:36 pm
E-Luminate writes...
Quote:
When I tried it, it asked me for the file Call of Duty 2\texture_assets\case\case64blue.tga


I made a tga file called the same (just to make it work). When I load the game the water is still blue and does not use the textures I specified. I also cannot change the colour of the water?


when you made the case64blue.tga make sure it goes in that directory specified "Call of Duty 2\texture_assets\case\case64blue.tga"
It does not matter what image you use to make that file anyway because it does not get used.
The water you see in your game is made from the new water texture you created in the asset manager , the cubemap is what gets reflected on the surface and the color of the water is set from the rgb values you used in the asset manger. In case you never noticed the color values are right above where you entered in your cubemap in the asset manager.

Allmost forgot to ask my question...lol why does the tutorial say for dx7 shouldn't it be dx9?

edited on May. 24, 2006 09:42 am by veef
Share |
E-Luminate
General Member
Since: Apr 25, 2006
Posts: 30
Last: Jun 15, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Wednesday, May. 24, 2006 03:54 pm
Anything I enter into the color values, it automatically resets back to 1?
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Wednesday, May. 24, 2006 04:03 pm
E-Luminate writes...
Quote:
Anything I enter into the color values, it automatically resets back to 1?


Are you using too high of a value? it only goes from 0 - 1
Share |
cybershot
General Member
Since: Dec 29, 2005
Posts: 944
Last: Mar 4, 2018
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Friday, Jan. 12, 2007 03:12 pm
where do you get the water.tga. is this a custom texture you have to make using photoshop or is it in the game somewhere?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»