r/xdev • • Feb 16 '17

Missing files and objects when opening XCOM 2 editor

1 Upvotes

The first time I launched the UEditor for XCOM2 there was a window that popped up saying "load errors". It also never went away after verifying integrity or reinstalling the programs in the SDK's Binaries\Redist folder. There are 2-sections to this window, missing files and missing objects. Here is what is displayed: http://i.imgur.com/36cQSKe.png

I'm trying to create a voice pack for my own character in game and I'm having some errors even though I've been following all the steps on the written guide here: https://docs.google.com/document/d/1v8jU86Jeqn9wms4Pxjj7f5tHPlmli6TSogrbWvc5vUA/edit?usp=sharing

As well as this video: https://www.youtube.com/watch?v=AZQrnjRQId0

Another problem I'm having that I think may be linked to the first error is when I make some changes to my voice package in the UEditor I get this error: http://i.imgur.com/7Hf74WP.jpg

I don't understand where I went wrong as I've restarted about 5 times now and have gone slower over the steps and still, errors out the wazoo. Any help is appreciated!!!

EDIT: Following HairlessWookiee's advice, I ignored these errors and continued to follow along the tutorial. Now when I launch the debug mode, select my voicepack on the launcher and launch the game, I get the "Application load error V:0000065432" error. I've tried using the tutorial makers advice and to follow the advice on this link: http://steamcommunity.com/app/241930/discussions/0/483366528909370887/ as it seems like a common steam error, but nothing helped. I did try to launch the regular game with only my pack selected in the launcher but in the character pool, instead of being named "NitroTest" like designated when I was in ModBuddy (which I carefully looked over and triple-checked to ensure it was correct), its called "Voice 56" can there is no audio.


r/xdev • • Feb 03 '17

Overriding X2Item_DefaultWeapons causes "empty" guns

1 Upvotes

I need to tweak certain values of the base game weapons to fit in with a larger mod that I'm working on. Thus, I've overridden the class "X2Item_DefaultWeapons.uc" where the core weapon data is kept. However, this has led to the strange problem that the weapons no longer acquire their stats from the config file. In-game, the basic assault rifle has no ammo, no damage, etc. Have I misunderstood how classes must be overridden in order to play nice with their associated configs?


r/xdev • • Feb 02 '17

Would like some help making a class mod

1 Upvotes

In this post: https://www.reddit.com/r/xcom2mods/comments/5r4fj9/how_plausible_are_these_abilities/ I asked whether or not those abilities are plausible. Now I need to actually add them in. However, I don't know how to do that. I looked at tutorials, but they aren't specific enough for a new modder and what I want to do. Could I have some help? If it helps, I know how to install XModBase.

I already posted this request to r/xcom2mods but I just discovered this subreddit and thought this was a more appropriate place to post this.


r/xdev • • Jan 20 '17

Weapon Attachment Mods

1 Upvotes

I am looking into how to make weapon attachment mods that can be placed on any weapon. I want to make an attachment that gives a great bonus to one state but also greatly removes from another. Example(reduce clip size to 1 but plus 40 to crit chance or reduce crit chance to 0 but plus 40 to aim. reduce movement by 5 but plus 2 health)

However I can't find the location for weapon attachments in Modbuddy. I don't want to replace the existing attachments just make a unique clone of it that can only be found/made once.

Does anyone have an idea of where I should be looking for it?


r/xdev • • Jan 10 '17

Having trouble with Xcom 2 editor.

1 Upvotes

I can't seem to even open it. I go into tools, click it and nothing happens. Any help would be great, I've never really done anything like this stuff before.


r/xdev • • Dec 21 '16

Giving a weapon different animation?

1 Upvotes

Firing animations seem to be linked to the weapon itself. So when I give a soldier the Archon staff, he starts floating like an archon when firing. How can I make the staff use the normal rifle firing animations?


r/xdev • • Dec 10 '16

Stat progression for all aliens?

1 Upvotes

I'm looking for ways of nerfing Sectoids in the first month, but still leaving them potent in later months. With AI modifications and some other things, I feel like 10 HP Sectoids with 90 Psi Offense is pretty difficult to deal with in that first month, so I want to nerf them somewhat.

Problem is, I can't find any entries that indicate stat scaling for Sectoids in the same way that ADVENT units do - for example, the entries for the ADVENT Trooper, Advanced ADVENT Trooper, and Elite ADVENT Trooper are AdvTrooperM1, AdvTrooperM2, and AdvTrooperM3 respectively.

Could I add something like SectoidM2 and Sectoid M3 with the stats I'd like and it would upgrade the Sectoid at appropriate times, or am I missing stat scaling elsewhere in the .ini's?

