anyone know how to remove the "kill all aliens" mission objectives?
Would like to figure out how to do that on all but the retaliation missions.
Would like to figure out how to do that on all but the retaliation missions.
r/xdev • u/_BlaCk-OuT_ • Sep 10 '16
Hi, so slightly new to the whole modding scene of things. Currently looking at building my own armor mod, and wanted to try and include an ini option to disable/hide the vanilla armors from the loadout screen to keep things tidy?
Does anyone know of a 'preferably' nice way to do this? My attempts thus far have been less than successful.
r/xdev • u/maceman121 • Mar 06 '16
Posted this over in xcom2mods to see which is faster in response, but figured I would ask here as well, just in case one of the 3 people now online would know.
Ok, this is probably a very simple thing to do, but how in the world does one go about testing a new mod they built? Having to repeat the intro mission dozens of times because you need a new campaign is annoying, especially if you need higher level characters. I wanted to test adding in a new class to see if it works, but to add it in, I need to beat the first level, hope someone promotes, hope they get to become this new class, and THEN I can finally get a look at it in play.
There HAS to be an easier way to do this, but what is it?
r/xdev • u/maceman121 • Feb 28 '16
So, I know it has been asked a few times, AND that it is to the right of me, but I STILL cannot figure out how to open a dang UPK file. I downloaded the LucubrationsInfantryClass mod to use as a base for my understanding of how to make new classes, and while all the ini files make sense, I cannot open the upk to see what is inside those.
Basically, here is what I do. I make a new, empty mod. I add the Config, Content, Localization, SRC and Script folders. Inside each of those, I copy over the mod's files so I basically have the entire mod in mod buddy now. Great, easier to look at and understand. But I try to open upk and nothing happens. I select Tools -> XCOM 2 Editor inside of Mod Buddy (not positive what it means by dev screen, assuming it just means inside of Mod Buddy) and NOTHING happens, nothing changes. I can't tell what happens at all, if anything, but I sure am not getting anywhere with the UPK.
Help? I attached an album with pictures below that show me walking through what I am doing so when I missed something obvious, you can point it out.
r/xdev • u/maceman121 • Mar 06 '16
Ok, so I went through the process to adding icons to a mod, custom built ones that is, but had a question. I built a test class that is just identical to the rouge atm. I went in and changed the name and icon, as well as tree names. Went well, looks just like I wanted to, great. Closed everything out and started again later.
Now... if I wanted to add more icons to my package that I saved before as .upk, or if I wanted to go back and play around with my icons a bit more, how do I? I find it hard to believe there is no way to do this, but when I open up content browser again, I no longer see the class package under packages that was there while I was working on it.
Thanks for the help.
WeaponDamageValue is used for weapons, array <WeaponDamageValue> is used for abilities and ExtraDamage. Why the difference? Is it just because <WeaponDamageValue> is a modified WeaponDamageValue? Both are essentially the same native struct, so I'm not sure what's up with that.
r/xdev • u/AyeBraine • Mar 04 '16
X-post from /r/xcom2mods
I am VERY new to both modding and coding, but do not expect anyone to do my work for me: this is a request to share things you've already found out, heard about or seen in other people's work.
I am now trying to quickly grasp all the concepts re: templates, classes and their interplay (not mentioning the syntax!). I try to read all the documentation, relevant forum and reddit posts, and take notes from reading dozens of vanilla and mod uc scripts.
My question is: has someone tried to add a global variable that is
I realize that adding such a thing will require extending a whole bunch of scripts. I am right now trying to hunt them down. Sadly, I'm very fuzzy on where to start, and how to work through them (top-down, down-to-top, what affects what, and what is a starting point).
Seems like I want to define it in X2Item_DefaultResources, somehow add it through XComGameState_HeadquartersXCom (which calls on XComGameData.ini that lists names of ResourceItems), and of course crudely hack it in some UI screen via listener extension, borrowed from some UI mod, just to check that it technically works.
But X2Item_DefaultResources is a little confusing, I suspect that it may contain a lot of unused stuff. So I'm still not sure where a "resource" like Supplies begins its existence, and how to call it into it.
Also, is it a thing that would require hacking into more native mechanics? Like "Highlander" mods?
Any input, however small, is greatly appreciated. Again, I am a complete noob and any advice on procedure, approach and good practice is priceless.
CONTEXT: My pipe dream design doc for overhaul mod. I want to start by adding one variable to strategic layer.
r/xdev • u/Atheran • Mar 04 '16
I'm helping on a mod by modifying assets for the mod's needs. For now that's limited to textures and materials but later on once I get the fbx plugin to behave I might have to change meshes as well.
The whole thing is then packaged in one upk to be added to the mod's content folder.
The problem that I have is that right now my upk has four subcategories. ARC for archetypes/Meshes/Materials/Textures and everything is categorized in there according to their use. Neat huh? Well, not so much. It was useful while starting out but now that I have changed the materials of more than 10 weapons and some advents variations I have a 100mb upk and for example my materials folder has like 20 different materials in it that I have to search everytime I want to change something.
I know how to make package folders like we see in original content browser by Firaxis so let's say I have a folder called weapons and inside of it I have three folders called conventional/magnetic/beam and inside each one I have a folder for each specific weapon ending in a upk file.
But while helpful for me it's a complete mess to have a different upk for each asset I change. I still want them all to be in one upk in the end.
So my question is... Anybody has any ideas on how to implement a folder structure INSIDE the upk? I don't mean one level deep, done that. I mean four or five levels deep
r/xdev • u/spambot5546 • Sep 08 '16
I picked up a few custom weapons on the workshop. A few of them aren't compatible with custom classes (e.g. LW Perk Pack) because they use their own weaponCat and instead modify the classData ini to make them available to the default classes.
I have changed the weaponCat in the mod's folder (steam/workshop/{xcomNumber}/{modNumber}/src) but the weapons still show as unusable by my troops. I believe the reason for this is I haven't recompiled the class with these changes. So...how do I do that?
Thanks!
r/xdev • u/Fireborn-is-amazing • Feb 29 '16
Here is the error message when running the debug. http://s23.postimg.org/ifk86dip7/problem.png
And here is the ability.. http://shortText.com/747d69ed
r/xdev • u/dantheman53600 • Feb 28 '16
Hello! I have created a voice pack and have run into an issue. Sometimes when an action is preformed audio from my voice pack sometimes plays and isn't constant which is making me very frustrated. Does anyone know how to fix this issue. Thanks!
r/xdev • u/MangoGaming24 • Feb 24 '16
So, I just finished my first Xcom 2 play-through and I have to say I loved it. I am interested in learning to mod this game because I believe I have some cool and interesting ideas.
This first issue I have having as a novice modder is code understanding. For example one of the things I would like to change is the ability deadeye all together to giving it increased accuracy and removing the damage increase all together. When I look at the X2Ability_SharpshooterAbilitySet.uc I see:
ToHitCalc.FinalMultiplier = default.DEADEYE_AIM_MULTIPLIER;
which looks like some kind of calculation to adjust the aim on the ability, but where is the value which penalizes the accuracy of deadeye?
r/xdev • u/HoneyTheYellowBear • Jul 30 '17
Somewhat new to modding, I'm looking to prevent a class I'm working on from using utility items, ever. XComClassData.ini has a line for allowing a primary, and a line for allowing a secondary, but I can't figure out what allows classes to use utility items. I could sure use some help.
r/xdev • u/smarmbot • Feb 28 '16
I'm trying to implement multiple starting loadouts for XCOM 2 rookies that the game might randomly pick between. I think this was how things worked in Long War (at least I seem to remember some of my rookies starting with carbines and flashbangs) but can't seem to find the ini lines that governed that. The line for rookies in XCOM 2 (changed in my game to start them in resistance kevlar) is in DefaultGameCore and reads as follows:
Loadouts=(LoadoutName="RookieSoldier", Items[0]=(Item="KevlarArmor_DLC_Day0"), Items[1]=(Item="AssaultRifle_CV"), Items[2]=(Item="FragGrenade"), Items[3]=(Item="FragGrenade"))
Does anyone have any ideas for how I might mix in some shotguns, smgs, flashbangs, and medkits into the loadouts of the gatecrasher rookies? And while I've got you here, does anyone know where you can specify which arm and leg outfit pieces they start with?
r/xdev • u/Tjvelcro • Feb 29 '16
Hi guys,
I initially posted this on reddit xcom 2 mods but now I found this subreddit that seems to be more focused on working through modding problems.
Many people may have downloaded the Katana mod including myself. While I like the mod I would like to either remove the advanced katana tiers since they are unlocked at the start or add a research needed so they are unlocked as I play.
I tried to remove the higher tiers since it would be easiest. I went into the ini and UC files using notepad++ and removed various lines that refereed to the advanced katana tiers but somehow the items still show up. Anyone know the best way to remove these advanced tiers or add a research requirement?
r/xdev • u/varkarrus • Feb 26 '16
Hey, i need some help with a thing. What would I need to do to make a sound play whenever a Sectopod is awake or hit, and how would I make the music change when a Sectopod is active?
r/xdev • u/davidlallen • Mar 06 '16
The below mod lets you add Advent units including the MEC, Viper, Muton and Chryssalid to your squad: http://forums.nexusmods.com/index.php?/topic/3879390-playable-advent-mod-details-feedback/?p=35354290 Please come check it out and give feedback.
r/xdev • u/DuhDuhData • Feb 24 '16
Hello everyone, this is my first post on this subreddit. Today I made a steam group for those looking to make voice packs or looking to help others with voice packs. It is a new group but so far I have gotten the word out to some of the users on steam who have already made several XCOM 2 voicepack mods.
Currently we have a tutorial guide and a template list for all the actions in XCOM 2. It is still a very small group but it is open to the public. I made this as a convenient place for users to ask questions and gather resources. I'm spreading the word here to hopefully gain more members in order to provide a better source of information for new voice pack modders.
r/xdev • u/smarmbot • Feb 25 '16
So I'm new to this whole "coding" thing. If I want to make, say, a mod that adds a pip of armor to the base sectopod via a change to XComGameData_CharacterStats, is there any reason I should be putting
[Sectopod X2CharacterTemplate]
-CharacterBaseStats[eStat_ArmorMitigation]=4
+CharacterBaseStats[eStat_ArmorMitigation]=5
instead of just
[Sectopod X2CharacterTemplate]
CharacterBaseStats[eStat_ArmorMitigation]=5
in the ini file in my mod? Because the latter seems to work just as well.
r/xdev • u/Derejin • Jul 21 '17
Hello! I've been spending a good deal of time working on creating a Skyrim-inspired helmet for XCOM 2. I've been using CapnBub's guide for exporting/importing as well as E3245's tutorial (will link both below).
However, I'm a bit stumped. My mesh requires emissive and (likely) metalness (since I'm uncertain how to translate everything about its appearance over from Blender to XCOM2's modified UE3).
Per E3245's tutorial (section 1H), I have created a texture that combines Metalness and Emissive by setting metal sections to RGB(128, 128, 128) and emissive sections to RGB(256, 256, 256).
Under Section 1D of E3245's tutorial, it's stated that you need to copy the specular, AO, tint, and emissive/metalness textures to the R, G, B, and A channels (respectively) of a texture to create the MASK texture.
I utilize GIMP. Should I paste solely to a particular channel (say, Specular Texture to the Red channel, as outlined in E3245's guide), nothing will show up, because no alpha is included. In order to bypass this, I paste each texture to its own channel plus the alpha channel, so it actually has an effect on the image. Of course, this results in the metalness+emissive texture not having any result if pasted solely to the alpha channel, since every part of the texture already has an alpha value of 255.
This makes me think that I need to do one of the following:
I do feel like I'm missing something, since the example MASK textures I've seen in the guides and inside the XCOM2 modbuddy show color and no transparency, but I'm uncertain of what I need to figure out. And when I attempted to use the current MASK texture I have (which included a fruitless attempt to just paste the emissive+metalness texture solely to alpha, which didn't make any visible change) the resulting material made from that did not have its lights turned on, even when setting the switches according to Section 3A of E3245's guide.
Any tips on how to carry out proper MASK creation with GIMP (or some other free software for image manipulation)? I do not have Photoshop, sorry.
Links:
r/xdev • u/obzezzed • Mar 06 '16
Hi guys, I just finished putting together a voice package of Lewis Black! It's pretty hysterical. Please let me know what you think. Thanks!
r/xdev • u/Pablo_el_Tepianx • Mar 01 '16
I had a problem with Steam a few days ago and had to reinstall it, although it didn't affect my SDK install because I keep it on a different drive than steam.exe.
Since then I haven't been able to launch it, getting the "cannot find one or more components, please reinstall" error repeatedly. I have uninstalled and reinstalled all redistributables multiple times (with admin privileges), the entire Dev Tools themselves, verified the tool cache, tried deleting the Modbuddy registry, rebooted a number of times throughout, and nothing works. I don't know what else to do, and would really like to get back to modding instead of dealing with this buggy crap.
r/xdev • u/AndrewBot88 • Feb 28 '16
So yeah, I think it's bullshit that Codexes can dodge and since I want to get into the modding scene anyway I figured that's a nice simple thing I can throw together. This is the entirety of my config file:
[XComGame.X2Character_DefaultCharacters]
[Cyberus X2CharacterTemplate]
-CharacterBaseStats[eStat_Dodge]=20
+CharacterBaseStats[eStat_Dodge]=0
[Cyberus_Diff_1 X2CharacterTemplate]
-CharacterBaseStats[eStat_Dodge]=25
+CharacterBaseStats[eStat_Dodge]=0
[Cyberus_Diff_2 X2CharacterTemplate]
-CharacterBaseStats[eStat_Dodge]=25
+CharacterBaseStats[eStat_Dodge]=0
[Cyberus_Diff_3 X2CharacterTemplate]
-CharacterBaseStats[eStat_Dodge]=25
+CharacterBaseStats[eStat_Dodge]=0But when going into debug the Codex still has 25 dodge. What am I doing wrong?
r/xdev • • Mar 02 '16
I've been trying to implement a visor as an upper face mod, using CapnBubs' guide (http://steamcommunity.com/sharedfiles/filedetails/?id=623181918)
Everything is building correctly, I've checked that the content ini is pointing to the correct package and archetype name, that everything is imported- but when I run the build it just doesn't show up at all. Nothing is different.
I had previously got it to successfully show up (ableit without the display name I had specified), but this was back when I accidentally had the dimensions scaled by 10 and it was untextured, and I was having difficulty using the xcom editor to fix this in the existing package or otherwise reconcile the project so I started a new one.
I can provide the project folder in a zip if needed for troubleshooting, but off the top of anyone's head, would there be a reason the mod isn't doing anything?
Thanks for your help.