Talk:Npc citizen

From Valve Developer Community
Revision as of 22:12, 19 November 2008 by Yar Kramer (talk | contribs) (Enemy Citizens)
Jump to navigation Jump to search

Renderbox / ActBusies

16777216 : Use RenderBox in ActBusies

Can someone tell me what this does/means, please? --Giles 08:48, 19 May 2006 (PDT)

It means to use the renderbox rather than the human hull as the solid box
// Use render bounds instead of human hull for guys sitting in chairs, etc. ts2do 14:03, 19 May 2006 (PDT)
Thanks. --Giles 05:36, 20 May 2006 (PDT)

Speech Semaphore

What does it mean by "speech semaphore"?

Regular K

it allows the npc to talk even if other teammates are talking (there's 2 semaphores: friends & foes) semaphore just means restriction...allowing 1 to talk at a time—ts2do 17:25, 22 May 2006 (PDT)

Models

This doesn't seem to be true (anymore):

: If the Medic flag is set and the citizentype is set to 3 (rebel), the equivalent models from models/humans/group03m/ are used.

Looking at the textures, there is no such thing as a /group03m/ group - only a single /group03/ group.

Also, is there any trick to using the old sdk/models/humans/male/citizen_sheet skin? --Andreasen 00:43, 22 Sep 2006 (PDT)

GCFScape reports a hl2/models/Humans/Group03m/ alive and well in Source Models.gcf. :)
Also, I originally refrained from specifying that "Default" means Blue Outfit, because I'm not sure that you can't affect the Default from elsewhere. Perhaps with a combination of global variables or something. Are you sure that Default always means Blue? Along those lines, I'm also suspicious that "Unique" means something more than just "regular blue" too. --Giles 02:26, 22 Sep 2006 (PDT)
Yes, but is the m group used (seeing that the group03 sheet also contains the medic skins)? Strange that the m group doesn't show up in the texture browser.
I only tested the types out ingame and gave them a description of what they looked like. I'm as puzzled as you. I'll write a todo on them. --Andreasen 03:19, 22 Sep 2006 (PDT)
Where did the NPCs names come from? Cubbage is obviously Cubbage, but I'm curious as to how you are determining that Joe is Joe, and Van is Van, etc? --Giles 05:51, 22 Sep 2006 (PDT)
I'm getting them from the names of the skin textures that the models use. You just have to figure out which skin belongs to which model - so far I've compared traits. =) --Andreasen 06:18, 22 Sep 2006 (PDT)

More pictures

I've taken some nice screen caps of all their five outfits, but do we really need any of them? Those who has played through HL2 should know how a rebel medic looks like, right? --Andreasen 04:23, 22 Sep 2006 (PDT)

Talker

Is it just me or, since the last big SDK update, they don't talk anymore? If I run my mod with SteamAppID 220 they speak and act as expected, while if I use SteamAppID 215 (with my custom dlls, but I didn't touched a single line of code that deal with them) they're mute (and from time to time they assume their "Idle" pose). Any clue? I didn't post this on SDK bug list because I'm not sure whether it is my problem or not. --uoz 03:12, 26 Sep 2006 (PDT)

Are you using the code of SDK August 06? --dutchmega 05:57, 26 Sep 2006 (PDT)
Yes, I was referring to that. The very last update (September 06?) doesn't include any npc improvement afaik --uoz 08:30, 26 Sep 2006 (PDT)
I've tried forcing their behaviour with ai_speechfilter, but had no luck --uoz 00:05, 20 Oct 2006 (PDT)
If anyone is interested, I found an answer here. Pretty annoying that it hasn't been fixed yet... --uoz 09:32, 13 Feb 2007 (PST)

Dedicated Console Values

What exacly qualifies as a "dedicated console value"?

Here are some values that seem to be for this entity too:

ai_citizen_debug_commander 1  None  
g_ai_citizen_show_enemy 0  None  
npc_citizen_auto_player_squad 1  None  
npc_citizen_auto_player_squad_allow_use 0  None  
npc_citizen_explosive_resist 0  None  
npc_citizen_insignia 0  None  
npc_citizen_squad_marker 0  None
sk_citizen_giveammo_player_delay 10  None  
sk_citizen_heal_ally 30  None  
sk_citizen_heal_ally_delay 20  None  
sk_citizen_heal_ally_min_pct 0  None  
sk_citizen_heal_player 25  None  
sk_citizen_heal_player_delay 25  None  
sk_citizen_heal_player_min_forced 10  None  
sk_citizen_heal_player_min_pct 0  None  
sk_citizen_health 40  None  
sk_citizen_player_stare_dist 72  None  
sk_citizen_player_stare_time 1  None  
sk_citizen_stare_heal_time 5  None

--Andreasen 03:42, 30 Sep 2006 (PDT)

Anything that pertains to a specific entity or group of entities is a dedicated console variable...it helps non-coders change things as well as give coders a reference of what to search for—ts2do 10:32, 30 Sep 2006 (PDT)

Frohman's Name?

Um... just because that male_07.mdl (aka Male 4) is the citizen model that the comic uses doesn't mean that his official name is actually "Frohman"... is it? --Darthkillyou 17:24, 1 Mar 2008 (PST) Well, sorry if I ticked you off, but noone else seems to know the actual name of male_07, so I though It might be a slight improvement instead of no name at all --JeffMOD 17:23, 31 Mar 2008 (PDT)

Heck I call him the Frohman model...--Gear 17:29, 31 Mar 2008 (PDT)
"Frohman model" sounds... interesting :) --Darthkillyou 13:08, 5 May 2008 (PDT)
I'm pretty sure those names are just to make it easier for humans to talk about individual models. "Frohman" tells you which one it is very nicely, doesn't it? --Kinkoblast 10:04, 10 Sep 2008 (PDT)

Pipe as weapon hack

It took me quite some time to finally determine that in order to have a citizen use the pipe as a weapon, that citizen's name must be matt (all lower case). Once an npc_citizen with the name matt is placed, give him or her a weapon_crowbar, and it will render as the pipe. Anyone from valve care to enlighten us on any of the other quirky (read: hacky) subtleties we should know about? Vecima 20:23, 16 May 2008 (PDT)

Odessa Cubbage and Cheaple

Ok, why is Odessa listed here as a citizen. Why does he not have his own page? Also, what are the cheaple citizens for? --Jeffane 02:53, 14 Jul 2008 (PDT)

Enemy Citizens

What's the easiest way to make a citizen an enemy? (Say if the player was supposed to be a Combine soldier, I wouldn't want them saying "Dr. Freeman!" and running over to join my squad ...) Creating an ai_relationship with a random NPC as the subject, CLASS_PLAYER as the target, a radius of 128, and a priority of 9001 didn't seem to work ... —Yar Kramer 21:12, 19 Nov 2008 (PST)