bakedlays1 Posted March 30, 2011 Share Posted March 30, 2011 My personal thought is, if you're wearing the armor of someone highly respected in a faction, you should be highly respected. I love to wear faction armor, wearing a legion armor in camp mccarren and no one shooting at me bothers me (referring to mods that remove faction) But what I hate is that I can wear a NCR Ranger Vet Combat Armor and have a Neutral reputation. Vet Rangers are idolized by troopers and so should be if I'm disguised as one. I was wondering if anyone could make a mod so that certain armors give you certain reputation. NCR Armors1. Accepted: Bandoleer, Face-wrap, Trooper, MP armor2. Liked: Ranger Patrol Armor and Mantle Armor (for officers)3. Idolized: Veteran Ranger Combat Armor and T45-D Salvaged Power Armor Legion Armors1. Accepted: Recruit, Explorer, and Prime2: Liked: Veteran and Vexilarius 3: Idolized: Centurion and Praetorian, (Caesar's armor if you kill him through surgery maybe??) I need help with the script. I have no idea. This is the script of of an NCR Ranger Vet Combat Armor. What I want is to be Idolized by the NCR, Vilified by the Legion, Hated by the Great Khans and Brotherhood of Steel, and Vilified by the Powder Gangers. scn NCRFactionOutfitWarningScript float fUpdatedNegNCRfloat fUpdatedPosNCR float fUpdatedNegCLfloat fUpdatedPosCL float fUpdatedNegBoSfloat fUpdatedPosBoS float fUpdatedNegGKfloat fUpdatedPosGK float fUpdatedNegPGfloat fUpdatedPosPG Begin OnEquip Player ;Check to see if player was wearing faction armor. if DisguiseFactionPulseQuest.bFactionArmorEquipped == 0 ;Set variable to track wearing faction armorset DisguiseFactionPulseQuest.bFactionArmorEquipped to 1 ;Player was not wearing faction armor - so we store their reputation values, we don't need to clear it here, it'll get cleared below;Store Reputationsset DisguiseFactionPulseQuest.fNCRNegReputation to GetReputation RepNVNCR 0set DisguiseFactionPulseQuest.fNCRPosReputation to GetReputation RepNVNCR 1 set DisguiseFactionPulseQuest.fLegionNegReputation to GetReputation RepNVCaesarsLegion 0set DisguiseFactionPulseQuest.fLegionPosReputation to GetReputation RepNVCaesarsLegion 1 set DisguiseFactionPulseQuest.fBoSNegReputation to GetReputation RepNVBrotherhood 0set DisguiseFactionPulseQuest.fBoSPosReputation to GetReputation RepNVBrotherhood 1 set DisguiseFactionPulseQuest.fKhanNegReputation to GetReputation RepNVGreatKhans 0set DisguiseFactionPulseQuest.fKhanPosReputation to GetReputation RepNVGreatKhans 1 set DisguiseFactionPulseQuest.fPowderNegReputation to GetReputation RepNVPowderGanger 0set DisguiseFactionPulseQuest.fPowderPosReputation to GetReputation RepNVPowderGanger 1 else;Get Current Faction Values and add stored valuesset DisguiseFactionPulseQuest.fNCRNegReputation to GetReputation RepNVNCR 0 + DisguiseFactionPulseQuest.fNCRNegReputationset DisguiseFactionPulseQuest.fNCRPosReputation to GetReputation RepNVNCR 1+ DisguiseFactionPulseQuest.fNCRPosReputation set DisguiseFactionPulseQuest.fLegionNegReputation to GetReputation RepNVCaesarsLegion 0 + DisguiseFactionPulseQuest.fLegionNegReputationset DisguiseFactionPulseQuest.fLegionPosReputation to GetReputation RepNVCaesarsLegion 1 + DisguiseFactionPulseQuest.fLegionPosReputation set DisguiseFactionPulseQuest.fBoSNegReputation to GetReputation RepNVBrotherhood 0 + DisguiseFactionPulseQuest.fBoSNegReputationset DisguiseFactionPulseQuest.fBoSPosReputation to GetReputation RepNVBrotherhood 1 + DisguiseFactionPulseQuest.fBoSPosReputation set DisguiseFactionPulseQuest.fKhanNegReputation to GetReputation RepNVGreatKhans 0 + DisguiseFactionPulseQuest.fKhanNegReputationset DisguiseFactionPulseQuest.fKhanPosReputation to GetReputation RepNVGreatKhans 1 + DisguiseFactionPulseQuest.fKhanPosReputation set DisguiseFactionPulseQuest.fPowderNegReputation to GetReputation RepNVPowderGanger 0 + DisguiseFactionPulseQuest.fPowderNegReputationset DisguiseFactionPulseQuest.fPowderPosReputation to GetReputation RepNVPowderGanger 1 + DisguiseFactionPulseQuest.fPowderPosReputation endif if VFactionArmorTutorial == 0ShowMessage VFactionOutfitTutorialset VFactionArmorTutorial to 1endif ;Set NCR AllianceShowMessage NCRFactionOutfitWarning;SetEnemy VCaesarsLegionFaction PlayerFactionStartQuest DisguiseFactionPulseQuest ;Kicks the pulse placing questsetally PlayerFaction ArmorNCRFactionNV 1 1player.addtofaction ARMORNCRFactionNVEnemy 0 ;Set BoS Alliance if they have joined the NCRif VStoryEventBoS == 1setally ArmorBrotherhoodSteelFactionEnemy NCRFactionNV 1 1setally ArmorBrotherhoodSteelFaction PlayerFaction 1 1player.addtofaction ArmorBrotherhoodSteelFactionEnemy 0endif ;Set GreatKhan Alliance if they have joined the NCRif VStoryEventKhans == 1setally ArmorGreatKhansFactionNVEnemy NCRFactionNV 1 1setally ArmorGreatKhansFactionNV PlayerFaction 1 1player.addtofaction ArmorGreatKhansFactionNVEnemy 0endif ;Clear ReputationsSetReputation RepNVNCR 0 0.0SetReputation RepNVNCR 1 0.0 SetReputation RepNVCaesarsLegion 0 0.0SetReputation RepNVCaesarsLegion 1 0.0 SetReputation RepNVBrotherhood 0 0.0SetReputation RepNVBrotherhood 1 0.0 SetReputation RepNVGreatKhans 0 0.0SetReputation RepNVGreatKhans 1 0.0 SetReputation RepNVPowderGanger 0 0.0SetReputation RepNVPowderGanger 1 0.0 end Begin OnUnequip Player ;SetEnemy VCaesarsLegionFaction PlayerFaction 1 1;SetEnemy PlayerFaction ArmorNCRFactionNV 1 1if player.GetEquipped FactionGearNVNCR == 0;Unset NCR AllianceStopQuest DisguiseFactionPulseQuest ;Stops the pulse placing questSetEnemy PlayerFaction ArmorNCRFactionNV 1 1player.RemoveFromFaction ARMORNCRFactionNVEnemyShowMessage NCRFactionOutfitWarningOff ;UnSet BoS Alliance if they have joined the NCRif VStoryEventBoS == 1SetEnemy ArmorBrotherhoodSteelFaction PlayerFaction 1 1player.RemoveFromFaction ArmorBrotherhoodSteelFactionEnemy endif ;UnSet Khan Alliance if they have joined the NCRif VStoryEventKhans == 1SetEnemy ArmorGreatKhansFactionNV PlayerFaction 1 1player.RemoveFromFaction ArmorGreatKhansFactionNVEnemyendif ;Get Current Faction Values and add stored valuesset fUpdatedNegNCR to GetReputation RepNVNCR 0 + DisguiseFactionPulseQuest.fNCRNegReputationset fUpdatedPosNCR to GetReputation RepNVNCR 1+ DisguiseFactionPulseQuest.fNCRPosReputation set fUpdatedNegCL to GetReputation RepNVCaesarsLegion 0 + DisguiseFactionPulseQuest.fLegionNegReputationset fUpdatedPosCL to GetReputation RepNVCaesarsLegion 1 + DisguiseFactionPulseQuest.fLegionPosReputation set fUpdatedNegBoS to GetReputation RepNVBrotherhood 0 + DisguiseFactionPulseQuest.fBoSNegReputationset fUpdatedPosBoS to GetReputation RepNVBrotherhood 1 + DisguiseFactionPulseQuest.fBoSPosReputation set fUpdatedNegGK to GetReputation RepNVGreatKhans 0 + DisguiseFactionPulseQuest.fKhanNegReputationset fUpdatedPosGK to GetReputation RepNVGreatKhans 1 + DisguiseFactionPulseQuest.fKhanPosReputation set fUpdatedNegPG to GetReputation RepNVPowderGanger 0 + DisguiseFactionPulseQuest.fPowderNegReputationset fUpdatedPosPG to GetReputation RepNVPowderGanger 1 + DisguiseFactionPulseQuest.fPowderPosReputation endif ;If the player is not wearing ANY faction armor, do the followingif (Player.GetEquipped FactionGearNVNCR == 0) && (Player.GetEquipped FactionGearNVCaesar == 0) && (Player.GetEquipped FactionGearNVBrotherhood == 0) && (Player.GetEquipped FactionGearNVGreatKhans == 0) && (Player.GetEquipped FactionGearNVPowder == 0) && (player.GetEquipped VMS18WhiteGloveMask == 0 || (Player.GetEquipped OutfitFormalWear == 0 && player.GetEquipped ArmorWhiteGloveSociety == 0));Clear Wearing Faction Armor Variableset DisguiseFactionPulseQuest.bFactionArmorEquipped to 0 ;Update to Proper Reputation Values;Set Reputation Values to UpdatedSetReputation RepNVNCR 0 fUpdatedNegNCRSetReputation RepNVNCR 1 fUpdatedPosNCR SetReputation RepNVCaesarsLegion 0 fUpdatedNegCLSetReputation RepNVCaesarsLegion 1 fUpdatedPosCL SetReputation RepNVBrotherhood 0 fUpdatedNegBoSSetReputation RepNVBrotherhood 1 fUpdatedPosBoS SetReputation RepNVGreatKhans 0 fUpdatedNegGKSetReputation RepNVGreatKhans 1 fUpdatedPosGK SetReputation RepNVPowderGanger 0 fUpdatedNegPGSetReputation RepNVPowderGanger 1 fUpdatedPosPGendif end ;Restriction on Companions ;Begin OnAdd CraigBooneREF; ShowMessage CompanionFactionArmorMsg; DropMe;End Begin OnAdd RoseofSharonCassidyREFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd VeronicaREFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd LilyREFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd RaulREFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd ArcadeREFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd EDE1REFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd EDE2REFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd EDE3REFShowMessage CompanionFactionArmorMsgDropMeEnd Begin OnAdd RexREFShowMessage CompanionFactionArmorMsgDropMeEnd Link to comment Share on other sites More sharing options...
Recommended Posts