zlakob Posted May 7, 2016 Share Posted May 7, 2016 For any of you who might not know which faction you have joined a good way to find what factions someone is in is to use the Batch File feature of the console. Instructions in the spoiler: Step 1: You will need console logging to be output to a file.There is a nice simple mod to do that: https://www.nexusmods.com/skyrim/mods/19630/?Output from your console should now be logged to a file in your Skyrim folder:...\steamapps\common\Skyrim\ConSkrybe (Maybe with a .log extension?) Step 2: Find a list of factions in your game.This is best not done using the internet since your own mods may have added factions.Console: Help Fact 0Now open the ConSkrybe log file and copy the list of factions (Everything with FACT at the beginning of the line). Step 3: Create the Batch file.Create a batch file in your Skyrim folder, e.g.:...\steamapps\common\Skyrim\GetPlayerFactions.BATPaste the list of factions. You will need to modify each line to look like this:Player.GetInFaction "<Faction ID>" ;;; <Description>E.g.:Player.GetInFaction "00000013" ;;; Creature Faction Step 4: Run the batch file and look at the results.Console: Bat GetPlayerFactions.BATThe results will be with all console output in the ConSkrybe log file.Search that for 1.00 to see the ID of the factions your character is in. Use your batch file to see a description of each faction ID. Note: If you want to search for factions of NPCs don't put "Player." in your batch file.When you have the console open in step 4 before running the batch file make sure the NPC is selected by clicking on them. Tip: Learning a macro based editor such as VIM (VI IMproved) can help a lot with step 3.Try ":map q n." The q key will do a search next (n) and repeat the last change (.) Hope this helps,UBCToad.Thanks for this! But somehow when I use the help "FACT" or help "Faction" command, the game won't give me all the factions other than 400+ of them. I could look up the FormIDs of some not-included faction on UESP and successfully use GetInFaction command with them, but they are just not in the outputs. For example I was looking into what's wrong with Ondolemar, and found out only 2 of the 9 factions he is in were in the list. I could look up those other 7 factions and get 1.00 from GetInFaction, but I still could not know what other faction he was wrongly put in. Any idea why and how to fix it? Link to comment Share on other sites More sharing options...
Norstaera Posted December 1, 2017 Share Posted December 1, 2017 I use Mod Organizer. Where would I place the .bat file? Link to comment Share on other sites More sharing options...
Teria23 Posted December 5, 2018 Share Posted December 5, 2018 I did everything according to this instruction but I get this error: Bat GetPlayerFactions.BATSyntax Error. Reference not allowed in this context.Missing parameter String.Compiled script not saved! :( Link to comment Share on other sites More sharing options...
cridus Posted December 12, 2020 Share Posted December 12, 2020 (edited) I did everything according to this instruction but I get this error: Bat GetPlayerFactions.BATSyntax Error. Reference not allowed in this context.Missing parameter String. Compiled script not saved! :sad: This is 2 years later but for anyone else having this problem: put the name of the file bewteen double quotes (this character -> " ). Also now I'm trying to understand how to make the console output to a file to be able to see all of the results. Edit: so far I've found only this mod: https://www.nexusmods.com/skyrimspecialedition/mods/28210 Basically, among other things, it allows you to write the console's output to a file by writing after a command: " > filename". So, a space, the character ">" and another space, followed by the name of the file to write to. You might want to wrap the file's name between double-quotes (it's required if it contains spaces).Example: help DA04SeptimusYouCrazy 0 > "console_output.txt" Unfortunately, as of now using the "bat" command like this still doesn't output anything to file... I've asked the author if he can look into it. Edited December 13, 2020 by cridus Link to comment Share on other sites More sharing options...
Recommended Posts