4. Ent_ commands:
The Ent Commands:
These cheats are a bit harder to understand fully, but with some of them make sure you are pointing at either an NPC, or a prop or direction, and be careful what you do with these cheats, because you don't want to kill someone by accident in the game. And with ent_fire cheats, you must space and put in the npc's name if they are purposely in the game, else you'll have to name them yourself.
In my opinion, ent_fire is sort of like an editor to npcs/prop, and even the player but it's sort of hard to explain all because there are more an more commands to ent_fire, but's it's the base cheat to a whole network of ent_fire cheats, and a lot of example are needed.
type a name after ent_setname, and it sets the name of the npc or prop you are looking at, and when you do use it, make sure not to space with the name. (example, ent_setname ironcrow)
it teleports the specific npc or prop (with the name you may have specified with ent_setname) to the direction you a looking at, it's handy for yourself as well. (example, ent_teleport ironcrow)
The other ent_ commands I haven't really tested, they are not as interesting to use for fun.
I'll give a list of ent_fire example, using the name is always neccessary, but first, show what ent_fire cheats I've tested, and I know what they do.
ent_fire [insert name] ignite:
this will ignite the character on fire, with the name you specified,
example, ent_fire ironcrow ignite. (ignite_lifetime cheat means they'll be ignited forever until they die or get killed)
ent_fire [insert name] sethealth [insert number]:
this will set the health of the name specified, for example
ent_fire ironcrow sethealth 100.
ent_fire [insert name] kill:
this'll kill the specified npc or prop that has a name.
example, ent_fire ironcrow kill
(in actual fact, I can't display all the ent_fire cheats, and what they do, just the ones that are for fun, because a lot of the ent_fire cheats, you can just experiment with, but I'll put int the ones that are either useful, or fun)
ent_fire [insert name] setrelationship:
this is a nifty cheat, as you can change where npcs hate or like you. And there are specific codes for it, example, ent_fire ironcrow setrelationship "alyx D_HT 99" (with quotes and all) I'll explain what relationships there are too.
HT stands for hate, meaning npcs with guns will attack the specified npc. But if they don't have guns, they'll run away and act all funny.
LI stands for like, meaning they will act just like an ally towards the specified npc.
NU stands for neutural, it's the same as LI, and the characters won't do anything
FR stands for fear, meaning the npc will fear the other npc specified.
99 it means the amount of relationship the specified npc has, but just use 99, as it's the easiest in using without any complexity.
To use them is pretty simple, just edit the bit that has 'HT' in it to either one of these, and make sure the number is specified after with a space in between.
It's even easier to set the relationship of the other targetted npc to the one hating, fearing, or liking them, just swap the names around!
-The combine seems to like Kleiner, that because it has Alyx's name, and it's relationship to everyone in the room, and every to the Combine, is set to "Like!"
With ent_fire on the player's not so hard, you simpley type "!player" and use whatever command you like, in the picture, the Combine's not attacking the player either, because the player has been specified as "like."
Example: ent_fire !player
(make sure you space to get a list of commands for him.)
!picker represents the NPCs your looking at, meaning you could do whatever to the NPC your looking at without having to give them a name, and using the name to do stuff, bit easier huh? But I'd still recommend ent_setname, just say for example:
Alyx died and the black screen didn't show up, or you killed her with cheats and still no blackscreen, what would you do then? (well if it's in an are which is not a scripted area like in chapter Mutual Fiend, if the NPC who's using a script, dies, they will stop, and so will the people who might have been talking to them)
If in a situation where you killed someone with cheats, or something like that, easily create an NPC (as you should know by now) and use ent_setname to the pointed at NPC, (NPC your looking at, etc) and if it wasn't in an area that has many scripts and other ally NPCs who need to be there to talk to Alyx etc, then the spawned NPC with the name (Alyx, for instance) will continue their role, when you get to a scripted sequence later on, and if the NPC doesn't follow you at first after setting the name, just go and hit them or shoot at the ground, OR spawn another NPC, pretty much that sort of confirms the newlynamed NPC with their new name.