How to modify an existant mod?

Hy guys!

After asking the permission to the mod’s creater, I want to know how to modify the squad preset ?

I just want to replace or limit some tanks + add a minium score to get some of them

2 Likes

You cant really do that easily without the mod’s creator sending you the source codes, since the mod is packed.
I advise you to ask the author to send you the source code, it is the most ethical and quick way of doing so

Ok, and after, I need to find what in the source cod?

Before asking to the creator, I prefer to know if it’s “easy” (some lines to change), or not

I understand you want to change the contents of a custom profile. Custom profiles are written in JSON. If you want to change a specific weapon, find its name in the editor and type it in the appropriate line. In the weapon’s properties in the editor (select the object and press P), you can see which magazines are used in this weapon (gun ammo holders) and enter the name and quantity of the magazines you need. Generally, if you understand where the data about a soldier or squad begins and ends, it’s not difficult. It’s preferable to use a development tool rather than a notepad, which will immediately point out any errors. For example, MS VSCode.

It’s a similar situation with clothing. You find the item you need, look in the properties to find the slot it needs to be placed in (I don’t remember exactly, but I think it’s “item equip to slot”), and then enter it into the file.

If you can’t figure it out, maybe I can help you this evening.