Simplify coding replace issue
-
Ok 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
}
},
But I would like to replace "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_TekRifle.PrimalItem_TekRifle" over and over with multi different strings from a list. 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. -
Ok 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
}
},
But I would like to replace "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_TekRifle.PrimalItem_TekRifle" over and over with multi different strings from a list. 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. -
mininja2131 wrote:
I have been trying to find a solution
Then you should post your question in the correct forum. This one is for suggesting free tools, as clearly stated at the top of the page.
Ok my bad I thought that there might be a free tool to help me with this issue. That is the only reason I picked this forum. What one would you suggest I post this in then? And thank you for your reply.
-
Ok my bad I thought that there might be a free tool to help me with this issue. That is the only reason I picked this forum. What one would you suggest I post this in then? And thank you for your reply.
-
Ok 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
}
},
But I would like to replace "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_TekRifle.PrimalItem_TekRifle" over and over with multi different strings from a list. 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.Code your own one? :rolleyes: :-D
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
mininja2131 wrote:
I have been trying to find a solution
Then you should post your question in the correct forum. This one is for suggesting free tools, as clearly stated at the top of the page.