serratemplar Posted March 4, 2016 Share Posted March 4, 2016 El Diablo, I honestly can't guess at what the core problem is, but I'm starting to think the tutorial is misleading you. If things work pre-tutorial but not post, I'd revert and try another tutorial. :) Link to comment Share on other sites More sharing options...
ElDiabl00 Posted March 4, 2016 Author Share Posted March 4, 2016 El Diablo, I honestly can't guess at what the core problem is, but I'm starting to think the tutorial is misleading you. If things work pre-tutorial but not post, I'd revert and try another tutorial. :smile: willing to try. anyone know of any tutorials out there then to make a flag mod. i can't really find example mod for it to download. Link to comment Share on other sites More sharing options...
serratemplar Posted March 5, 2016 Share Posted March 5, 2016 If you're just looking to add custom flags, there are several mods that do just that. This one, for instance, adds a ton of flags: http://steamcommunity.com/sharedfiles/filedetails/?id=619708200 If you play the game in Steam, just Subscribe to this and you'll get the mod and the source code. The latter of which lands in the Steam workshop directory. :) Link to comment Share on other sites More sharing options...
ElDiabl00 Posted March 5, 2016 Author Share Posted March 5, 2016 If you're just looking to add custom flags, there are several mods that do just that. This one, for instance, adds a ton of flags: http://steamcommunity.com/sharedfiles/filedetails/?id=619708200 If you play the game in Steam, just Subscribe to this and you'll get the mod and the source code. The latter of which lands in the Steam workshop directory. :smile: Those mods don't include a mod project file so there is nothing to open in the Xcom mod buddy Link to comment Share on other sites More sharing options...
davidlallen Posted March 5, 2016 Share Posted March 5, 2016 That is true, but the ini and uc files are all text files. You can open them with any editor. That is how I have picked apart the mods I was interested in. Link to comment Share on other sites More sharing options...
serratemplar Posted March 6, 2016 Share Posted March 6, 2016 That is true, but the ini and uc files are all text files. You can open them with any editor. That is how I have picked apart the mods I was interested in.Yep, on the nose. :) Link to comment Share on other sites More sharing options...
ElDiabl00 Posted March 6, 2016 Author Share Posted March 6, 2016 Right my flag mod still somehow seems to break the editor. i tried just opening and copying the files of a existing flag mod but that just gives a failure when i builsd a solution so i can't figure that out. I really just need a good step by step tutorial to making new flags/nation. I don't understand why those are so hard to find. On the Plus now when i unsuccesfully try to make a Exampleweapon mod and build a solution it gave my a full proper log this time. I'll copy it hear maybe you all can make sense of it. ------ Build started: Project: ReinstallWeapon1, Configuration: Default XCOM 2 ------Creating target folder structure...Copying files...**************************************************************|| GENERATING SCRIPT PACKAGES |************************************************************** Prepping the script source: Mirroring SrcOrig to working directory (Src) ... ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Mon Mar 07 00:13:17 2016 Source : E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\ Dest : E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\Src\ Files : *.uc *.uci Options : /S /E /COPY:DAT /PURGE /MIR /NP /R:1000000 /W:30 ------------------------------------------------------------------------------ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\*EXTRA Dir -1 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\Src\Borflags\*EXTRA Dir -1 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\Src\Borflags\Classes\ *EXTRA File 1362 Addunity.uc *EXTRA File 1287 X2DownloadableContentInfo_Borflags.uc 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\AkAudio\ 16 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\AkAudio\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\AkAudio\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\AkAudio\Src\ 1 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Core\ 10 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Core\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Core\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Core\Inc\Licensee\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Core\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Bink\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Bink\Src\ 1227 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Debugger\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\FaceFX\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Inc\DwTrioviz\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\SQL\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\Engine\Textures\ 1 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GameFramework\ 17 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GameFramework\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GameFramework\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GameFramework\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUI\ 17 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUI\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUI\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUI\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUI\VTune\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUIEditor\ 4 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUIEditor\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUIEditor\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\GFxUIEditor\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\IpDrv\ 26 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\IpDrv\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\IpDrv\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\IpDrv\Src\ 1 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\OnlineSubsystemSteamworks\ 6 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\OnlineSubsystemSteamworks\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\OnlineSubsystemSteamworks\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\OnlineSubsystemSteamworks\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\ 189 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\FaceFX\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\Models\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\SQL\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\UnrealEd\Src\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComEditor\ 16 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComEditor\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComEditor\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComEditor\Src\ 2 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\ 1928 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Classes\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Inc\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Live\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Live\Images\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Live\Images\AchievementIcons\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Live\Online\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Live\TU0\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\PSN\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\PSN\TU0\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\PSN\TU0\TargetDir\ 0 E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Src\ ------------------------------------------------------------------------------ Total Copied Skipped Mismatch FAILED Extras Dirs : 65 0 65 0 0 2 Files : 3461 0 3461 0 0 2 Bytes : 21.00 m 0 21.00 m 0 0 2.5 k Times : 0:00:00 0:00:00 0:00:00 0:00:00 Ended : Mon Mar 07 00:13:17 2016 Copying script files from workspace ...Package(ExampleWeapon) E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\mods\ReinstallWeapon1\ReinstallWeapon1\Src\ExampleWeapon\Classes\X2DownloadableContentInfo_ExampleWeapon.uc => E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\Src\ExampleWeapon\Classes\X2DownloadableContentInfo_ExampleWeapon.ucPackage(ExampleWeapon) E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\mods\ReinstallWeapon1\ReinstallWeapon1\Src\ExampleWeapon\Classes\X2Item_ModExample_Weapon.uc => E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\Development\Src\ExampleWeapon\Classes\X2Item_ModExample_Weapon.uc Deleting existing compiled script packages:E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\XComGame.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\Core.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\Engine.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\GFxUI.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\AkAudio.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\GameFramework.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\UnrealEd.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\GFxUIEditor.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\IpDrv.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\OnlineSubsystemPC.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\OnlineSubsystemLive.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\OnlineSubsystemSteamworks.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\OnlineSubsystemPSN.uE:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\Script\ExampleWeapon.u Launching script compiler for base game scripts... Command: E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\XComGame.com Arguments: make -nopause -unattendedLog: Executing Class UnrealEd.MakeCommandlet--------------------Core - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\Core.u'--------------------Engine - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\Engine.u'--------------------GFxUI - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\GFxUI.u'--------------------AkAudio - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\AkAudio.u'--------------------GameFramework - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\GameFramework.u'--------------------UnrealEd - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\UnrealEd.u'--------------------GFxUIEditor - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\GFxUIEditor.u'--------------------IpDrv - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\IpDrv.u'--------------------OnlineSubsystemSteamworks - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\OnlineSubsystemSteamworks.u'--------------------XComGame - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\XComGame.u'--------------------XComEditor - Release--------------------Analyzing...Scripts successfully compiled - saving package 'E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\..\..\XComGame\Script\XComEditor.u' Success - 0 error(s), 0 warning(s) (0 Unique Errors, 0 Unique Warnings) Execution of commandlet took: 22.28 seconds Launching script compiler for new package scripts... Command: E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\XComGame.com Arguments: make -nopause -mods ExampleWeapon "E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\\Mods\ExampleWeapon\" Log: Executing Class UnrealEd.MakeCommandletShader map M_Digital_Distortion_Ghosting_A had an invalid uniform expression set and was discarded! This most likely indicates a bug in cooking, and the default material will be used instead. And there it freezes and stays as is untill i End the XcomGame processes. Link to comment Share on other sites More sharing options...
serratemplar Posted March 7, 2016 Share Posted March 7, 2016 I'm just guessing here, but that looks like it's bombing while cooking (and failing to a material default). Have you read the official docs on adding a flag? Maybe there's some switch you need to toggle in the IDE that you've overlooked? Link to comment Share on other sites More sharing options...
ElDiabl00 Posted March 7, 2016 Author Share Posted March 7, 2016 (edited) I'm just guessing here, but that looks like it's bombing while cooking (and failing to a material default). Have you read the official docs on adding a flag? Maybe there's some switch you need to toggle in the IDE that you've overlooked? What official docs on adding flags? non of the guides tell you at all how to do nationalities which seems madness to me. Can no one just look at the mod or video links i posted and see what's wrong? And seems that all mods always face this freezing issue at: "Launching script compiler for new package scripts... Command: E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\binaries\Win64\XComGame.com Arguments: make -nopause -mods ADVENTInsignia "E:\SteamLibrary\SteamApps\common\XCOM 2 SDK\XComGame\\Mods\ADVENTInsignia\" Log: Executing Class UnrealEd.MakeCommandletShader map M_Digital_Distortion_Ghosting_A had an invalid uniform expression set and was discarded! This most likely indicates a bug in cooking, and the default material will be used instead." i don't get what is Shader map M_Digital_Distortion_Ghosting_A has to do with all the random mods im trying to run. Edited March 7, 2016 by El Diabl00 Link to comment Share on other sites More sharing options...
serratemplar Posted March 7, 2016 Share Posted March 7, 2016 Me either. One thing you could try is to build a mod from scratch - using one of those examples you've found as a target - and build up to it, line by line, see which one breaks the universe. I'm afraid I don't personally have the time to deep dive in myself, but maybe someone else on here does. Link to comment Share on other sites More sharing options...
Recommended Posts