E
elfenliedtopfan2
Guest
ok what i have is 2 files some share the same keys and i want to change the values so the file i want to load is like this
this is the file i want to load
[C#] WEAPONFILE\AIOverlayDescription\\gunModel\t6_wpn_ar_ak47_view\gunModel1\\gunMode - Pastebin.com
i know this can be done with a simple string split into dictuanry via //
this is the file i want to check to see what the same lines are
like i load in the top file it compares the 2 looks for like displayname this is example
and if finds changes the value of the one comparing to to the loaded ones value
this is the file i want to change the values on
[C#] { "elf_cp_bo2_pdw_ads_down" ( "xanim.gdf" ) { "angleError" "0.05" "bon - Pastebin.com
also want the option to add it manually thats why im trying to load the first one into a dicunary so i can do something like this
filetochange["peacekeeper"]
or have it this way
filetochange["DisplayName"] = loadedfile["Displayname"]
then once the file changes all thats needed i want to save the filetochange to a file called like output.gdt
i hope i explained that ok i sorry i have dylexia so explaing things can be harder than i would like
Continue reading...
this is the file i want to load
[C#] WEAPONFILE\AIOverlayDescription\\gunModel\t6_wpn_ar_ak47_view\gunModel1\\gunMode - Pastebin.com
i know this can be done with a simple string split into dictuanry via //
this is the file i want to check to see what the same lines are
like i load in the top file it compares the 2 looks for like displayname this is example
and if finds changes the value of the one comparing to to the loaded ones value
this is the file i want to change the values on
[C#] { "elf_cp_bo2_pdw_ads_down" ( "xanim.gdf" ) { "angleError" "0.05" "bon - Pastebin.com
also want the option to add it manually thats why im trying to load the first one into a dicunary so i can do something like this
filetochange["peacekeeper"]
or have it this way
filetochange["DisplayName"] = loadedfile["Displayname"]
then once the file changes all thats needed i want to save the filetochange to a file called like output.gdt
i hope i explained that ok i sorry i have dylexia so explaing things can be harder than i would like
Continue reading...