Xenonauts 2

Xenonauts 2

Not enough ratings
How to Edit Soldier Stats
By F042
General guide on how to edit soldier stats for user enjoyment.
3
3
   
Award
Favorite
Favorited
Unfavorite
Soldier Stats
Basic PT
Ever wish your soldiers underwent basic? Ever wish to have a team full of all American chads? Well now you can! This guide attempts to list common edits for folk who want to ditch balance or create interesting settings.

Navigate to: Xenonauts2\assets\assets\xenonauts\template\strategy\masters\actor\combatant\human\xenonauts

Edit files soldier_master.json and soldier_master_plus5stats with the stat ranges you desire.
Edit files in the soldier_roles with the stat ranges you desire.

Note: Incompatible with tutorial so you'll have to disable it.
Gender Inequality
Gender Inequality
Tired of looking at sweaty men and want to head canon sisters of battle or want to play as a NFL team?
"One Gender Army" https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3026290484 by CHurricane
Max Transport Capacity
Max Transport Capacity
Baffled by how fat your troops are to overload a bird with 9 guys?

Navigate to: Xenonauts2\assets\assets\xenonauts\template\strategy\aircraft\profiles\xenonaut
dropship_tier1.json

Replace Both Instances Of
{"_min":9.0,"_val":9.0,"_max":9.0,"$type"
to
{"_min":18.0,"_val":18.0,"_max":18.0,"$type"

[0.0,0.0,0.0],[0.0,0.0,1.0],[0.0,0.0,2.0],[1.0,0.0,0.0],[1.0,0.0,1.0],[1.0,0.0,2.0],[2.0,0.0,0.0],[2.0,0.0,1.0],[2.0,0.0,2.0]
with
[0.0,0.0,2.0],[1.0,0.0,2.0],[2.0,0.0,2.0],[3.0,0.0,2.0],[4.0,0.0,2.0],[5.0,0.0,2.0],[0.0,0.0,1.0],[1.0,0.0,1.0],[2.0,0.0,1.0],[3.0,0.0,1.0],[4.0,0.0,1.0],[5.0,0.0,1.0],[0.0,0.0,0.0],[1.0,0.0,0.0],[2.0,0.0,0.0],[3.0,0.0,0.0],[4.0,0.0,0.0],[5.0,0.0,0.0]

*Edits may be required before Helo spawns to take effect

Credit to "Rising Storm" https://steamhost.cn/steamcommunity_com/app/538030/discussions/0/7222135514706335087/

More Robots
Search "limit"
Raise to max number of bots you want.
Building Stats
Building Stats
Tired of slow builders? Fresh out of the Navy and miss hot bunking? Or maybe you believe the 5g radio towers should be able to cover the entire world? Now you can edit building stats!

Navigate
Xenonauts2\assets\assets\xenonauts\template\strategy\construction\building

Search
"Additive" & "AdjacencyEffectsComponent" for adjacency bonuses
"PowerUsage" for power usage
"Xenonauts.Strategy.Components.ProgressPoints" for build speed (lower means faster)
"Xenonauts.Strategy.Data.Prerequisites.OperationPointsPrerequisite" for cost
"expense" for upkeep
"detectionRadius" for radar range
"Capacity" for max personnel slots/storage

14 Comments
MasterBLB 19 Jul @ 5:21am 
NVM, I managed to achieve the goal - however i had to start a new campaign for the change to take effect. I've copied [<numbers>] table from dropship_tier2.json, removed two last entries, and set min, max and val to 10.
MasterBLB 19 Jul @ 2:52am 
Increasing max soldier capacity for Skyhawk-X2 is not working. Tried first to raise it to 10, then exactly as you put 18, but for both - nope.
Ichthyic 14 May @ 9:01pm 
"i want to be Amrikan Chad "
First, you're going to need some spelling and grammar lessons.
m.sean.gilmore 13 Apr @ 6:28pm 
You can customize the 12 starting soldiers. Hint: checkout "tutorial_pool" "Petr Ivanov", Copy paste him to one of the 12 soldiers files in "starting_pool" folder. Be sure to change the number to where he will be placed in the Skyhawk with the correct number for the soldier file he was placed in, e.g., "$content: 1". You can also customize stats, age, gender, and nationality of all the starting 12.
Choccy Poo Poo Juice 5 Apr @ 10:51am 
anyone figure out how to increase alloys and alenium you can get from UFOs?
3-wheeled bicycle 26 Mar @ 10:01pm 
hi yes, im here for the basic training lessons?

i want to be Amrikan Chad
endersblade 14 Mar @ 8:21pm 
Also, found out how to mod Research Times:
In -strategy/masters/projects/research/, there are files called research_duration0-9. Each file contains the info on research time. If you want, you can change the "_max": line to whatever you want in each file.

In -strategy/projects/research/, each research file's first line is

"$content": "xenonauts-:-Xenonauts.GameScreens.Strategy-::-masters/projects/research/research_durationX.json",

You can change the file name for the duration0-9.json. It will use whatever "_max": is in that duration file.
endersblade 14 Mar @ 8:20pm 
Anyone figure out how to make it so when you research something, then engineer it, it gives you infinite? For instance, I'd really like for Accelerated weapons to replace the base ballistic weapons.
Ichthyic 9 Feb @ 3:55am 
...and now your magnetic shotgun has a range of 12 instead of 9. again, the templates for all items past their basic versions only normally include JUST the changes made to the basic version. if you want to change something they didn't, you must add the line from the basic template for that item to the template you are modding, and then edit that. be aware... I think they did this to ever so slightly improve loading speeds (don't have to load lines that don't exist after all). It's possible if you edit enough lines in enough templates, your loading times might get ever so slightly longer. probably not noticeably though.
Ichthyic 9 Feb @ 3:49am 
1. load up the template for the standard ballistic shotgun.
2. find the line that controls the range of the weapon. In this case it is:
{"_min":0.0,"_val":9.0,"_max":3.402823E+38,"$type":"Xenonauts.GroundCombat.LongRange"},
copy that EXACTLY from the original template, including the comma at the end.
3. open the template for the magnetic shotgun (ballistic_shotgun_v2.json)
4. find where it starts listing the components for the weapon. in this case the first component listed is the one for armour penetration:
{"_min":0.0,"_val":3.0,"_max":100.0,"$type":"Xenonauts.GroundCombat.ArmourPenetration"},
5. RIGHT after the comma in the above line, paste the line for range value you copied from the basic template.
6. Now change the value 9.0 in that line to 12.0.
7. save the file and reload the game.