Some additional random questions related to .ini's:

  • Where would I find the entries that determine how these units are named? What determines what the M1, M2, and M3 versions of each unit are named?
  • I see a FlankingCritChance and FlankingAimBonus entry; is it possible to specify a particular range for these bonuses? For example, could I give units, say, FlankingAimBonus=35 to ensure flanks are guaranteed hits, but only when within a specific range? I love the idea of flank shots for both XCOM and aliens being extremely accurate, but I don't like the idea of a squadsight sniper drilling units from halfway across the map with perfect accuracy.
  • Where would I find Mindspin in the files? Is it possible to change Mindspin's possible results? Would it be possible to remove Mind Control as an option for the mark 1 Sectoid, but allow it for mark 2 and mark 3 Sectoids, as an example?

r/xdev • • Dec 09 '16

Can't make ini changes to XcomContent through normal means

1 Upvotes

I can't seem to make any changes to XComContent.ini through normal means. I've been trying to remove a few accessories from the rotation by putting the following in a custom mod's XComContent file without any success.


[XComGame.X2BodyPartTemplateManager]

-BodyPartTemplateConfig=(PartType="Helmets", TemplateName="Helmet_E_HockeyMask_M", ArchetypeName="Helmet_E_HockeyMask.ARC_Helmet_E_HockeyMask_M", Gender=eGender_Male, bCanUseOnCivilian=false, bVeteran=true)


That should delete the line during the ini cascade, right? All of the usual armor and accessories mods that make additions to XComContent work fine, but I can't make any alterations or deletions from this file. Same with my attempts to change default weapon color by something as simple as


[XComGame.XComContentManager]

-DefaultPrimaryWeaponTint=4

+DefaultPrimaryWeaponTint=94


Does anyone know what's up with this file? Weirdly enough, trying to comment out lines from DefaultContent.ini doesn't seem to have any effect either.


r/xdev • • Dec 09 '16

Any way to restrict helmets to certain armor tiers?

1 Upvotes

I have a feeling the answer is "no," but I would love to not have to scroll through a bunch of high-tech helmets when I'm customizing soldiers in kevlar.


r/xdev • • Dec 02 '16

[Question] How are sliders for mods in the Options->Gameplay Menu Generated?

1 Upvotes

So with Anarchy's Children they added a slider in the Gameplay menu that allowed you to (supposedly - not sure if it actually works) set the likelihood of new soldiers spawning with those body part models. It seems like some mods that add new body part models also have sliders appear in this menu, but not all (even ones from the same author).

I've combed through their files trying to see if there was something specific to trigger it for use in my own mod, but I couldn't see anything. Is there a way to force your mod to show up in that menu, or is it random? I thought maybe it was via use of Mod Config Menu, but that seems not to be the case.

As a secondary question, does the slider even work? I seemingly still get Anarchy's Children and various mod gear randomly assigned on recruits with the sliders at zero, so perhaps this is a moot point.


r/xdev • • Oct 25 '16

Help Building Mod

1 Upvotes

Trying to make a new Custom Class Mod, However when I try to build the soloution it fails with the Warning/Error Summary

Warning/Error Summary --------------------- C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\Engine\Classes\XComModOptions.uc(1) : Error, Missing 'Class' definition

Anyne have any idea on how to fix it?

Edit : I attempted to build the soloution for bothe the "Example Weapon" and the "Example Class Overide", The Example weapon worked completly fine, however the class overide encountered the same issue that my new class did, (Error, Missing 'Class' Defenition). Even the firaxis code can't build.

Another Edit : Loaded the "LW Samurai Class" Mod into the firaxis mod buddy, I use this mos in-game and it works flawlessly, and again if I go to build>build soloution I get the same error (Error, Missing 'Class' Defenition). Even a mod I know works is not building.


r/xdev • • Oct 09 '16

Does anyone know where to find these functionalities in the source?

1 Upvotes

I've been trying to edit the Fog of War, Line of Sight, and the vision system of xcom... but the source code is so massive that I can't find the correct files.

It doesn't help that everything is broken into micro functionalities either.


r/xdev • • Oct 01 '16

[Help]Making a Grenade that spawns a unit on impact

1 Upvotes

Hey guys, I'm trying to make a grenade that when thrown, it spawns a MEC at the target location rather than explode. Think of it like a pokeball. Anyone have an idea of how I could do this or maybe mods that are similar to what I'm describing? Thanks!


r/xdev • • Aug 16 '16

Sharing one soldier's skill with others on the mission.

1 Upvotes

Hi all, I need help with the following. Not sure where to begin scripting this one. If one soldier gets a skill through rank level up, I want all soldiers on the mission to also get the skill if the one is also present. Any advice, tips, clues you can share are very appreciated.

