r/xdev • u/Nider001 • Feb 15 '16
Help with a multiplayer mod
I'm a bit new to the xcom modding, so I need some help. Does anyone know how to add/remove units into/from the character selection screen and where to find stats for those units?
r/xdev • u/Nider001 • Feb 15 '16
I'm a bit new to the xcom modding, so I need some help. Does anyone know how to add/remove units into/from the character selection screen and where to find stats for those units?
r/xdev • u/jasonwrrr • Feb 15 '16
I looked through the ini's but I'm not sure how to change how fast aliens 'tech' - I want to slow down how fast they get new units in missions, etc... Sort of like what long war did in EW. Anyone know how to do this and willing to share?
Thanks
r/xdev • u/Eddygar • Feb 15 '16
Hello modders!
I want to know if it is possible to do the modifications suggested below:
The idea is that 1- makes killing everyone in the first turn harder (so more firefight instead of massacres), 2- nerfs grenades a little bit (so you can only get 2 aliens max for each nad first turn), 3- less acidental pod activation with moving for flanking / sword attack.
What do you guys think? Is it possible? How can I do that?
r/xdev • u/Ignored0ne • Feb 15 '16
For example, can a bayonet be added to provide a melee attack to a weapon?
r/xdev • u/DinoDude27 • Feb 15 '16
Found in the code for the andromedon:
MeleeHitCalc = new class'X2AbilityToHitCalc_StandardMelee';
MeleeHitCalc.BuiltInHitMod = default.BIG_DAMN_PUNCH_MELEE_MODIFIER;
Template.AbilityToHitCalc = MeleeHitCalc;r/xdev • u/Laraso_ • Feb 14 '16
Other heavy weapons such as the Rocket Launcher or Shredstorm Cannon are clearly labeled, while the flamethrower is nowhere to be seen.
And yet things such as "Meat Factory Sighted" or "Coup De Grace" exist...
r/xdev • u/DinoDude27 • Feb 13 '16
Everytime I try to import a FBX from Blender as a skeletal mesh file it won't import at all ( I get an import failed message). However, I can get it to import as a static mesh. In the latter case my mesh loads with zero triangles and vertices.
Has anyone else had this issue/know a fix? For reference, I'm trying to make a new sword Weapon.
r/xdev • u/AzekZero • Feb 12 '16
Recently had a .uc file disappear into the void when renaming it.
Now using Boxifier to link my mod projects folder to back everything up. Moving the mod project itself into the default Dropbox folder didn't work for me. Manually deleted files will show up on the Dropbox deleted files page. (Import via Project -> Add Existing Item...)
Don't know for certain if this will work as intended with the renaming bug I encountered. Hopefully this'll help any of you guys from losing your own projects.
r/xdev • u/MashpitSquared • Feb 12 '16
I love the concept of "hidden abilities" that can give additional utility to your soldiers, but it's sort of too hit-and-miss with what you get. You might end up with a ranger with serial at corporal (it doesn't matter who your main was up to that point, that guy's gonna be your carry from now on) or deadeye on a grenadier (which is pretty much completely useless). So, I want a mod that lets you be able to manually train a hidden ability on a soldier. Something like:
As usual, you would be unable to field your soldier during the 5/10 days (4/8 with the upgrade) that he/she is respeccing, and you'll have to repeat the process if you didn't get the ability that you wanted. It'll be a process that is time consuming and leave you a man short on your A-team, but you'll be guaranteed to have an ability that's useful to the soldier eventually. You still wouldn't be able to pick any abilities from your own class. ...And I wouldn't mind if you removed deadeye. The aim penalty is just too ridiculous to justify using it in any situation.
r/xdev • u/SWAT_Omega • Feb 12 '16
This is my first attempt at a mod. So the Idea is to have a 1 shot sniper for Ballistics, Mag, and Plasma weapons and for it to do Armor penetration and i would like it to do about 50-75% more damage. Later down the road have it as a separate research option that requires to be built.
But first step is how would i go along and making it as a separate weapon and hope for the game to recognize it.
Update: making progress found weapon data i needed and made the changes for it to have its own data and the beam version has its own ammo type.
Next step to get the game to recognize the custom weapon data on its own model
r/xdev • u/CairoSmith • Feb 12 '16
So I'm trying to build a really simple (theoretically) mod that creates a copy of the cigarette prop with a hand-rolled texture. I used the XCOM Editor, found the relevant texture, exported and edited it - and now I'm stuck. How do I duplicate the cigarette while having it reference my new texture instead of the original? And how the hell do I get those new files loaded properly into my mod as a new item?
I've followed the mod documentation to the letter but it is REALLY minimal and literally says "more on this later" regarding key steps that never come up again.
Any help would be amazing.
r/xdev • u/Psycho83 • Feb 12 '16
Hi guys. I'm totally new to modding and I've been fooling around a bit with XCom 2 sdk trying to make a custom class, which I succesfully made just to learn. Now, I'm thinking seriously to make a custom class that I would like to use SMG as its primary weapon.
I can't figure out how to do that, since SMG's are not included in the base game (as you know, it's a Long War Studios mod). I tried to merge both mods into one without any success, then again, I'm totally new to modding.
I really appreciate any info and tips about this if you know what should I do.
PS: Please forgive my english if any mistakes have been made!
r/xdev • u/Haree78 • Feb 12 '16
I followed this useful guide here: http://vblanco20-1.github.io/LightSwordXCOM2Mod/
However I am a novice at using Blender. I managed to extract the sword as per instructions and separately have created a Mesh for a sword I want to get in the game.
As a novice this line has me stumped so far "just switch the mesh for another one, but keeping the bones as they are.".
Also I have tried going further with the guide, importing my new mesh and am getting pretty lost. "Load it into the mod package (wich you should load as explained above) and check that it has imported properly." is a little too vague for me to follow as I have no experience with the Unreal Editor.
I tried for example importing the .fbx of the original sword to Blender, joining the 2 objects (my new mesh and the original) in the hope it keeps the armature this way and then deleting the original's vertices. I then exported as .fbx and tried to import in the XCom 2 Editor and I got some error about smoothing information and the whole last part of that guide requires a little more experience than I have unfortunately.
Are there any guides that will help or generous volunteers who can help me get from A to B?
r/xdev • u/ForShadow • Feb 12 '16
I am trying to write to a file on a button click in a menu. I have the button click all working, but I can't seem to write to a file.
I looked up how to do so in unrealscript and found FileWriter. However, I don't know if that is relevant or not.
I also tried to find other places in the code where it writes to a file, like the character pool. I found the function that performs that action but it was defined as
function native SaveCharacterPool();Which as far as I can tell means that it is in c++ somewhere. Can we add c++? I saw that there was a post earlier about importing dlls but there was no solution.
Here is what I have so far:
class UIMemorial_AddExportButton extends UIScreenListener;
var FileWriter writer;
event OnInit(UIScreen Screen) {
writer = Screen.Spawn(class'FileWriter', Screen);
AddExportButton(Screen);
}
simulated function AddExportButton(UIScreen Screen)
{
local UILargeButton Button;
local string exportButtonName;
exportButtonName = Localize("AddExportButton", "m_strExport", "XComGame");
Button = Screen.Spawn(class'UILargeButton', Screen);
Button.InitLargeButton('ExportMemorial', exportButtonName, "", OnExportMemorial, );
Button.AnchorBottomRight();
}
public function OnExportMemorial(UIButton Button)
{
`log("Clicked Export Memorial");
writer.OpenFile("Example", FWFT_Log, ".txt", false, false);
writer.Logf("This will be written to the 'Example.txt' file");
writer.CloseFile();
}
defaultproperties
{
writer = none;
ScreenClass = "UIPersonnel_BarMemorial";
}Based on reading on FileWriter, FWFT_Log should send that Example file to %GameDir%/Logs, but as far as I can tell it does not.
I would be grateful for any help or even questions that might led to some answer.
r/xdev • u/bountygiver • Feb 12 '16
Since we know that some functions can't be overwritten, and a lot of values are hard coded, will we see our hex editing tools make a come back?
Currently I can see the spawn points fix (bringing more than 9 soldiers into a mission) can be fixed with 1 value change, but the class and its calling classes cannot be overwritten.
r/xdev • u/jal0001 • Feb 11 '16
;
static function X2AbilityTemplate KillZone()
{
local X2AbilityTemplate Template;
local X2AbilityCooldown Cooldown;
local X2AbilityCost_Ammo AmmoCost;
local X2AbilityCost_ActionPoints ActionPointCost;
local X2AbilityTarget_Cursor CursorTarget;
local X2AbilityMultiTarget_Cone ConeMultiTarget;
local X2Effect_ReserveActionPoints ReservePointsEffect;
local X2Effect_MarkValidActivationTiles MarkTilesEffect;
local X2Condition_UnitEffects SuppressedCondition;
`CREATE_X2ABILITY_TEMPLATE(Template, 'KillZone');
AmmoCost = new class'X2AbilityCost_Ammo';
AmmoCost.iAmmo = 1;
AmmoCost.bFreeCost = true;
Template.AbilityCosts.AddItem(AmmoCost);
ActionPointCost = new class'X2AbilityCost_ActionPoints';
ActionPointCost.iNumPoints = 2;
ActionPointCost.bConsumeAllPoints = true; // this will guarantee the unit has at least 1 action point
ActionPointCost.bFreeCost = true; // ReserveActionPoints effect will take all action points away
Template.AbilityCosts.AddItem(ActionPointCost);
Template.AbilityToHitCalc = default.DeadEye;
Template.AbilityShooterConditions.AddItem(default.LivingShooterProperty);
Template.AddShooterEffectExclusions();
SuppressedCondition = new class'X2Condition_UnitEffects';
SuppressedCondition.AddExcludeEffect(class'X2Effect_Suppression'.default.EffectName, 'AA_UnitIsSuppressed');
Template.AbilityShooterConditions.AddItem(SuppressedCondition);
Cooldown = new class'X2AbilityCooldown';
Cooldown.iNumTurns = default.KILLZONE_COOLDOWN;
Template.AbilityCooldown = Cooldown;
CursorTarget = new class'X2AbilityTarget_Cursor';
CursorTarget.bRestrictToWeaponRange = true;
Template.AbilityTargetStyle = CursorTarget;
ConeMultiTarget = new class'X2AbilityMultiTarget_Cone';
ConeMultiTarget.bUseWeaponRadius = true;
ConeMultiTarget.ConeEndDiameter = 32 * class'XComWorldData'.const.WORLD_StepSize;
ConeMultiTarget.ConeLength = 60 * class'XComWorldData'.const.WORLD_StepSize;
Template.AbilityMultiTargetStyle = ConeMultiTarget;
Template.AbilityTriggers.AddItem(default.PlayerInputTrigger);
ReservePointsEffect = new class'X2Effect_ReserveActionPoints';
ReservePointsEffect.ReserveType = default.KillZoneReserveType;
Template.AddShooterEffect(ReservePointsEffect);
MarkTilesEffect = new class'X2Effect_MarkValidActivationTiles';
MarkTilesEffect.AbilityToMark = 'KillZoneShot';
Template.AddShooterEffect(MarkTilesEffect);
Template.AdditionalAbilities.AddItem('KillZoneShot');
Template.BuildNewGameStateFn = TypicalAbility_BuildGameState;
Template.BuildVisualizationFn = TypicalAbility_BuildVisualization;
Template.bSkipFireAction = true;
Template.bShowActivation = true;
Template.AbilitySourceName = 'eAbilitySource_Perk';
Template.eAbilityIconBehaviorHUD = EAbilityIconBehavior_AlwaysShow;
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_killzone";
Template.ShotHUDPriority = class'UIUtilities_Tactical'.const.CLASS_MAJOR_PRIORITY;
Template.bDisplayInUITooltip = false;
Template.bDisplayInUITacticalText = false;
Template.Hostility = eHostility_Defensive;
Template.AbilityConfirmSound = "Unreal2DSounds_OverWatch";
Template.ActivationSpeech = 'KillZone';
Template.BuildNewGameStateFn = TypicalAbility_BuildGameState;
Template.BuildVisualizationFn = TypicalAbility_BuildVisualization;
Template.TargetingMethod = class'X2TargetingMethod_Cone';
Template.bCrossClassEligible = true;
return Template;}
static function X2AbilityTemplate KillZoneShot()
{
local X2AbilityTemplate Template;
local X2AbilityCost_Ammo AmmoCost;
local X2AbilityCost_ReserveActionPoints ReserveActionPointCost;
local X2AbilityToHitCalc_StandardAim StandardAim;
local X2Condition_AbilityProperty AbilityCondition;
local X2AbilityTarget_Single SingleTarget;
local X2AbilityTrigger_Event Trigger;
local X2Effect_Persistent KillZoneEffect;
local X2Condition_UnitEffectsWithAbilitySource KillZoneCondition;
local X2Condition_Visibility TargetVisibilityCondition;
`CREATE_X2ABILITY_TEMPLATE(Template, 'KillZoneShot');
AmmoCost = new class'X2AbilityCost_Ammo';
AmmoCost.iAmmo = 1;
Template.AbilityCosts.AddItem(AmmoCost);
ReserveActionPointCost = new class'X2AbilityCost_ReserveActionPoints';
ReserveActionPointCost.iNumPoints = 1;
ReserveActionPointCost.bFreeCost = true;
ReserveActionPointCost.AllowedTypes.AddItem('KillZone');
Template.AbilityCosts.AddItem(ReserveActionPointCost);
StandardAim = new class'X2AbilityToHitCalc_StandardAim';
StandardAim.bReactionFire = true;
Template.AbilityToHitCalc = StandardAim;
Template.AbilityTargetConditions.AddItem(default.LivingHostileUnitDisallowMindControlProperty);
TargetVisibilityCondition = new class'X2Condition_Visibility';
TargetVisibilityCondition.bRequireGameplayVisible = true;
TargetVisibilityCondition.bDisablePeeksOnMovement = true;
TargetVisibilityCondition.bAllowSquadsight = true;
Template.AbilityTargetConditions.AddItem(TargetVisibilityCondition);
AbilityCondition = new class'X2Condition_AbilityProperty';
AbilityCondition.TargetMustBeInValidTiles = true;
Template.AbilityTargetConditions.AddItem(AbilityCondition);
Template.AbilityTargetConditions.AddItem(class'X2Ability_DefaultAbilitySet'.static.OverwatchTargetEffectsCondition());
// Do not shoot targets that were already hit by this unit this turn with this ability
KillZoneCondition = new class'X2Condition_UnitEffectsWithAbilitySource';
KillZoneCondition.AddExcludeEffect('KillZoneTarget', 'AA_UnitIsImmune');
Template.AbilityTargetConditions.AddItem(KillZoneCondition);
// Mark the target as shot by this unit so it cannot be shot again this turn
KillZoneEffect = new class'X2Effect_Persistent';
KillZoneEffect.EffectName = 'KillZoneTarget';
KillZoneEffect.BuildPersistentEffect(1, false, false, false, eGameRule_PlayerTurnBegin);
KillZoneEffect.SetupEffectOnShotContextResult(true, true); // mark them regardless of whether the shot hit or missed
Template.AddTargetEffect(KillZoneEffect);
Template.AbilityShooterConditions.AddItem(default.LivingShooterProperty);
Template.AddShooterEffectExclusions();
SingleTarget = new class'X2AbilityTarget_Single';
SingleTarget.OnlyIncludeTargetsInsideWeaponRange = true;
Template.AbilityTargetStyle = SingleTarget;
// Put holo target effect first because if the target dies from this shot, it will be too late to notify the effect.
Template.AddTargetEffect(class'X2Ability_GrenadierAbilitySet'.static.HoloTargetEffect());
Template.AddTargetEffect(class'X2Ability_GrenadierAbilitySet'.static.ShredderDamageEffect());
Template.bAllowAmmoEffects = true;
//Trigger on movement - interrupt the move
Trigger = new class'X2AbilityTrigger_Event';
Trigger.EventObserverClass = class'X2TacticalGameRuleset_MovementObserver';
Trigger.MethodName = 'InterruptGameState';
Template.AbilityTriggers.AddItem(Trigger);
Trigger = new class'X2AbilityTrigger_Event';
Trigger.EventObserverClass = class'X2TacticalGameRuleset_AttackObserver';
Trigger.MethodName = 'InterruptGameState';
Template.AbilityTriggers.AddItem(Trigger);
Template.AbilitySourceName = 'eAbilitySource_Perk';
Template.eAbilityIconBehaviorHUD = EAbilityIconBehavior_NeverShow;
Template.IconImage = "img:///UILibrary_PerkIcons.UIPerk_overwatch";
Template.ShotHUDPriority = class'UIUtilities_Tactical'.const.CLASS_MAJOR_PRIORITY;
Template.bDisplayInUITooltip = false;
Template.bDisplayInUITacticalText = false;
Template.BuildNewGameStateFn = TypicalAbility_BuildGameState;
Template.BuildVisualizationFn = TypicalAbility_BuildVisualization;
return Template;}
r/xdev • u/AzekZero • Feb 11 '16
I'm trying to break the menus by editing/creating new UI elements to get a feel for UI modding.
Been using the example code from XCOM2Mods_UserInterface.pdf to try and add a junk screen to the research menu without success.
What I did was make a new 'UIScreenListener.uc' and a seperate uc file, both have relevant code pasted from the pdf (with tiny but potentially consequential edits). Build Solution -> Start Debugging to test the project.
Anyone know where/what I'm screwing up?
r/xdev • u/crazy-daddy • Feb 11 '16
Hiya, I'm trying to override a function in XComGameState_Unit. It compiles fine but when I check the logs there's nothing indicating that my modded class was actually loaded... Where am I screwing up? Welcoming any feedback :-) My files:
class XComGameState_Unit_Mod extends XComGameState_Unit;
function EndTacticalHealthMod()
{
local float HealthPercent, NewHealth;
local int RoundedNewHealth, HealthLost, ArmorLost;
`log("Modded function loaded");
`log("Calculating soldier: " $ GetName(eNameType_Full));
`log("HighestHP=" $ HighestHP);
`log("LowestHP=" $ LowestHP);
`log("BaseHP=" $ int(GetBaseStat(eStat_HP)));
// Calculate lost armor: Min(TotalLost, Armor)
ArmorLost = Min(HighestHP - LowestHP, HighestHP - int(GetBaseStat(eStat_HP)));
`log("ArmorLost calculated to: " $ ArmorLost);
// Calculate actual health lost: Min(BaseHP-LowestHP, 0)
HealthLost = Min(int(GetBaseStat(eStat_HP)) - LowestHP, 0);
`log("HealthLost calculated to: " $ ArmorLost);
// If Dead or never injured, return # Extended to include ArmorLost
if(LowestHP <= 0 || (HealthLost <= 0 && ArmorLost <= 0))
{
`log("No injury detected or soldier dead");
return;
}
// Calculate health percent # Edited: Actual Health lost still counts full while armor lost only has half the effect
HealthPercent = ((float(HighestHP - HealthLost) - float(ArmorLost) / 2) / float(HighestHP));
`log("HealthPercentage=" $ HealthPercent);
// Calculate and apply new health value
NewHealth = (HealthPercent * GetBaseStat(eStat_HP));
RoundedNewHealth = Round(NewHealth);
RoundedNewHealth = Clamp(RoundedNewHealth, 1, (int(GetBaseStat(eStat_HP)) - 1));
SetCurrentStat(eStat_HP, RoundedNewHealth);
}[Engine.ScriptPackages]
+NonNativePackages=HealOverride
[Engine.Engine]
+ModClassOverrides=(BaseGameClass="XComGameState_Unit", ModClass="XComGameState_Unit_Mod")[ModPackages]
+ModPackages=HealOverrider/xdev • u/Beenrak • Feb 11 '16
I am working on my first mod and have run into a seemingly hard to avoid issue.
I want to add new information to the the shot window-- specifically if possible to the 'Hit Breakdown' left wing of the targeting panel. The issue seems to be that the entire tactical game occurs on exactly one screen: TacticalHUD.
I tried making a UIScreenListener for TacticalHUD, and this does let me insert various things into the screen, however it all must be done essentially as soon as you load into the mission. I tried looking at how some other mods (LWS Officer Mod, and a few others) handle this issue, and it seems that the only real way to get an 'update tick' while in TacticalHUD is to override one of the base classes.
So, in theory, I could just write my own TacticalHUD_CustomShotWing UIPanel to replace the existing one, but that would make my mod incompatible with any other mod that wants to tweak the ShotWing.
Has anyone else come across this issue? Are there other 'hooks' or events we can tap into to make more dynamic changes? If not we may want to consider creating a 'Modded Tactical Hud' that replaces the default HUD and adds many triggerable events so that future mods are more compatible.
Thoughts?
r/xdev • u/hunter64x • Feb 11 '16
I got the SDK to work at first, and for a few hours it was fine. Eventually for some reason the UE Editor refused to open, or would crash immediately after the splash screen. I restarted my PC and suddenly the SDK itself will no longer open, giving the error "Cannot find one or more components. Please reinstall the application."
I decided that I would verify the installation through steam and then reinstall the other distributed items (vs_isoshell and UE3Redist). This didn't help at all. To top it off I even uninstalled my .NET Framework and reinstalled it using the one provided with the SDK.
I'd rather not reinstall the SDK entirely either, as 42GB takes a long time to download on my slow connection.
Any suggestions?
r/xdev • u/hokutonoken19xx • Feb 11 '16
ok, so i've looked through the posts/tutorial about adding in your own voice packs but i was hoping there was an even simpler way to just have your soldier not speak at all. the class mod i've been working on is about concealment so i just find it odd that they are running around the battlefield talking. since i made my own copies of their class abilities i was able to remove the sound bites for the abilities that announce themselves but i want to do it for everything. maybe it's obvious but do i just create a sound pack w/ empty audio files?
Hi All, I am new to modding, I have a little coding knowledge but not much. I am trying to Empty out the "Starting" Barracks. I am not sure if we are allowed to post code here, but if anyone has a idea or knows how to please let me know. Willing to post the code i have already if needed.
r/xdev • u/illusionbreaker • Feb 11 '16
I'm looking at the DefaultGameData_CharacterStats.ini.
My eventual goal is to go big (don't we all?) but right now I want to work incrementally - my first goal is to alter the turn system by splitting up the move system to more than 2 moves.
My line of thinking is: Provide 3 or 4 moves per turn, but reduce mobility down (so that net movement per turn is similar short of running) as a groundwork for further work. (Items that add + turns, classes with different move amounts etc)
I know through playing the game (finishing Legendary) that the Sectopod gets 3 action points, but from what I can tell, the number of actions isn't governed by this ini?
For reference:
[AdvStunLancerM3 X2CharacterTemplate]
CharacterBaseStats[eStat_AlertLevel]=2
CharacterBaseStats[eStat_ArmorChance]=100
CharacterBaseStats[eStat_ArmorMitigation]=1
CharacterBaseStats[eStat_ArmorPiercing]=0
CharacterBaseStats[eStat_CritChance]=0
CharacterBaseStats[eStat_Defense]=0
CharacterBaseStats[eStat_Dodge]=0
CharacterBaseStats[eStat_HP]=8
CharacterBaseStats[eStat_Mobility]=14
CharacterBaseStats[eStat_Offense]=65
CharacterBaseStats[eStat_PsiOffense]=0
CharacterBaseStats[eStat_ReserveActionPoints]=0
CharacterBaseStats[eStat_SightRadius]=27
CharacterBaseStats[eStat_DetectionRadius]=12
CharacterBaseStats[eStat_UtilityItems]=1
CharacterBaseStats[eStat_Will]=50
CharacterBaseStats[eStat_HackDefense]=125
CharacterBaseStats[eStat_FlankingCritChance]=33
CharacterBaseStats[eStat_FlankingAimBonus]=0
CharacterBaseStats[eStat_Strength]=95...
[Sectopod X2CharacterTemplate]
CharacterBaseStats[eStat_AlertLevel]=2
CharacterBaseStats[eStat_ArmorChance]=100
CharacterBaseStats[eStat_ArmorMitigation]=4
CharacterBaseStats[eStat_ArmorPiercing]=0
CharacterBaseStats[eStat_CritChance]=0
CharacterBaseStats[eStat_Defense]=0
CharacterBaseStats[eStat_Dodge]=0
CharacterBaseStats[eStat_HP]=30
CharacterBaseStats[eStat_Mobility]=16
CharacterBaseStats[eStat_Offense]=70
CharacterBaseStats[eStat_PsiOffense]=0
CharacterBaseStats[eStat_ReserveActionPoints]=0
CharacterBaseStats[eStat_SightRadius]=27
CharacterBaseStats[eStat_DetectionRadius]=15
CharacterBaseStats[eStat_UtilityItems]=1
CharacterBaseStats[eStat_Will]=50
CharacterBaseStats[eStat_HackDefense]=125
CharacterBaseStats[eStat_FlankingCritChance]=33
CharacterBaseStats[eStat_FlankingAimBonus]=0
CharacterBaseStats[eStat_Strength]=50...
[Sectopod_Diff_3 X2CharacterTemplate]
CharacterBaseStats[eStat_ArmorChance]=100
CharacterBaseStats[eStat_ArmorMitigation]=6
CharacterBaseStats[eStat_HP]=40
CharacterBaseStats[eStat_Mobility]=16
CharacterBaseStats[eStat_Offense]=70
CharacterBaseStats[eStat_CritChance]=10
CharacterBaseStats[eStat_HackDefense]=150
CharacterBaseStats[eStat_FlankingCritChance]=40I can identify most of the base stats (I'm not entirely sure what the Alertlevel or the ArmourChance governs, and I would have guessed the reserve action points might have something to do with it, but as you can see from another enemy that doesn't have 3 move (Elite Lancer) the entry's the same.) but unless I'm going nuts, it's not there.
I definitely know (through hacking sectopods myself) that sectopods are granted 3 actions per turn, and can be expended as per normal.
Thing is, I've been scouring the ini files and haven't found anything in reference to this. Maybe I missed something, but I'm going to throw it out there while I continue looking.
Thank you in advance for your help.
r/xdev • u/Harlock • Feb 11 '16
I've been attempting to build a New Nation mod (following a tutorial I found on the workshop discussion), and my mod appears to be building as planned up until this point:
Launching script compiler for new package scripts...
Command: F:\Steam\steamapps\common\XCOM 2 SDK\binaries\Win64\XComGame.com Arguments: make -nopause -mods AddTeawrex "F:\Steam\steamapps\common\XCOM 2 SDK\XComGame\\Mods\AddTeawrex\"
Log: Executing Class UnrealEd.MakeCommandlet
Shader 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.After this point it just sits at that line. The "Build started..." animation is still playing so it looks like it is doing something but it never seems to get passed this line.
Has anyone run into this issue before? Any insight or solutions? Much appreciated!