Glass creation (GoldSrc)
< Zh
Jump to navigation
Jump to search
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.
本文将指导您使用 Valve Hammer 编辑器为 GoldSrc(半条命)引擎创建一个简单的玻璃。
可破坏的玻璃
- 打开纹理浏览器
- 选择你喜欢的玻璃纹理
- 创建一个刷子(brush)
- 打开对象属性窗口(高亮刷子并按下 Ctrl+t)
- 将对象类更改为 func_breakable
- 确保材质类型为玻璃
- 更改对象的 FX 量以修改玻璃的透明度(1-255;1 是完全透明,255 是完全不透明)
- (可选)更改对象的强度以修改打破玻璃所需的伤害量(值越高,玻璃的“生命值”越高)
- (可选)将碎片方向从随机更改为相对于攻击方向
- (可选)将渲染模式从纹理更改为添加以改变外观
待完善: 添加模式实际上是做什么的?
不可破坏的玻璃
- 打开纹理浏览器
- 选择你喜欢的玻璃纹理
- 创建一个刷子
- 打开对象属性窗口(高亮刷子并按下 Ctrl+t)
- 更改对象的 FX 量以修改玻璃的透明度(1-255;1 是完全透明,255 是完全不透明)
- (可选)将渲染模式从纹理更改为添加以改变外观
待完善: 添加模式实际上是做什么的?
外链
VERC: Glass and Transparency (originally posted on the VERC; mirrored from the original on the TWHL Wiki)
Tutorial: Glass
Vlatitude: Glass Tutorial
Tutorial: Adding Glass to Doors