Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The .fx file is an hlsl shader, not lua. At the time of the writing, I couldn't find much online as far as language constructs / syntax. It c-like syntax, but a lot is different. You may want to look at some other shaders in the ns2 directory and just learn from example.
Again, my knowledge of the code is pretty dated. As far as I know, the marine flashlight is just like any other light, so it wouldn't have it's own dedicated shader. You would have to mod the lua to apply a shader to the marine flashlight.
I just think rines in the future will have something more advanced than a flashlight! :D