Open mefistotelis opened 1 year ago
I actually wondered about this myself - if you look in the ending CGIs it shows the mech destroyed behind the player's characters - why would it be destroyed if it's friendly? Having said that, can the AI fire the homing lasers/graviton gun the mech has? Because that would basically be instant game over if it can!
can the AI fire the homing lasers/graviton gun the mech has
Yes. Though this has a max range - it is possible to escape. You'd have to be really fast when the Mech starts to telegraph the attack to actually escape. Good that it is at least contained to the cage and cannot follow you.
Btw, if you want to still enter the mech, press F
while the level is loaded (ie use -m 0,102
, then during the intro press F
and holding it down press space
to skip the intro).
I'm not sure what it does exactly (sets a flag in all commands), but it seem to pause all commands given to people. So everyone will just stand in place, and noone will enter any vehicle.
So does this change AI behaviour or was he always going to enter the mech but couldn't?
While I do think that this is really cool, I also think that changes that can have significant impact on gameplay should always be optional. I tried it out a little bit, and you can't properly target the mech because it's behind the walls, though the Plasma Lance does damage through solid terrain. It seems to take very low damage from the Graviton Gun homing projectiles (or does it just have that much health?) so I found my group wiped out rather easily once the mech stops spamming rockets and uses the homing projectiles.
So does this change AI behaviour or was he always going to enter the mech but couldn't?
Yes and no. It's this command in the level file here:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
CommandNumber | Next | OtherThing | OtherThingName | X | Y | Z | Type | CommandName | SubType | Arg1 | Arg2 | Time | MyThing | Parent | Flags | field_1A | field_1E -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- 136 | 305 | 126 | | 30825 | 0 | 15517 | 23 | USE_VEHICLE | 0 | 0 | 49 | 1 | 0 | 199 | 136 | 0 | 0
With the commit swars: Switched implementation of fix_thing_command_indexes(), some of the commands given to people (NPCs) started working better.
This includes entering a car. And now in the final moon level, both Eurocorp and Church, there's a Zealot entering the Mech. Meaning the Mech is now an enemy, firing towards the player group.
Also as long as he notices the player, he doesn't seem to care much about the range - continues firing.
So it looks like the level was made harder. We may want to edit the level and remove the
USE_VEHICLE
command. Unless we consider it better to have the mech in use.