Can someone please help me with this NPC command

madcat75

Newbie
Joined
Dec 1, 2004
Messages
196
Reaction score
0
I cant get anyone to pay attention to me in the other thread, so I have no choice but to make a new thread.

I am trying very hard to give my citizen squad members more health when I spawn them with a keybind. I have this keybind here, but it doesnt wanna give them anymore health than what they usually have.

npc_create_equipment weapon_smg1; wait; npc_create npc_citizen; wait; ent_setname heal; wait; ent_fire heal sethealth 9500

Why wont this command give my citizen squad member that amount of health that I specify? Please someone help me get this right.
 
Well citizens have a max hp of 40, I don't know if there is any way to override this. Even in the map editor I can't seem to give my npcs any more than their standard health, though I would very much like to...
 
Yes this is indeed frustrating to me as well. Sometimes I like the female medics that the computer gives me, and its very sad to see them die :(

I also tried ent_fire npc_citizen sethealth 5000 but that did not seem to affect it either.
 
Oh and can someone please tell me how to change a skin of a model? Say like, change an NPC's skin to a medic one?
 
as far as i know the choice of rebel/citizen is completely random and theres no way you can dictate the skin for them...perhaps if you learnt some complicated scripting and stuff you could do it :)
 
This reminds me of people complaining of linarity, I was replaying the nova prospect map. And where you meet the first citizen who joins you...First it was a woman and the second time it was a black man, they said diffrent things too...Quite intersting ones also.

When this war ends I am gonna mate.-Woman

Im never gonna become a stalker! - Black man
 
The skin seems dictated by the current level you are on, and it doesn't seem to change the amount of health they have. Whether or not they are medics is dictated by one of the inputs listed in the super happy spawning guide, though I can't remember it off the top of my head...
 
Back
Top