Finally got around to merging the old NPCs & Vehicles mod I wrote for cataclysm. I’ve also managed to fix the fun leap of death bugs the npc seemed to enjoy taking.
Currently NPCs that are following you will also board a vehicle when you do, although you might need to skip a few turns as they clamber over vehicle parts. Once they hit a seat they are probably in. (You’ll quickly notice if they aren’t)
While in a vehicle NPCs will pretty much take any action that doesn’t involve moving, this includes healing the player if you are adjacent or melee attacks against adjacent targets.
If they see an item they want they will let you know but won’t try to pick it up until you leave the vehicle.
Here we see my, fairly bloodied, car with two NPCs helping me out. As you can see one is only armed with melee weapons so rarely gets to attack. It took a while to get a screen shot where he did and even then the car door did considerably more damage.
Things to do when I get the chance:
- Make them actively switch to ranged weapons even while ‘in danger’.
- Allow them to depart from or rejoin stopped (slow?) vehicles.
- Avoid throwing grenades in direction of travel.
- Better path-finding for climbing into vehicle.
- Complain at the player when there aren’t enough free seats.
Whatever I’m currently working on (which could be broken at any given time) is on github under feature/npc
A “stable” build will found merged into develop but will probably be missing the last few additions.
Currently built against 27 Feb update. (3452ad54aa)
Features added to “stable”:
- NPCs will follow you into vehicles and provide fire support.
- Combat option to allow only silent / silenced weapons.
- NPCs (poorly) attempt to avoid being squished by your vehicle
- Leave NPCs at a base camp.