I have been trying to find a solution to my issue. I have a few configs that I am trying to build. But I have a single string that needs to be replaced OVER AND OVER but with different values. EX:
{
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_TekRifle.PrimalItem_TekRifle'",
"Player": {
"AllowDamage": true,
"AllowDamageText": true,
"MaxDistance": -1,
"DamageMultiplier": 1,
"MaxDamage": -1
},
"TamedDino": {
"AllowDamage": false,
"AllowDamageText": true,
"MaxDistance": -1,
"DamageMultiplier": 1,
"MaxDamage": -1
},
"WildDino": {
"AllowDamage": true,
"AllowDamageText": true,
"MaxDistance": -1,
"DamageMultiplier": 1,
"MaxDamage": -1
},
"Structure": {
"AllowDamage": true,
"AllowDamageText": true,
"MaxDistance": 1000,
"DamageMultiplier": 1,
"MaxDamage": -1
}
},
I would like to replace:
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_TekRifle.PrimalItem_TekRifle"
over and over with multi different strings from a list of entries. I would like to find a way to dump in said list and have it copy that whole code block and replace said value with the first thing in the list and so on till it is finished. I have over 100 entries and copy and paste is starting to cause my eyes to go crossed.I know that I have to be doing it the hard way right now. But I have not found a solution.
What I have tried:
Been copying and pasting the above block of code and replacing said string by hand. Would like to find a automated way if possible. Would make creating BIG config files easier. Doing the editing in notepad++