Can someone explain to me how to fix this problem with custom profiles in moon event

so i made a moon mod, i made all weapons have no recoil, 50 mil ammo, 27k rpm, and no overheating mechanic, here is the mod:

https://sandbox.enlisted.net/post/vimwTWh7WNHHtIgO/

than i had an idea, since i wanted for ALL infantry units to have the plasmafaust as their sec weapon, execpt ofc engineers (and any infantry who already have sec weapon, which is only engineers and anti tank, but anti tank soldiers already have plasmafaust)

so i obv with ctrl+h, made secondary:β€œβ€, or whatever is called be replaced with secondary:β€œβ€,

i saved the custom profile, i obv made 2 ver, bot and player, than i put both of these profiles to the file that the rest of the profiles are, that is, the data file

here it is btw

image

both of bot and player are the same, even though i took both profiles from aprilfools_2022_bot_profile.json and april_fools_2022_profile.json, i renamed the player profile moon_profile.json, and bot moon_bot_profile.json, the only changes i did to the profiles other than the names is what i already told you, that is obv, making all soldiers except engineer have plasmafaust as their secondary

here is whats inside of the custom profile (this is the code for the assaulter, so obv their secondary supposed to have plasmafaust instead of nothing):

image

than, after all that, i launch the editor (more like restart the scene of the mod since i made mistakes) and then this error happens:

the error obv means, that the army (because i made sure both ussr and germany infatry have plasmafaust as their sec except for engineer) is currupted, like oh no, how dare i mod both armies!, they must stay pure!

so how do i make both armies actually not make this error so now i can actually play the game?, also, if you want or need both of the profiles than here they are (il also include the scene.blk if you want it too):

moon_profile.json.txt (108.6 KB)

moon_bot_profile.json.txt (85.5 KB)

scene.blk.txt (40.8 KB)

moon.zip (14.5 KB)
This is the corrected version.
The names of the armies needed to be updated in profiles.
The names of the armies also needed to be updated in the scene.
And I updated the path of your files in custom profiles, because the path you use is only necessary for profiles from developers to work.


I don’t know, maybe it’s intended this way, but your grenade launchers have no charges.

2 Likes

thx for solving the problem petah!

still, the dumbass error message still happens, and i literally just copy pasted the zip file to the mod file!

this is an editor, the editor always shows an error, user profiles only work in multiplayer or local mode

1 Like

there is no ammo, so obv i made sure all weapons have ammo, i put a test, still, no ammo for the plasmafaust, but why?, ik it would get ammo, as literally every other weapon does but nope

fixed it, just needed to adjust ammo amount

2 Likes