track_twoOP•

This isn't terribly easy to use yet - suggestions are welcome.

A binary build is available under 'releases' on the github page. Like most mods, it requires the Mod Injector.

3
Done25v2•

Thank you so much. Now I can try and tweak all the nit picks about game balance. (Heavy armor is garbage, assault rifles fall off like rocks, etc)

Btw, the mod page refers to "PPDefModifier.dll", did you mean the "PPDefModifier.cs" file?

Edit: I can't seem to make it work. TuT

2
track_twoOP•

No, the .cs file is the source code. The dll is available under 'releases' in a .zip file.

1
Done25v2•

"The dll is available under 'releases' in a .zip file." Oh, haha. Wow. I never would have found that. Thank you! X3

1
reddituserzerosix•

Yeah I would love to see some mods like that, capping armor on some enemies might also help ARs

1
Liolande•

i prefer better weapons from researches and fractions that are really better than the starting weapons.. when track_two added more support for arrays etc i will build up a file that let alter you the damage/shred/piercing etc... then better armored enemies shoudnt be a problem anymore ;)

1
cfehunter•

Nice work. I was just considering making something like this.

1
PossibleSociety4•

Is it possible to limit the amount of winged chirons per mission with this?

1
track_twoOP•

The short answer is I don't know yet, but I don't _think_ so. There does look to be some tools for managing how the enemies on a mission are generated but I'm still trying to figure out how all the pieces fit together.

I'm spending some time looking into how the missions are generated because they look pretty wildly random right now. I restarted a new campaign and am on the 1st real NJ mission, maybe my 6th mission in the whole campaign and so far I've been fighting crabs and tritons. Rolled bad dice on that mission gen and I had a chiron with explosive artillery nuking me from across the map and two tanky sirens. Reroll again and get just a bunch of the same guys I've already fought and can easily steamroll.

1
crusher_bob•

Looks like Assest Studio can't fully read the files? Am getting the shared assets file open, and can find things I want to mod, but looks like AS doesn't read the actual weapon data out of the file? Just the headers, or something like that?

If possible, please make the mod read all jsons from a fixed directory, or something. That way, I can split the mods of things into smaller, easier to read files. People are going to want to change everything, so any single json will quickly become unwieldy, as it will have changes to everything in it. If I can break the json files into smaller, bite sized, files it'll be much easier to keep track of what gets changed and where.

1
track_twoOP•

Yes, there is an issue with asset studio reading some of the defs - mostly equipment. I mentioned this in the readme, and UABE will fail on the same ones too. I know what's wrong but I'm not certain of the fix. I have a local change for asset studio that seems to work but I'm not sure if it breaks anything else. I opened an issue on the GitHub site for it but haven't heard anything yet. I'll put up a clone with the fix later today if I don't hear anything.

For the smaller files, good suggestion and I thought about the same thing. I think the best option would be to have a subdir under Mods that it'll look in rather than trying to read all json files in the Mods dir cause other mods will likely have their own.

1
track_twoOP•

I've created a temporary fork of AssetStudio with my fix and uploaded a build - https://github.com/tracktwo/AssetStudio/releases/tag/pp-fix

Let me know if you see any other assets that fail to dump properly.

1
track_twoOP•

I've just uploaded a build for version 1.1 to GitHub. This version will read all .json files under the directory `Mods/PPDefModifier`, if it exists. Subdirectories under there are also searched, so you can organize mods by directory too.

This version also allows fields to specify array indices, like `DamagePayload.DamageKeywords[0].Value`.

1
BarefootBanditry•

Hello is it possible to increase the speed of the manticore from 500 to 750? I can't seem to get it working.

1
track_twoOP•

Are you trying with an existing campaign? I would expect it to work but any vehicles that already exist in the game wouldn't be affected. You can quickly check by starting a new campaign and seeing how fast your initial manticore moves.

1
BarefootBanditry•

I think I am setting the field up wrong. Is "BaseStats.Speed" not correct?

1
track_twoOP•

No, try "BaseStats.Speed.Value". I haven't tried this one myself but I think it should work

1
BarefootBanditry•

Still no dice. Thank you for the help I will keep fiddling with it and see if I can get it to work.

1
Liolande•

first great work track_two, you save the game for me :D

but i have a question... i try to change different damage values from a weapon and find the corret lines with assetstudio thx to your fix.

it looks like:

