New parameters for .json profiles - Random item within a list

greetings. today i come with a rater simple suggestion, yet can be quite impactful.

and that one is,

add the ability to change parameters within a .json and change gametemplate from a specific list randomly with each spawns.

for example,

                     "face" : {
                        "gametemplate" : "%ugm.faces_list.blk",
                        "slot" : "face"
                     },

and inside the faces_list.blk



                     "face" : {
%0.5                        "gametemplate" : "attachable_wear_head_male_35_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_15_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_05_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_03_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_31_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_32_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_33_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_34_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_14_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_31_ussr_item",
%0.5                         "gametemplate" : "attachable_wear_head_male_21_ussr_item",
 %0.5                        "gametemplate" : "attachable_wear_head_male_22_ussr_item",
                        "slot" : "face"
                     },

essentially, a full list of possible items that goes there but generated differently.

in theory, the game with each spawn will assign a different item everytime.

for example, a modder could set that, a player whenever spawns,
it will generate a different template each time with different weapons or appearance.

this system could be utilized in theory for pretty much anything.

for example, spawn with different weapons each time.
different sets of appearance, different vehicles etc.

why?

well, the primary reason was for my own lone fighters pves.

i do not like that they all have the same face and weapon.

to make my own mods a bit more dynamic and come with a dynamic surprise factor, i’d like that each spawn faces and weapons changes without having to make 40 squads just to have some differences.

but this can be used for zombie mods, gun games, or even make new gamemodes based on it.

and that would be all.
thanks for listening.

even though most modding suggestions gets ignored.
but oh well, perhaps for the next generation of modders.

6 Likes

That would be absolutely amazing! I’m tired of writing different face models so that the characters aren’t the same. I also don’t like having to deal with a several cool clothing items, but this way I can add them all and have them appear randomly. Or give the character a random selection of different weapons from the same niche. Like the MP-38/MP-40 or PPD/PPSh, DP27/DPM, different Thompson models, pistols, grenades, etc.

1 Like

just going to put this here cause you are butchering json :stuck_out_tongue:

other than that your suggestion is pretty easy to implement if you ever find someone to bother with it…

she is not butchering json, but the BLK in Enlisted. She is not writing JSON on the second part

faces_list.blk should look like this

.
.
.
"faces:array"{
        "face:object"{
          gametemplate:t="attachable_wear_head_male_35_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_15_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_05_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_03_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_31_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_32_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_33_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_34_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_14_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_31_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_21_ussr_item"
          weight:r=5.0
         }
         "face:object"{
          gametemplate:t="attachable_wear_head_male_22_ussr_item"
          weight:r=5.0
         }
}
.
.
.

Better read first
2 Likes

my mistake… she is butchering blk :smiley:

saw that she wrote json notation in blk, so thought it was meant to be that way(dont mod, so idk proper blk format).

1 Like

This would honestly be so amazing. Imagine having custom profile where the tanks camo changes every spawn for an example

3 Likes