You are not logged in.
Pages: 1
I've been toying a bit around with console commands for the past few days, and I was wondering if this is possible to do in any way? Would it require modding? From what I understand you'd basically need a "dead" player state that the AI recognises as dead while in reality you're still alive.
Offline
Hmm, good question. There's seemingly a "play dead" key in Dev Mode (Ctrl-F7), but it doesn't fool the AI because it's not intended for that; it was probably used by the devs to place corpses in levels. There are commands to make the AI forget about you, but if they were still looking at you, they would presumably immediately notice you again. So you would need to turn them off altogether with something like ai2_inactive or ai2_allpassive, then turn them on again when Konoko got up, which could be triggered using chr_wait_animation.
Check out the Anniversary Edition Seven at !
Offline
The first idea which comes to mind is to change team of the "fake dead" char to Switzerland, then issue ai2_forget with no specific AI2 unit name, which means broadcast to all AI2 units. AI2 units will then stop attacking the "fake dead" character, while retaining all their AI2 abilities. If it is an AI2 char who should play dead, then selective ai2_passive(char_name, 1) should be applied on it to prevent it from getting up.
So, according to this idea:
chr_changeteam(name_of_char, Switzerland)
ai2_passive(name_of_char, 1)
ai2_forgetAnd to stop the "fake dead" mode of the character:
chr_changeteam(name_of_char, previous_team)
ai2_passive(name_of_char, 0)
ai2_forgetThe broadcast ai2_forget is required in both cases, since it wipes records of all encounters with other characters for AI2 units. That means AI2 units will act as if they encounctered the "fake dead" char for the first time and will remember the correct team which this "fake dead" char affiliates with.
Name_of_char is a name of the char to play dead for example A_t48 (ai2 character in the EnvWarehouse). For player character, writing the digit 0 is good enough, no need to write the name.
Previous_team is a label of the team the "fake dead" char was affiliated with before it was changed to Switzerland by script. For example Konoko or Syndicate or Neutral. It is up to the scripter to keep the correct team in mind and switch the char back to correct team when "fake dead" mode ends.
Team name strings:
Last edited by Loser (07/02/14 20:07)
"I am just a mere reflection of what I would be."
Offline
This is pretty cool! I might see if I can get something out of it. But I don't think the AI will recognise you as "dead", i.e. it will not taunt you when you use this? ![]()
Offline
Exactly as pointed, enemies will not taunt. They are not considering the "fake dead" character truly dead, they only start ignoring him.
However, enemies don't always taunt defeated opponents (it is set by ONCC parameter) so them not taunting does not feel awkward nor out of place.
Last edited by Loser (07/04/14 14:07)
"I am just a mere reflection of what I would be."
Offline
Pages: 1