http://www.nexusmods.com/fallout3/mods/3888/?
Unfortunately, he didn't make a version for New Vegas and it doesn't work if I simply copy it over into the New Vegas GECK. It uses FOSE and I guess he's using some commands that aren't compatible with NVSE. And I can't figure out how to get it to work in this game, nor can I figure out how to come up with my own version. The script he's using is this, with a couple of changes made by me:
scn aaajtmeleescript2ref TargetCreaturefloat MeleeDistanceint NPCsDoneint TargetWeaponTypeint FriendlyWeaponTypeint EndLoopint FriendlyPenaltyint DoOnceref Follower1ref Follower2ref Follower3ref Follower4ref Follower5ref Follower6ref Follower7ref Follower8ref Follower9ref Follower10int NumFollowersint FriendliesDoneint LoopStageint Loop2Stageref CurrentFriendlyref CurrentCellint FriendNumint EnemyNumint TimesRunbegin GameMode;debug stuffset TimesRun to ( TimesRun + 1 )PrintToConsole "Run: %.0f", TimesRun;determines number of followers and enemies in combat - terminates script if no enemiesset FriendNum to player.GetGroupMemberCountset EnemyNum to player.GetGroupTargetCountPrintToConsole "player group: %.0f", FriendNumPrintToConsole "player targets: %.0f", EnemyNumif EnemyNum == 0 player.removespell aaaJTPlayerMeleePenaltyMore player.removespell aaaJTPlayerMeleePenalty returnendif;values that should be reset to 0 whenever the script firesset NPCsDone to 0set EndLoop to 0set NumFollowers to 0set LoopStage to 0set Loop2Stage to 0set FriendliesDone to 0;range for melee effects, can be changedset MeleeDistance to 128label 10if NumFollowers == 1 set Follower1 to TargetCreatureelseif NumFollowers == 2 set Follower2 to TargetCreatureelseif NumFollowers == 3 set Follower3 to TargetCreatureelseif NumFollowers == 4 set Follower4 to TargetCreatureelseif NumFollowers == 5 set Follower5 to TargetCreatureelseif NumFollowers == 6 set Follower6 to TargetCreatureelseif NumFollowers == 7 set Follower7 to TargetCreatureelseif NumFollowers == 8 set Follower8 to TargetCreatureelseif NumFollowers == 9 set Follower9 to TargetCreatureelseif NumFollowers == 10 set Follower10 to TargetCreatureelseif NumFollowers > 10 PrintToConsole "too many followers"endiflabel 20if ( LoopStage == 0 ) set TargetCreature to GetFirstRef, 42, 2 set LoopStage to 1elseif ( LoopStage == 2 ) set TargetCreature to GetFirstRef, 43, 2 set LoopStage to 3elseif ( LoopStage < 4 ) set TargetCreature to GetNextRefendifif ( LoopStage < 4 ) if ( TargetCreature ) if player.GetDead == 1 elseif TargetCreature.GetShouldAttack player == 0 && TargetCreature.IsInCombat == 1 if TargetCreature.GetAV aggression == 0 && TargetCreature.GetPlayerTeammate == 0 else set NumFollowers to ( NumFollowers + 1 ) goto 10 endif else TargetCreature.removespell aaaJTNPCMeleePenalty TargetCreature.removespell aaaJTNPCMeleePenaltyMore endif else set LoopStage to ( LoopStage + 1 ) endif set TargetCreature to 0 goto 20endifPrintToConsole "Followers %.0f", NumFollowerslabel 30if FriendliesDone == 0 set CurrentFriendly to playerelseif FriendliesDone == 1 set CurrentFriendly to Follower1elseif FriendliesDone == 2 set CurrentFriendly to Follower2elseif FriendliesDone == 3 set CurrentFriendly to Follower3elseif FriendliesDone == 4 set CurrentFriendly to Follower4elseif FriendliesDone == 5 set CurrentFriendly to Follower5elseif FriendliesDone == 6 set CurrentFriendly to Follower6elseif FriendliesDone == 7 set CurrentFriendly to Follower7elseif FriendliesDone == 8 set CurrentFriendly to Follower8elseif FriendliesDone == 9 set CurrentFriendly to Follower9elseif FriendliesDone == 10 set CurrentFriendly to Follower10endifset CurrentCell to CurrentFriendly.GetParentCellset FriendlyWeaponType to CurrentFriendly.GetWeaponAnimTypeset TargetCreature to 0set FriendlyPenalty to 0label 50if ( Loop2Stage == 0 ) set TargetCreature to GetFirstRefInCell, CurrentCell, 42 set Loop2Stage to 1elseif ( Loop2Stage == 2 ) set TargetCreature to GetFirstRefInCell, CurrentCell, 43 set Loop2Stage to 3elseif ( Loop2Stage < 4 ) set TargetCreature to GetNextRefendifif ( Loop2Stage < 4 ) if ( TargetCreature ) set NPCsDone to ( NPCsDone + 1 ) if CurrentFriendly.GetDistance TargetCreature < MeleeDistance && TargetCreature.GetDead == 0 && TargetCreature != CurrentFriendly set TargetWeaponType to TargetCreature.GetWeaponAnimType if FriendlyWeaponType > 3 && TargetWeaponType < 4 && TargetCreature.GetCombatTarget == CurrentFriendly if FriendlyWeaponType > 4 set FriendlyPenalty to 2 else set FriendlyPenalty to 1 endif elseif FriendlyWeaponType < 4 && TargetWeaponType > 3 if FriendliesDone == 0 || CurrentFriendly.GetCombatTarget == TargetCreature if TargetWeaponType > 4 TargetCreature.addspellNS aaaJTNPCMeleePenaltyMore TargetCreature.removespell aaaJTNPCMeleePenalty else TargetCreature.addspellNS aaaJTNPCMeleePenalty TargetCreature.removespell aaaJTNPCMeleePenaltyMore endif endif endif endif else set Loop2Stage to ( Loop2Stage + 1 ) endif set TargetCreature to 0 goto 50endifif FriendlyPenalty == 1 && FriendliesDone == 0 player.addspellNS aaaJTPlayerMeleePenalty player.removespell aaaJTPlayerMeleePenaltyMoreelseif FriendlyPenalty == 2 && FriendliesDone == 0 player.addspellNS aaaJTPlayerMeleePenaltyMore player.removespell aaaJTPlayerMeleePenaltyelseif FriendliesDone == 0 player.removespell aaaJTPlayerMeleePenaltyMore player.removespell aaaJTPlayerMeleePenaltyelseif FriendlyPenalty == 1 && FriendliesDone > 0 CurrentFriendly.addspellNS aaaJTNPCMeleePenalty CurrentFriendly.removespell aaaJTNPCMeleePenaltyMoreelseif FriendlyPenalty == 2 && FriendliesDone > 0 CurrentFriendly.addspellNS aaaJTNPCMeleePenaltyMore CurrentFriendly.removespell aaaJTNPCMeleePenaltyelse CurrentFriendly.removespell aaaJTNPCMeleePenaltyMore CurrentFriendly.removespell aaaJTNPCMeleePenaltyendifif FriendliesDone < NumFollowers set Loop2Stage to 0 PrintToConsole "Done friendly %.0f with %.0f enemies", FriendliesDone, NPCsDone set NPCsDone to 0 set FriendliesDone to ( FriendliesDone + 1 ) goto 30endifPrintToConsole "Done friendly %.0f with %.0f enemies, finished", FriendliesDone, NPCsDoneendIf someone could take a look at this mod and figure out how to get it to work in New Vegas, I'd greatly appreciate it.