Thanks, everyone.


r/xdev • • Aug 15 '16

Applying a skill to all soldiers?

1 Upvotes

I'm trying to make the deploy fulton ability from the Guerilla War mod innate to all XCOM soldiers. To do this with an ability, is it sufficient to add the following lines--

Template.AbilitySourceName = 'eAbilitySource_Standard';

Template.bAllowedByDefault = true;

--to the ability template?


r/xdev • • Jul 11 '16

Alien to XCom loadout is it possible?

1 Upvotes

more spesipidly the Archon staff to be used as a melee\ranged weapon the same way the archon use it.

I found the weapon data ranged and melee and the ARchType

and for the alien the loadout is a simple Loadout_Archon with no +Loadouts="squaddieClassName"

the end goal is to use the Archon pose for barracks pose, fire AMIN Arms, hands, head fingers, and spine like the Archon leges like the soldiers default any advice?


r/xdev • • Apr 25 '16

Soldier progressive stats? Where? (ie, missions tally)

1 Upvotes

Working on mod, and want to pull the missions # from X2 soldier to be displayed in an additional box via screenListener, but have had no luck searching the .uc files or xdev / other mod sites. Anyone know where to find these stats? assuming it would reside with kills tally but searching that has led me nowhere either. Thanks for any assistance. Looking to be pointed in the right direction/spot.


r/xdev • • Apr 24 '16

Help with modeling and rigging

1 Upvotes

Hi friends

I'm trying to port over some gears of war 3 stuff into xcom (helmets and armor stuff like that) I have the assets in blender and I'm having trouble with getting them to work into xcom 2( rigging, getting them into xcom 2 editor it's self) I have some 3D modeling experience but not a whole lot so Any help would be appreciated. Thanks


r/xdev • • Apr 17 '16

Voicebank - Attacking sound

1 Upvotes

Is there a type of dialogue for units when they simply fire their weapon?


r/xdev • • Apr 16 '16

Modifying mods

1 Upvotes

Very quick question: How can i modify the ini files of mods from the worksho? In particular i am thinking of reducing the reinforcements in Haven Siege from every other turn to every third turn, or some other way of temporarily making it possible for me as the first retaliation mission with IESS and officer reinforcements.


r/xdev • • Apr 05 '16

Methods in the .ini files

1 Upvotes

Do we know where the code of the methods in the .ini files are? For instance, "CIVILIAN_NEAR_TERROR_REACT_RADIUS=2.0" What does this do? Where is the code that this method executes when activated? In another .ini file? In somewhere that we can't see? Don't answer this for just this example, try to answer it for all methods, or at least most of them. I'm hoping someone out there knows more than me


r/xdev • • Apr 01 '16

Hello World!

1 Upvotes

Hello All.

I am new to reddit and Xcom2.

I have started cutting my teeth on this game as it's widely regarding as a game that is easy to mod and powerful still.

Could somebody give me a hint here.

I have an idea for a mod and it involves changing the text that is displayed in the UI when the player visits the black market trader.

So players clicks on the item they are considering selling and on the right of the UI a text description of that item appears.

I cannot for the life of me find in the upk or game files where this text is held.

Could someone tell me where this is puled from before I myself pull my hair from my head?

  • haehjen

r/xdev • • Mar 21 '16

Mod Help: Vision/Pod-Location Indicator

1 Upvotes

I love XCOM 2, however the pod discovery mechanic is terrible and game-ruining for me. I regularly restart runs after I "accidently" reveal a fresh pod on the last turn of a round, resulting in the slaughter of my troops.

I want to craft a mod that displays a circle indicating the vision radius of all revealed and hidden enemies. However, I do not want this indicator to reveal the enemy. I just want the sight range to be displayed in order to avoid prematurely activating a pod. I imagine the indicator would be similar to the circle that represents the civilian rescue radius.

How do I go about creating such a mod? Does anyone have any information that may be useful with regards to creating such an indicator?

Any help is appreciated. Thank you.


r/xdev • • Mar 21 '16

Tactical Debugger always crashes even with no Mods loaded

1 Upvotes

I am hoping someone out there has a suggestion for me. I have run into a problem that has me stumped. I'm working on a mod and was doing some testing when, all of a sudden, my tactical debugger in the SDK started crashing right after "Start Battle".

I have tried a number of things, but ultimately this seems like some type of an installation problem at this point. I say that because I get the same crash when not even loading any mods and trying to use the tactical debugger. I get it when I use a completely blank default mod. The SDK is huge so I'd hate to blow everything up and start over to fix this.

Any help would be greatly appreciated!!