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
https://developer.valvesoftware.com/wiki/Left_4_Dead_2/Scripting/Script_Functions
Unfortunately i do not know enough about Squirrel to be of any use to you.
But there's a few people in D4M who could help you.
lens_eboss
the one on the bottom cause the alias to run.
I wrote it like this:
exec lens_dirt
alias lens_eboss "r_screenoverlay dirt_eboss/dirt"
exec lens_eboss "r_screenoverlay dirt_eboss/dirt"
exec lens_eboss
exec r_screenoverlay dirt_eboss/dirt
none of these examples work
"But the problem would be that it would execute the script upon game load instead of each and every map load."
does source have a command that loads scripts by priority? sequentially
by the way, we are talking about HL2
There's that "scripts\vscripts\director_base_addon.nut" Vscript that you could use (make one of your own). Those are loaded on every map load and could be used to set up the screen overlays. But I don't know what you'd need to write to make it do that.
Perhaps there's already a screen overlay mod (like gas mask or whatever) that you could use as a base.