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

Members Online

»
0 Active | 60 Guests
Online:

LATEST FORUM THREADS

»
Medal Of Honor
CoD4 SP Mapping
Deleting enemy corpses
CoD4 SP Mapping
Dynamic materials
CoD2 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 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Dynamic materials
Tinkerton
General Member
Since: Mar 3, 2014
Posts: 7
Last: Nov 23, 2017
[view latest posts]
Level 0
Category: CoD2 General
Posted: Wednesday, Nov. 22, 2017 02:12 am
Hello.

I've searched high and low for an answer on how to create dynamic textures for CoD2, but all the results I found were on creating them for CoD1 or CoD4.

I'm working on a map that's supposed to be rainy and windy, so my goal is to create some textures that would look like they're moving in the wind (cables between telephone poles, bushes and trees swaying, etc.).

From the info that I've seen, CoD4 supports this through Asset Manager and CoD1 through shader files by using stuff like tcMod scroll/stretch - the one I'm particularly interested in is Quake 3's deformVertexes.

So, this brings two questions:

Does CoD2 support these material properties, and if it does, how do you create such a material?

Is it possible to take existing models (e.g. caen_hedgewall1/2/3), duplicate them under a new filename and make them use a different material (also duplicated from the original), and add these properties to the duplicated material files (so as not to overwrite the originals)? Also - considering these are bushes - are these properties available for alpha textures?

I'm trying to avoid doing completely new models when there are perfectly fine trees and bushes available that would just need these properties added to make it work.
Share |
Tinkerton
General Member
Since: Mar 3, 2014
Posts: 7
Last: Nov 23, 2017
[view latest posts]
Level 0
Category: CoD2 General
Posted: Thursday, Nov. 23, 2017 12:46 pm
Through some research I actually managed to get swaying textures (e.g. CTF flags) working on a hedge texture - confirming that it also works with alpha textures. This was done by making a custom texture with material type set to "custom" and using the template found in deffiles\materials\mtl_phong_flag.template, I just need to get rid of the hideous specular lighting.

The second question is still a mystery though.
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 General

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

»