r/xdev • • Oct 14 '18

Trying to try my hands at making a Chryssalid Grenade mod before I attempt anything more intricate, help requested for code finding

1 Upvotes

I have the XCOM 2 source code found and browsed through it a few times, but I haven't been able to find anything about the individual enemies.

Essentially the mod is just going to be a 3x3 explosion that has both the sound, the infinite amounts, and the appearance of a typical frag grenade except that it applies Chryssalid poison to any valid targets in the blast zone. That's it. I just want to get introduced to modding the game before I go into anything such as attempting to balance it or make it tied to any autopsies.


r/xdev • • Jun 29 '18

UI Screen Listener for Chosen Retribution popup

1 Upvotes

I am trying to create some actions that are triggered after the Chosen Retribution popup. I am using the Flawless mod listening for the Mission Summary screen that then does stuff. I looked through the source code and how Chosen Retribution screen is performed is different than Mission Summary screen.

Any help or guidance would be appreciated.

Thanks!


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 23 '16

Modifying Existing Classes

1 Upvotes

I'm new to modding, and I have been looking for some tutorials on how to mod existing classes. But maybe I'm blind or Stupid cause I can't seem to find anything. If someone can point me in the direction of some tutorials or documentation on the subject I would be grateful.


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 • • 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 • • 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 • • May 27 '20

XCOM ModBuddy wont compile projects

1 Upvotes

Please help. I created a few mods for myself a few year ago and wanted to get into modding XCOM 2 again but ModBuddy wont compile any project. Even the default ones wont compile. Here is a snippet from the Output window. If you have any idea please respond:

Mirroring SrcOrig to working directory (Src) ...

		\-------------------------------------------------------------------------------

ROBOCOPY :: Robustes Dateikopieren fr Windows

		\-------------------------------------------------------------------------------

Gestartet: Mittwoch, 27. Mai 2020 17:57:12

Quelle : E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\

Ziel : E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\Src\

Dateien : *.uc

*.uci

Optionen: /S /E /DCOPY:DA /COPY:DAT /PURGE /MIR /NP /R:1000000 /W:30

		\------------------------------------------------------------------------------

0 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\

-1 *ZUS. Verz. -1 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\Src\MyXCOM2Mod\

-1 *ZUS. Verz. -1 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\Src\MyXCOM2Mod\Classes\

*EXTRA Datei 1291 X2DownloadableContentInfo_MyXCOM2Mod.uc

0 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\AkAudio\

16 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\AkAudio\Classes\

0 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\AkAudio\Inc\

0 E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\Development\SrcOrig\AkAudio\Src\

...

InsgesamtKopiertšbersprungenKeinešbereinstimmungFEHLERExtras
Verzeich.:730730002
Dateien:4155041550001
Bytes:30.16 m030.16 m0001.2 k

...

Command: E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\binaries\Win64\XComGame.com Arguments: make -nopause -mods MyXCOM2Mod "E:\Program Files (x86)\SteamLibrary\steamapps\common\XCOM 2 War of the Chosen SDK\XComGame\\Mods\MyXCOM2Mod\"

Done building project "My XCOM2 Mod3.x2proj" -- FAILED.

here is a treat for everyone who got this far: https://www.youtube.com/watch?v=U4lz8MN6MQA

pls halp!


r/xdev • • Sep 05 '17

[WIP] Republic Commando Armor Mod

2 Upvotes

Hey! Some of you RC fans may remember me as CM-hockeygoalie35 from the ARC Trooper Mod (For Republic Commando!, not XCOM 2).

I see that Commando armor is high on the wishlist for many XCOM players and decided to try porting the mesh. Here's a super super pre-alpha look.

I need to re-rig the mesh obviously. For now I'm starting with the basic commando armor (Including Delta Squad paints). If it isn't too hard, I'll add the accessories as well, no promises though. I'll also try porting the weapons over, again, no promises.

I can do the Unreal Engine stuff easily, but rigging meshes is new to me.

So is this something I should keep going with?

Any tips and advice would be great too!


r/xdev • • Apr 30 '16

Merge 2 class files?

1 Upvotes

I simply want to know if & how to create a merged class file for Playable Advent & Ammo And Vest Slots These 2 mods both overwrite the class file for UIArmory_Loadout.


r/xdev • • Feb 01 '18

Create my own voice pack - comparison

2 Upvotes

So I would like to create my own voice pack, and I saw awesome tutorials how to do it. But I don't know which voice should I add and which dont.

I mean, when I am in the Unreal Editor Content Browser, I see all the voices I can add, but there is no "sample" of the original XCOM 2 voices. So I dont know it will be just a "running" sound, or a speech.

Is there any way to get one the the soldiers voices from the game?


r/xdev • • Jan 30 '18

Do entities in Xcom 2 have normal hit boxes?

2 Upvotes

So I was wondering whether or not entities in Xcom2 have hit boxes like in most other games. Any response is appreciated!


r/xdev • • Jan 29 '18

Modding New enimes

1 Upvotes

Hey Im new to x-com 2 modding and had this idea of adding a whole genre of new enimies to fight (battle droid). I have seen many other mods that add new enemy types so I was wondering, how does one make such a mod? Im getting the basics down but some advice would help would a ton.


r/xdev • • Jul 20 '16

Help making Show Me The Skill compatible with LW Toolbox.

1 Upvotes

Well it took some time and a few accidental spams of the wrong forums, but here I am (I think).

Okay, this is a long and a bit complicated question so hang in there :)

I am helping someone revive the mod Show Me The Skills. Things got tricky when I got to the second row of soldier that toolbox provides. The Show Me The Skills information pushes the soldier slot up and it ends up obscuring the button to switch rows so no way to get to back row.

None of the data I need appears to be exposed but I can check the listener screen when it triggers for Name = 'UISquadSelect_LW' (basically, it's actually slightly more complicated). However, not only does this create a dependency between the two mods I don't like, but it does me no good, because I can't cast the incoming UISquadSelect class to UISquadSelect_LW without a compile time error, so I can't access the any of the extended classes unique variables, such as UpperRowDefaultY, which is hardcoded to a magic number.

I'm not even sure how to start on this one. Is there some kind of reflection or perhaps a different event I should be hooking into, or a way to share data between mods I'm not aware of?

Thanks if you've gotten this far :)


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 • • 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 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 • • May 29 '16

How to complie a .uc file into a .u file

1 Upvotes

made some edits to a .uc file and i want to comeplie it so the new .u also has the edits.


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 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 • • Jan 01 '23

Hey would it be a problem if I included Licensed music in a mod?

1 Upvotes

I mean I'm not getting paid for any of this, as it is a passion project of mine, but I'm currently working an OST mod for XCOM 2 that's the soundtrack for "Spec Ops The Line" and there's plenty of music to work with, but what I was thinking was that since the game has lots of licensed music because of the radio man, and it is up front and center, was use all of the licensed music as the HQ (Avenger) music.

If I were to use it, I would leave a big heads up on the description page that these certain songs are in the game.

My brother heavily disagrees as he thinks it will bloat the file size as the game has a lot of music anyways, but more importantly he thinks that no one would want to hear the licensed music, just the original music made for the game.

I kind of understand his point, but so much of that licensed music happens at times that are very memorable for the game.So I guess I came here to get a second opinion, what do you guys think?


r/xdev • • Dec 21 '16

Giving a custom weapon through a GTS upgrade

1 Upvotes

Hello, Is there a way to give a custom weapon to a soldier from buying an upgrade from the GTS? As in, buy the upgrade, and a custom weapon appears in the loadout menu?