Difference between revisions of "Customizing LW2"

From UFOpaedia
Jump to navigation Jump to search
Line 3: Line 3:
 
DeaconIvory made a list of popular mods and how compatible they are with long war. You can find that list [https://drive.google.com/file/d/0B0KYKP0J-c9vcksxLXBTUkFzdE0/view here]
 
DeaconIvory made a list of popular mods and how compatible they are with long war. You can find that list [https://drive.google.com/file/d/0B0KYKP0J-c9vcksxLXBTUkFzdE0/view here]
  
'''IMPORTANT:''' All long war files, if downloaded from the steam workshop, can be found at:
 
:Program Files (x86)\Steam\SteamApps\workshop\content\268500\844674609\
 
::This is assuming you are using Microsoft Windows operating system.
 
  
 +
== Beginners guide to modding LW2 ini files==
  
+
Long War has made it easy for individual users to tweak parts of the game for their own preference. Many modifiable values are stored in the mods config files commonly referred to as ini files for their .ini filename extension. For a typical Windows user, all LW2 files are contained at the location:
[[Category: Long War 2]]
+
:<code>Program Files (x86)\Steam\SteamApps\workshop\content\268500\844674609\</code>
 +
 
 +
It is recommended that you download and use '''Notepad++''' to alter the ini files because it is visually easier to use and numbers the lines (which may be referenced in this page).
 +
 
 +
Another useful tool is the free software '''WinMerge'''. WinMerge allows you to open two text files (like the ini) side by side and compare differences between them. This is useful when Long War is updated. To easily preserve the custom modifications you did on a previous version, open a backup copy of your old ini and the new updated ini. WinMerge will help you quickly identify differences and apply all your previous modifications to the new Long War version.
 +
 
 +
Note for OS X users, you will need to modify <code>XComGameCore.ini</code>, which is located at <code>~/Library/Application Support/Feral Interactive/XCOM Enemy Unknown/XEW/MacInit/XComGameCore.ini</code>. Some users suggest that you update <code>~/Application Support/Steam/SteamApps/common/XCom-Enemy-Unknown/XCOMData/XEW/XComGame/Config/DefaultGameCore.ini</code> as well to be safe.  You can use the built in program TextEdit or (better) TextWrangler.
  
== Some QOL ini edits ==
 
  
There are several copies of the ini files for XCOM. If you make your changes in the \Steam\steamapps\common\XCOM 2\XComGame\Config folder, then when you rebuild the \my documents\xcom2\xcomgame\config folder (after mod updates, troubleshooting, etc) You don't have to redo the changes each time. However if you verify your local files it will often overwrite the changes in all folders.  
+
There are several copies of the ini files for XCOM 2. If you make your changes in the \Steam\steamapps\common\XCOM 2\XComGame\Config folder, then when you rebuild the \my documents\xcom2\xcomgame\config folder (after mod updates, troubleshooting, etc) You don't have to redo the changes each time. However if you verify your local files it will often overwrite the changes in all folders.  
  
 
You are free to make the changes in the \my documents\xcom2\xcomgame\config folder for the same effect, the file names just replace the word "Default" with "XcomGame"
 
You are free to make the changes in the \my documents\xcom2\xcomgame\config folder for the same effect, the file names just replace the word "Default" with "XcomGame"
Line 25: Line 28:
 
inichange[3]=q will set the value to q for Legend difficulty
 
inichange[3]=q will set the value to q for Legend difficulty
 
</pre>
 
</pre>
 +
 +
== Some QOL ini edits ==
  
 
{|class="wikitable"
 
{|class="wikitable"
Line 87: Line 92:
  
 
Thus, 4 turns are added to timers on Rookie, 2 on Veteran. Modifying these can add turns.
 
Thus, 4 turns are added to timers on Rookie, 2 on Veteran. Modifying these can add turns.
 +
 +
 +
 +
[[Category: Long War 2]]

Revision as of 03:19, 31 January 2017

What other mods are compatible?

DeaconIvory made a list of popular mods and how compatible they are with long war. You can find that list here


Beginners guide to modding LW2 ini files

Long War has made it easy for individual users to tweak parts of the game for their own preference. Many modifiable values are stored in the mods config files commonly referred to as ini files for their .ini filename extension. For a typical Windows user, all LW2 files are contained at the location:

Program Files (x86)\Steam\SteamApps\workshop\content\268500\844674609\

It is recommended that you download and use Notepad++ to alter the ini files because it is visually easier to use and numbers the lines (which may be referenced in this page).

Another useful tool is the free software WinMerge. WinMerge allows you to open two text files (like the ini) side by side and compare differences between them. This is useful when Long War is updated. To easily preserve the custom modifications you did on a previous version, open a backup copy of your old ini and the new updated ini. WinMerge will help you quickly identify differences and apply all your previous modifications to the new Long War version.

Note for OS X users, you will need to modify XComGameCore.ini, which is located at ~/Library/Application Support/Feral Interactive/XCOM Enemy Unknown/XEW/MacInit/XComGameCore.ini. Some users suggest that you update ~/Application Support/Steam/SteamApps/common/XCom-Enemy-Unknown/XCOMData/XEW/XComGame/Config/DefaultGameCore.ini as well to be safe. You can use the built in program TextEdit or (better) TextWrangler.


There are several copies of the ini files for XCOM 2. If you make your changes in the \Steam\steamapps\common\XCOM 2\XComGame\Config folder, then when you rebuild the \my documents\xcom2\xcomgame\config folder (after mod updates, troubleshooting, etc) You don't have to redo the changes each time. However if you verify your local files it will often overwrite the changes in all folders.

You are free to make the changes in the \my documents\xcom2\xcomgame\config folder for the same effect, the file names just replace the word "Default" with "XcomGame"

Many changes can be difficulty specific. If there are four with a number at the end of them as follows, it is for the different difficulties.

inichange[0]=x will set the value to x for Rookie difficulty
inichange[1]=y will set the value to y for Veteran difficulty
inichange[2]=z will set the value to z for Commander difficulty
inichange[3]=q will set the value to q for Legend difficulty

Some QOL ini edits

file label to change
Zoom out further on tactical level DefaultCamera.ini change ZoomedDistanceFromCursor to 4400
DefaultCamera.ini change MaxTilesCameraCanMoveOutsideLevelVolume to 25 so that the camera isn't blocked by the edges of the AOE and can swing out (this works in LW1 as well)
DefaultClassData.ini NumInForcedDeck = 0 NumInDeck = 0 This edit removes the specific soldier class from initial promotion screens, note that you can still receive this class as a reward or for hire in the Black Market.
Activity on Avenger DefaultUI.ini set maxvisiblecrew to 30 for your difficulty (or all difficulties)
increase pool of starting soldiers DefaultGameCore NUM_STARTING_SOLDIERS=32
increase recruit pool DefaultGameData set StartingNumRecruits[0] to desired amount for rookie
DefaultGameData.ini set NumClerks_ActOne=5 NumClerks_ActTwo=10 NumClerks_ActThree=15 all at least 30. This works well with the previous edit .
flares on reinforcements XComLW_Overhaul.ini set +DISABLE_REINFORCEMENT_FLARES[0] to either true or false as desired.
initial mission timer values XComLW_Overhaul.ini Find +InitialTurnCounts=(MissionFamily="Recover_LW", Turns=8) and set Turns to desired amount for each mission type.
Reduce lag after shooting an enemy DefaultAnimation.ini set HitReactDelayTimeToDeath to 0.2

Adding more turns to the mission timers

Per the developer Amineri:

As for the timers, if you look in the config file XComLW_Overhaul, there is a difficulty-specific modifier for timers :

TimerDifficultyMod[0]=4;   Rookie
TimerDifficultyMod[1]=2;   Veteran
TimerDifficultyMod[2]=0;   Commander
TimerDifficultyMod[3]=0;   Legendary

Thus, 4 turns are added to timers on Rookie, 2 on Veteran. Modifying these can add turns.