The mod you are trying to view has ceased development and consequently been archived. If you are a member of this mod, can demonstrate that it is being actively developed and will be able to keep this profile up to date with the latest news, images, videos and downloads, please contact us with all details and we will consider its re-activation.

WELCOME TO THE COMMAND & CONQUER GENERALS MOD SDK DATABASE! A few of the most talented and innovative C&C Generals Modders have teamed up to create a special Modification to solely upgrade the visual effects and gameplay concepts of the aging Command & Conquer Generals Zero Hour SAGE Game Engine for use with its associated Mods. This Mod profile will also serve as an unofficial C&C Generals Mod SDK Database to help the C&C Generals modding community and to encourage new modders by helping them to where they can go beyond their ideas and concepts for their projects and actually get them into active development.

This tutorial explains the basics of texture mapping in the Gmax & RenX 3D Modeling and Animation Software. I have provided some of my own personal notes to help Modders for C&C Renegade and C&C Generals. However, some of this information may also be able to assist Modders for C&C3; and RA3.

Vertex Material Introduction: This is the Standard material or texture for the geometry in your scene. It's important to realize that many items in here are co-dependent on each other, some things only work when others are enabled and to best get acquainted with it, experiment around to find the most useful combination.

Args: (Arguments) window allows you to enter in specific information that you'd want the mapper to do. When you see the Arguments listed in here for each type, do not include the "( )" parenthesis in your actual argument but you can edit the values and the types are as follows: (float) - any real number, ex: 1.8 (int) - any integer, e.g:: -.5 (bool) - either TRUE or FALSE

NOTE: This kinda works in the same manner as the game code as only specific functions will work with certain mapping types, (see the mapping types for a list of the arguments allowed for that type). All arguments are CAse SENSitiVe, they have to be typed in exactly as shown. New mappers will only work on the DX8 and WW3D2 or later versions up to W3X. Pre-DX8 viewers will not work.

Blend Modes:

Opaque: The map or color in its normal state with No Alpha opacity, and No blended overlay.

Add: Looks at the color information in each channel and brightens the base color reflecting the colors behind it, creating the effect of an additive overlay. It creates an opacity value based on the grayscale levels of the map.

Multiply: Looks at the color information in each channel and multiplies the base color by the blend color. The result color is always a darker color. Multiplying any color with black produces black. It creates an opacity value based on the inverted grayscale levels of the map. (Blacks are opaque, whites are transparent)

Multiply and Add: Multiplies the base colors by themselves, lights become brighter, darks become darker. It creates an opacity value based on the inverted alpha levels of the map. (Blacks are opaque, whites are transparent)

Screen: Similar to Add but not burning the brightness levels as much. It creates an opacity value based on the grayscale levels of the map.

Alpha Blend: The map or color in its normal state, If the map contains an alpha channel; it uses the alpha channels grayscale values to establish the opacity of the map.

Alpha Test: The map or color in its normal state, If the map contains an alpha channel, it uses the alpha channel to establish the opacity of the map however, it adjusts the threshold of the alpha channel to make it higher in contrast, no grays just black and white, resulting in harsher edges in the opacity.

Diffuse Color: The color that the object reflects when illuminated by lighting, the base color of the object.Acts as the base of the alpha levels in a map, however, It wont be effected by light, similar to a self illumination shader in max.

Specular Color: Similar to Diffuse except it will be rendered as a sharper and more detailed effect over a concentrated area.

Emissive Color: Is an additional color source that is added in the final light of an object. This is only because it is an effect meant for the object to simulate giving off its own light.

NOTE: For in-game vertice coloring; If emissive is any color other than black, ambient and diffuse have to be black. If emissive is black, ambient and diffuse may be any color, but the colors must be the same color.

NOTE: Doesn't always work correctly with the shader blending mode "opaque". Also note; when used in conjunction with the "alpha test" shader blending mode, the texture map you choose must have an alpha channel in it, for this to display correctly.:

Stage 0 Mapping: This area is where you select the way the mesh will display in its environment. Refer to the Shader tab (blend area) to adjust more properties and to load a bitmap. When creating a Texture map for use with any type except "UV", you must flip your map vertically so that it will appear upside down in order for it to work correctly.

Stage 0 Mapping Types: Also known as "Mappers", Blending modes for the mesh in it's environment.

UV: For use with normal UV Mapping coordinates.

Environment: Uses the normals to look up the environment map. A hotspot of light always comes from top right no matter which direction the object or camera is facing.

NOTE:It has a couple downsides. It doesn't show the graduation of light across a flat surface as well as a World Space environmental and when used in conjunction with camera tracking the object, it wont appear to be as real because the light source remains constant.

Classic Environment: Similar to Environment; uses the reflection to look up the environment map, overall object has more contrast, (better for simulating metallic objects)

NOTE: This can be best used to simulate a sky reflection effect for water surfaces when viewed from a birds eye view.

Linear Offset: Same mapping type as "UV" except it allows you to make the texture scroll across the map at a speed specified in the arguments box. The Scrolling speed works on 1 unit per second basis. U is for horizontal, positive values move it left while (-) negative values move it right (based on UV mapping coordinates). V is for vertical, positive values move it down while (-) negative values move it up (based on UV mapping coordinates)Args: UPerSec=(float) e.g: -0.3 VPerSec=(float) e.g: 5.0

NOTE: This is good to use for things such as tank treads, water, and light effects.

Grid: (Using a Grid Map Texture)For use with a "Grid Bitmap" Similar to how the "Frame / UCoordinate" works in the emitter system; A grid bitmap is divided into individual frames that the computer reads as a grid, left to right, top to bottom, one frame at a time and displays each section of the grid as a single frame, then the next frame then so on, until it cycles through back to the beginning. This effect creates an animated map. You can Adjust the speed of your map in frames per second (FPS).Args: FPS=(float) e.g: 29.5 Log2Width=(int) e.g: 2

Rotate: Rotates a texture map about a specified center. The speed of the rotation is measured in radians per second, (e.g: 2 = 2 full rotations per second). Positive values rotate counter clockwise while negative rotate the map clockwise. Note: by default the mapping coordinates center starts at the top left corner of the map. To make it start in the center of the map, make the UCenter and VCenter values of "0.5".Args: Speed=(float) e.g: 2 UCenter=(float) e.g: 0.5 VCenter=(float) e.g: 0.5

Random: Offsets and rotates coordinates at random in a "step" like fashion. Useful for trying to make a map "shake".Args: UPerSec=(float) e.g: -0.3 VPerSec=(float) e.g: 5.0

Edge: Gives off Fuzzy edges, can be used as a glow as well. Uses the "Classic Environment" mapping style but takes the top row of pixels in the bitmap and looks only at that to produce its fuzzy edge effect. You can adjust the VPerSec argument to create an nice "pulsing" effect.Args: UseReflect=(bool) e.g: true VPerSec=(float) e.g: 2.0

NOTE: This is also great for creating glowing objects and strobe light effects.

UV Channel: Select the UV channel to use

Stage 1 Mapping: Same properties as Stage 0 Mapping but adds another stage so that you may overlay and combine the two mappers. Stage 1 is considered to be the "detailer" because it is usually used when extra detail is needed. The advanced controls for Stage 1 Mapping are located in the advanced section of the shader tab. You can only have a maximum of 4 mapping stages for each scene.

the reflective water very beautyfull:http://tieba.baidu.com/f?ct=335675392&tn=baiduPostBrowser&sc=22926723331&z=1782928242#22926723331发布绝命时刻画面效果倒影、反射水的文件，内有安装说明，https://www.moddb.com/mods/hunt1hunt 欢迎前来参观。