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
Here I once explained to someone how to make it so that NPc`s do not attack you
https://steamhost.cn/steamcommunity_com/workshop/discussions/18446744073709551615/3714937078840054420/?appid=546560
Normally it should be possible to assign an AI_Relationship to the barrel and as soon as a zombie runs into a trigger (trap) or however it triggers this relationship ob the combine (where you can set if hate, neutral, like etc . The Target for sure the barrel then).
But never tried, just an Idea. I haven't tried anything with the Hammer Editor for a very long time.
Hello Schranzi, i thank you for taking your time. i was not able to use the ai_relationship to make the grunt hostile toward the barrel. but your sugestion inspired me to think a bit outside the box.
here is my protype solution if your interested. i dont know if its pratical in a actual game situation. ( why is it so hard to do this? i can force the grund to throw a grenade or launch a manhack. but simply target and shoot a designated area is impossible. in hl2 ther was a sniper_target for the npc_sniper (or something like that). but in alyx its different. anyway.)
the goal: force the combine to shoot the barrel to create the impression he uses the enviroment to fight the enemy.
the solution: i spawn a invisbile npc_headcrab inside the barrel. combine automatically fight headcrabs.
possible implementation: i imagine a set of traps like the explosive barrels, the npc_combine_s can activate against other npc_enemy. by shooting or using abutton.
for emample:
-electrical devices that creates sparks.
-gas, water, steam leaks that create a damageeffect
-droping physical objects taht hang around.
-releasing objects that roll down a slope. (logs, a truck, rocks)
-breaking and destroying specific objects likes crates, bottles and windows
-and so on
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3006073386
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3006081044