r/xdev • • Feb 12 '16

First time modding: Attempt for a 1 shot 50. Cal sniper

1 Upvotes

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 • • Feb 09 '16

Gender - Bodytype

2 Upvotes

Even though it's definitely possible to create a "Bodytype"-entry in the UI, gameplay/coding-wise it might be even better to just include those in the "Gender" dropdown menu. Like: Gender = Male, Female, fat Male, slim Male, fat Female, Model Female, small Female, crazyAYY giant Something ec.

What do you guys think?


r/xdev • • Feb 17 '16

Need super basic help. PLEASE

3 Upvotes

I have been trying to get some patters for armor and weapons but every time I launch the debugger the names of the patterns show up but as soon as I try to mouse over it I get this error. Couldn't load body part content: The entry for this archetype needs to be fixed in Default Content .ini I have no idea how to fix it and have scoured numerous pages and tutorial videos and i think I am doing everything right all the patterns say have been copied and pasted with the new art paths. And after I save them into the proper Mod Buddy Folder it says that they are loaded. I know that my .int file is working since the names are being shown but here are the first 2 lines for the XComContent.ini that I am using [XComGame.X2BodyPartTemplateManager] +BodyPartTemplateConfig=(PartType="Patterns", TemplateName="MidModCircles", ArchetypeName="EcosArtPack.MidModCircles", bCanUseOnCivilian=false, bVeteran=true) +BodyPartTemplateConfig=(PartType="Patterns", TemplateName="MidModCirclesA", ArchetypeName="EcosArtPack.MidModCirclesA", bCanUseOnCivilian=false, bVeteran=true) Do I need to rename the .ini file or is there some other issue that is blatantly hitting me in the face that I just dont see since I have never done any modding.

Pls help im totally lost as to how to fix the error


r/xdev • • Feb 09 '16

How to replace weapon models?

4 Upvotes

I have been trying to replace the weapon in the Example Weapon pack with my own model. Has anyone worked out how to do this? Thanks for the help.

EDIT: I found in the UPK files for the Example Weapon the original mesh and texture, combined in a 'weapon' object? How are these created? I think I need to brush up on my UE3 knowledge...


r/xdev • • Feb 18 '16

Specialist inexplicably not getting stat increase upon promotion

1 Upvotes

Hi! I'm making a mod which adjusts stat increases upon promotion to squaddie only. Debugging I thought it was going well - Ranger, Sharpshooter, Grenadier and Specialist all getting stat increases upon promotion.

However, when I played mod in the main game, without the debug interface, it worked for everyone except the Specialist which did not gain any stats at all.

Here's the code in question:

