找回密码
 注册
X系列官方授权正版
搜索
楼主: HammerSun

[原创] HammerSun巨作: 太阳帝国MOD修改指南 (叛乱发布,此帖不再更新)

 火... [复制链接]
 楼主| 发表于 2008-4-9 22:29:59 | 显示全部楼层

Textures 介绍

I 'barrowed' this post off the sins forum, I left the posters name on purpose so he gets credit for writing it.

As promised a proper tutorial guide to edit sins textures
By Major Stress Posted September 12, 2007 13:04:07
I wrote this to help fellow modders understand how the texturing system works in sins. It is long overdue.

You will need ether Adobe Photoshop, or Jasc Paint Shop Pro with the nvidia dds plugins, or any image editor that can open, view, and edit the .dds format to view/edit any sins texture. I use Adobe Photoshop 7 to write this. I am assuming modders know how to edit the color channels in an image. BACK UP any Sins texture you wish to edit.

In Sins a particular model can use up to 3 texture sheets with a naming convention as follows.

For example the Kol Battleship uses 3 textures. The primary color texture would be "CapitalTechBattleship-cl.dds". You will also see 2 other textures like "CapitalTechBattleship-nm.dds. This would be the Kols "normal", or "bump map". There is a 3rd texture for the kol called "CapitalTechBattleship-da.dds". This is the texture that makes all the nifty lighting fx, and we will get into that as you read on.

The "-cl.dds": This is the color, or diffuse texture, and one that would show the ships colors as they would normally appear in game. Open the file in photoshop, or paint shop pro, and view the "channels". You have your normal red, green, and blue channels. These channels you normaly dont touch, However you have a 4th channel, an "alpha" channel. The alpha channel represents the "specular map" of the ship in Sins, and it is how the ship gets that shiny metallic look to it. This is a grayscale image. The lighter areas are more shiny with white being the shinyest while dark is dull areas with black as being no shine at all. The Alpha channel is the only channel that would need editing in a "-cl" file after your texture is created.

The "-nm.dds": This is the normal, or "bump" map it is a grayscale image that simulates raised, and lowered areas on the model with shadows that change depending on the direction of the light source. You can create your own normal maps using the nvidia dds tools provided with the plugins. On a bump map white is a raised area. While black is a lowered, or indented surface. Channels do not need to be edited individually since it is a grayscale image.

The "-da.dds" : This is where things get very interesting. The "da" file means "data". As in your luminosity, or light map, team color, "bloom" ,and reflective surfaces. This is an RGB+ alpha image (red, green, blue, and alpha channels) Each channel represents a certain aspect of the model. You will need to view, and edit each color channel individually, because each color channel has a different effect.

The Red channel is the "team color" channel. This is what surfaces should display team colors of your fleet.

The Green channel is your luminosity or light map. This is what areas of your model that should be "lit up" or, illuminating.

The Blue channel is your "Reflective" channel. As in "chrome", or mirror like surfaces that will reflect the space around them just like a mirror.

Finally the Alpha channel. this is identical to a light, or lumiosity map. However the lit surfaces will cast a "bloom", or aura effect around it. As with other images the whiter the surface the brighter with white being the brightest. Darker has a dimming effect with black being no effects at all.

[ 本帖最后由 HammerSun 于 2008-7-14 23:24 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:30:11 | 显示全部楼层

Window 介绍

回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:30:17 | 显示全部楼层

Particle 介绍

回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:30:23 | 显示全部楼层

Mesh 介绍

回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:30:30 | 显示全部楼层

MOD实践演示

实践演练目标:
1.做一个新的星球,赋予新的星球奖励,全面设置行星升级项目.
2.做一个新的轨道战斗设施,功能是加强本星球重力场内飞船的装甲强度和火炮命中率.
3.做一艘新的战舰,且需要相关新的科技研究才能建造.
4.做一种新的区域杀伤性武器和效果赋予新战舰.

[ 本帖最后由 HammerSun 于 2008-4-10 14:51 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:30:46 | 显示全部楼层

其他补充

回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:31:04 | 显示全部楼层
占楼备用
回复

使用道具 举报

 楼主| 发表于 2008-4-9 22:31:16 | 显示全部楼层
占楼备用
回复

使用道具 举报

发表于 2008-4-9 22:37:51 | 显示全部楼层
不错 好东西 支持支持 ~~~~~:victory: :victory: :victory:
回复

使用道具 举报

发表于 2008-4-9 22:38:42 | 显示全部楼层
支持锤大!!!!!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|手机版|小黑屋|DeepTimes.NET 太空游戏站