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
impulse 203
allowed me to pick up objects from extreme distance (caution: using it twice through this makes the object stuck in air)
be tiny. default size is 1 (caution: 0 crashes)
I'll keep trying to find a way to remove that gun limit
update: an entity with the classname "ai_relationship" can control whether the player can damage the npc. I just need to find a way to spawn one in-game with all the required keyvalues, or modify an existing one. if I manage to do so, I'll put the answer in a new reply.
http://forums.steampowered.com/forums/showpost.php?p=6850085&postcount=6
https://developer.valvesoftware.com/wiki/List_of_default_AI_relationships
https://developer.valvesoftware.com/wiki/Ai_relationship
(these links contain related information, but no direct answers)
ent_create ai_relationship subject player target npc_citizen disposition 1 startactive 1
This command will allow you to damage citizens. If you want to damage anything you want, use this:
ent_create ai_relationship subject player target * disposition 1 startactive 1
Some npcs have damage filter enabled so they won't receive damage. If you want to deal damage to them as well, use this command:
ent_fire * setdamagefilter