Enemies triggering their own traps

Post » Wed Jul 13, 2011 1:02 pm

Why is it that all enemies in both F3 and FnV die from their own traps, huh? If an enemy places a mine or a bunch of grenades, then steps on it, it's just stupid! What, they suffering from amnesia? Ooops, I just stepped on a mine, forgot I put it there! Yesterday, I was exploring the Tools factory, damn bots trigger all traps in the area, check this out:

http://i467.photobucket.com/albums/rr40/WRFan/ScreenShot342.jpg

Nice how the bot just stepped on its own trap wire on the floor! Yeah, so the trap wire has been set as owned by robot faction by Obsidian, so what? Is there any code that considers this? No, there is not, so the trap is triggered. I extended the trap wire script like this:

if isOwner RobotFaction && actionRef.getinfaction RobotFaction returnendifif isOwner RaiderFaction && actionRef.getinfaction RaiderFactionreturnendifif isOwner FiendsFactionNV && actionRef.getinfaction FiendsFactionNVreturnendifif actionRef.hasPerk LightStep == 0 && actionRef.GetInFaction NVDLC01TrapFaction == 0 && actionRef.hasPerk NVDLC01InMyFootsteps == 0;....bla


So no trap triggering if the trap owner steps on the damn trap.
User avatar
Tamara Dost
 
Posts: 3445
Joined: Mon Mar 12, 2007 12:20 pm

Post » Wed Jul 13, 2011 1:06 pm

didn't realize enemies could use mines
User avatar
Christine Pane
 
Posts: 3306
Joined: Mon Apr 23, 2007 2:14 am

Post » Wed Jul 13, 2011 8:40 am

I personally love it when I see an enemy blow their own brains out with a rigged shotgun that they set themselves. Classic.
User avatar
Damien Mulvenna
 
Posts: 3498
Joined: Wed Jun 27, 2007 3:33 pm

Post » Wed Jul 13, 2011 8:06 am

didn't realize enemies could use mines

They dont. The traps are set their prior and its not even the robots mine. They were set their probably before the great war.
User avatar
Lily Something
 
Posts: 3327
Joined: Thu Jun 15, 2006 12:21 pm

Post » Wed Jul 13, 2011 3:23 am

I personally love it when I see an enemy blow their own brains out with a rigged shotgun that they set themselves. Classic.


Ahh yes. Nothing quite like dragging a raider through all those land mines he placed. Pathfinding's a real [censored], isn't it, Fiends?
User avatar
Micah Judaeah
 
Posts: 3443
Joined: Tue Oct 24, 2006 6:22 pm

Post » Tue Jul 12, 2011 11:45 pm

I re-armed a Bear Trap and a raider walked over it, nothing. I was pissed. What's the point of rearming them?
User avatar
benjamin corsini
 
Posts: 3411
Joined: Tue Jul 31, 2007 11:32 pm

Post » Wed Jul 13, 2011 1:29 pm

I re-armed a Bear Trap and a raider walked over it, nothing. I was pissed. What's the point of rearming them?

Well that is the traps purpose.
User avatar
Brad Johnson
 
Posts: 3361
Joined: Thu May 24, 2007 7:19 pm

Post » Tue Jul 12, 2011 11:26 pm

Stepping on your own mine that must blow :wink: .
User avatar
Katie Samuel
 
Posts: 3384
Joined: Tue Oct 10, 2006 5:20 am


Return to Fallout: New Vegas