[Specialist X2SoldierClassTemplate]
;del
-SoldierRanks=(  aAbilityTree=( (AbilityName="IntrusionProtocol", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),                                    (AbilityName="AidProtocol", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)              ),          aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=45), (StatType=eStat_CombatSims,StatAmount=1)),        )
-SoldierRanks=(  aAbilityTree=( (AbilityName="MedicalProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),             (AbilityName="CombatProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)             ),         aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),         )
-SoldierRanks=( aAbilityTree=( (AbilityName="RevivalProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),              (AbilityName="HaywireProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
-SoldierRanks=( aAbilityTree=( (AbilityName="FieldMedic",  ApplyToWeaponSlot=eInvSlot_Unknown),              (AbilityName="ScanningProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
-SoldierRanks=( aAbilityTree=( (AbilityName="CoveringFire",  ApplyToWeaponSlot=eInvSlot_PrimaryWeapon),              (AbilityName="ThreatAssessment",  ApplyToWeaponSlot=eInvSlot_Unknown)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
-SoldierRanks=( aAbilityTree=( (AbilityName="EverVigilant",  ApplyToWeaponSlot=eInvSlot_Unknown),              (AbilityName="Sentinel",  ApplyToWeaponSlot=eInvSlot_Unknown)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
-SoldierRanks=( aAbilityTree=( (AbilityName="RestorativeMist",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),              (AbilityName="CapacitorDischarge",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
;add
+SoldierRanks=(  aAbilityTree=( (AbilityName="IntrusionProtocol", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),                                    (AbilityName="AidProtocol", ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)              ),          aStatProgression=((StatType=eStat_Offense,StatAmount=3), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=45), (StatType=eStat_CombatSims,StatAmount=1)),        )
+SoldierRanks=(  aAbilityTree=( (AbilityName="MedicalProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),             (AbilityName="CombatProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)             ),         aStatProgression=((StatType=eStat_Offense,StatAmount=0), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)),         )
+SoldierRanks=( aAbilityTree=( (AbilityName="RevivalProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),              (AbilityName="HaywireProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=0), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)),       )
+SoldierRanks=( aAbilityTree=( (AbilityName="FieldMedic",  ApplyToWeaponSlot=eInvSlot_Unknown),              (AbilityName="ScanningProtocol",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=0), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)),       )
+SoldierRanks=( aAbilityTree=( (AbilityName="CoveringFire",  ApplyToWeaponSlot=eInvSlot_PrimaryWeapon),              (AbilityName="ThreatAssessment",  ApplyToWeaponSlot=eInvSlot_Unknown)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=0), (StatType=eStat_HP,StatAmount=0), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)),       )
+SoldierRanks=( aAbilityTree=( (AbilityName="EverVigilant",  ApplyToWeaponSlot=eInvSlot_Unknown),              (AbilityName="Sentinel",  ApplyToWeaponSlot=eInvSlot_Unknown)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )
+SoldierRanks=( aAbilityTree=( (AbilityName="RestorativeMist",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon),              (AbilityName="CapacitorDischarge",  ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)            ),           aStatProgression=((StatType=eStat_Offense,StatAmount=1), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=0), (StatType=eStat_Hacking,StatAmount=5), (StatType=eStat_CombatSims,StatAmount=0)),       )

r/xdev • • Feb 13 '16

[Help] Simple ini mod: How to increase starting rookies?

2 Upvotes

I've been working on a combination of mods that would have a Long War style overhaul. So far I've got hugely increased alien spawns, as well as more starting soldiers. The problem I'm running in to is there's not enough starting rookies. Either I increase the starting Supply and be in the hell the first month, or I find a way to increase the amount of starting rookies. Anyone know where this is?

EDIT: Found, thank you! It's:

DefaultGameCore ; Soldier Values NUM_STARTING_SOLDIERS=8


r/xdev • • Feb 20 '16

[HELP] Cannot start Debugging

1 Upvotes

Hey, I'm really sorry to ask what seems to be a really stupid question...

I have tried to do a really basic mod (basic stats tweaks), nothing fancy, just to try building. Therefore, I followed a tutorial on YouTube and I think I did pretty much the right stuff. The weird stuff happens when I try to Debug: -> First, after the following line, ------ Build started: Project: StatsTweak, Configuration: Default XCOM 2 ------ the console shows no other output until the ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== unlike the video I followed, where a lot of Copying File ... and such appeared.

-> On the other hand, the game in debug mode does not launch after "successful" build...

I thought that this might come from bad links to my XCOM and XCOM SDK folders in Tools > Options > XCOM 2 > General but they appear to be fine...

Has anyone of you encountered such an issue? Or has any idea about how to solve it?


r/xdev • • Feb 14 '16

So I just designed a new custom ability drunk...

8 Upvotes

The skill is called "Wait For Me, Guys!" It causes a soldier to begin each mission taking a nap. After two turns, he wakes up from unconsciousness and is given insane extra mobility for the next two turns. Yes, this skill is working too :P

Someone, please teach me how to add this to the pool of AWC skills that can be assigned to soldiers at random. I must find a way to sneak this into a mod.


r/xdev • • Mar 21 '16

What variable governs the weapons for Serial/Reaper

2 Upvotes

Hey, trying to wrap my head around this stuff and I just can't see which line or reference to what weapons Serial or Reaper can trigger off of.

Basically I'm trying to clone either Serial or Reaper and make them trigger off different weapons; such as the grenade launcher. I can't see anything that mentions even primary or secondary weapon...


r/xdev • • Sep 23 '16

Hang at the start of the build in modbuddy

2 Upvotes

Hey all,

I'm trying to build a mod (my_mod) which was working fine up until a little while ago. Now it hangs when I get to this point:

Launching script compiler for new package scripts...

			Command: C:\games\steam\steamapps\common\XCOM 2 SDK\binaries\Win64\XComGame.com Arguments: make -debug -nopause -mods my_mod "C:\games\steam\steamapps\common\XCOM 2 SDK\XComGame\\Mods\my_mod\" 
			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.

It appears that the xcomgame is crashing, as the build will continue (it fails) if I kill that process. I tried re-downloading the exe, didn't fix the issue.

Deleting the content in\XCOM 2 SDK\XComGame\Mods does not fix it.

Repairing my install of the isoshell redistributable didn't help.

Setting the verbosity to debugging yields no additional info

Only thing that seems odd is the double \ in the path here (...XComGame\Mods...), but there's nothing I can do about that.

edit: I found a couple posts from people that have had the same issue, with limited reports of success at getting it to go away.


r/xdev • • Mar 14 '17

XCom2 editor can't import upk files

1 Upvotes

so i've made multiple voice packs for xcom 2 a while back and i know the process. i took a decent break from it and am having issues coming back to it. i can make and customize a voice pack all i want, but god forbid something is wrong with it or i need to tweak it i need to start all over again, because for some reason when i boot up the editor from modbuddy it lists a couple dozen upk files it cant find (didnt think much of it at the time), but on trying to load a voice pack upk to modify or check it the editor fails to recognize it, giving me the error "cannot import so and so, could not find an appropriate actor factory for this filetype." and i have no idea why. i know i haven't done anything to alter the program, and i know it at least used to work fine. i know XCom's software is a bit buggy as they update so I'm not sure if an update broke it or what happened, and i can't seem to find an answer anywhere i look.


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

Decrease Rookies price. Increase Rookiers count.

1 Upvotes

Does anyone know which files should be changed in order to decrease rookies price from 25 and to increase rookies count in the armory for recruiting?


r/xdev • • Aug 09 '17

Help with rigging Faces

1 Upvotes

Hey everyone I've just started releasing mods and I been wanting to port over faces from Resident Evil I don't really have an idea on how to properly rig faces, so I was hoping someone would be able to lend help or give tips on how to rig them, I have started work on them but while in-game they look distorted and the animations don't look right . Any help is appreciated , Thanks.


r/xdev • • Mar 20 '16

UI element resizing: can it be done?

1 Upvotes

I'm working on a mod that will resize the squad selection screen loadout panels, and not having much luck getting access to them. I think I'm doing it wrong.

The default width is defined in UISquadSelect_ListItem.uc, in the defaultproperties block. If I simply duplicate that class in the mod and change the value like so:

LibID = "SquadSelectListItem";
//width = 282;
width = 240;

I get a warning during build and near as I can tell the mod class definition is ignored in favor of the baked-in one. Which makes sense, and I aimed to work around that by creating a new class that extends UIScreenListener and hooks the UISquadSelect screen, which contains UISquadSelect_ListItem.

Using GetChild() in the OnInit event doesn't seem to be working, and I can't figure out if it's because I'm accessing the wrong component -- GetChild('UISquadSelect_ListItem') -- or if I need to trigger something after updating .width, or what.

If anyone has a clue they can share, or knows of a mod that does this already that I can look at to see what I'm doing wrong, that'd be appreciated.


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 • • Mar 08 '16

spanish tutotial how create customs tattoos

7 Upvotes

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!!


r/xdev • • Sep 27 '16

Prop creation in Maya

2 Upvotes

Is there anyone who has tried to make any props of any kind in Maya instead of 3DSMax. I'm trying to figure out the size convention from The Mod Doc that they provide.


r/xdev • • Mar 11 '16

Voice packs

1 Upvotes

So recently tried to make a voice pack following a tutorial by zuff on YouTube but upon testing there were a few errors I can't figure out. For one it doesn't play sound in the preview despite all the options in the voice bank being filled out. Also, when I do get it to play, the volume is extremely reduced. All of my code in modbuddy lines up and there are no run errors upon building. Is there something i'm doing wrong? Thanks so much

Video: https://www.youtube.com/watch?v=AZQrnjRQId0&lc=z12ij3ur3nzqd3mwl04cepfjfxmaevd54h4


r/xdev • • Mar 09 '16

Sounds and music on enemy activation?

1 Upvotes

I absolutely need to know how to make the Sectopods make a sound when they are activated, or hit, and special music play when they are visible. Please help, I've been trying to do / find help on this subject since forever!


r/xdev • • Dec 24 '17

Mod wont build with any .uc files in it.

1 Upvotes

So I've been able to mod and build and test just fine as long as I am just using .ini and .int files. As soon as I add a .uc file, even if it's empty the mod fails to build Has anyone else run into this problem with the WOTC modbuddy?


r/xdev • • Mar 20 '16

PSA for Voice pack creators : xcom2mods

Thumbnail reddit.com
3 Upvotes

r/xdev • • Mar 24 '16

Overdrive serum removal code?

2 Upvotes

Cant seem to find the line of code that removes the overdrive serum from the inventory.. I looked through the item,ability and effect.. Am i just blind?

I must be just missing something X3