DamagePayload DamagePayload
	List`1 DamageKeywords
		int size = 3
			[0]
			DamageKeywordPair data
				PPtr<DamageKeywordDef> DamageKeywordDef = {fileID: 0, pathID: 206311}
				Single Value = 180
			[1]
			DamageKeywordPair data
				PPtr<DamageKeywordDef> DamageKeywordDef = {fileID: 0, pathID: 206322}
				Single Value = 10
			[2]
			DamageKeywordPair data
				PPtr<DamageKeywordDef> DamageKeywordDef = {fileID: 0, pathID: 206321}
				Single Value = 250

and there i want to change the values. now i need the correct "field": line :)

tryed many different lines but nothing did work so far.. can you help me?

for example i tryed this:

{
"guid": "112a754d-413f-27f4-180c-b052cab71d70",
"field": "DamagePayload.DamageKeywords[0].Value",
"value": 165,
"comment": "PhoenixCannon PhysicalDamage?"
},

have you an idea?

1
track_twoOP•

Unfortunately arrays don't work right now, so this isn't possible - yet. It's on my TODO list to support this, and I can hopefully get it done in the next couple of days. I also want to add a scheme to let you change the DamageKeywordDef value, which is also currently not possible. Being able to add new elements to the array would be nice too.

Someone on another thread also had a suggestion about allowing it to read multiple files so I'm doing that too so you don't have to stuff all your mods into one enormous file. This should make it much easier for people to share the patches they build in small files that do only one or two things each.

1
Liolande•

great thx for your fast reply!

i appreciate your hard work! :)

1
track_twoOP•

I've just uploaded release 1.1 to GitHub, there is a binary build there that will support array indices with the syntax you tried earlier. Please let me know if you have any problems with it.

This version also will read all .json files in the `PPDefModifier` directory under `Mods`, if it exists, and any subdirectories under that one. So you can break the mods up into smaller pieces to manage them more easily now. The old fixed configuration file still works too.

1
crusher_bob•
	"guid": "88349756-7c98-ce54-69bb-0d03d2d2e548",

	"field": "SpreadDegrees",

	"value": 1.0

works to increase the phoenix assault rifle's base range to 41. The way to convert from spread degrees to range value is approximately invtan (.7/(game range value)) though something like .69 might be a better value.

1
Liolande•

yep :) allready in my list.. but i will continue after iam able to alter the damage of all weapons... it is necessary for me, because i want to make the researched weapons to be much more powerfull than the starter weapons.

1
crusher_bob•

The bonuses (and penalties) for armor bits are stored in "e_bodypartaspect [XXXX..."

Example: E_BodyPartAspect [PX_Heavy_Torso_BodyPartDef]

The _Torso_, _Helmet_, _Legs_ are the bits to look at.

1
Liolande•

for the legs you need both sides to alter.. left leg and right leg... and the left arm and right arm too!

if that is not changed too you get only the normal armor in the tactical mission.. :)

so it should look like this:

    {
        "guid": "746848e4-cf2f-f124-1b4d-d83b0ae24650",
        "field": "Armor",
        "value": 50,
        "comment": "PhoenixHeavyBodyArmor ArmorLeftArm"
    },
	{
        "guid": "8da6544e-2b74-6aa4-1975-c616eebcd8c4",
        "field": "Armor",
        "value": 50,
        "comment": "PhoenixHeavyBodyArmor ArmorRightArm"
    },
	{
        "guid": "c5e7aab0-fc87-b2a4-ab69-804ad7116e17",
        "field": "Armor",
        "value": 50,
        "comment": "PhoenixHeavyBodyArmor Armor"
    },
1
Liolande•

if someone wants to alter the maxstats for our soldiers, try this lines for your PPDefModifier.json :

    {
        "guid": "93d6e726-b18c-bef4-78cc-d824c1a8b124",
        "field": "MaxStrength",
        "value": 50,
        "comment": "Max Strength for Soldiers"
    },
    {
        "guid": "93d6e726-b18c-bef4-78cc-d824c1a8b124",
        "field": "MaxWill",
        "value": 50,
        "comment": "Max Will for Soldiers"
    },
    {
        "guid": "93d6e726-b18c-bef4-78cc-d824c1a8b124",
        "field": "MaxSpeed",
        "value": 50,
        "comment": "Max Speed for Soldiers"
    },
    {
        "guid": "93d6e726-b18c-bef4-78cc-d824c1a8b124",
        "field": "PersonalAbilitiesCount",
        "value": 7,
        "comment": "Bonus - PersonalAbilities"
    },

want more skillpoints? try this:

    {
        "guid": "ffd0b060-d778-0504-39fd-4269dee2a199",
        "field": "InitialSkillpoints",
        "value": 50,
        "comment": "How many free Skillpoints for Soldierlevel 1"
    },
    {
        "guid": "ffd0b060-d778-0504-39fd-4269dee2a199",
        "field": "SkillpointsPerLevel",
        "value": 80,
        "comment": "How many Skillpoints for LevelUp rewarded"
    },
1
Liolande•

Track_two you are the best... the array update works! :)

1
Liolande•

now, with your consent of course, i want to upload my *.json files to the nexusmods.com and insert your .dll file with link to the gidhub page in my "requirements".

Can i? :)

1
track_twoOP•

Absolutely. Not a problem.

1
Liolande•

thx! :) wanna look?

https://www.nexusmods.com/phoenixpoint/mods/21

​

More will come soon!

1