Hey, I found this keyname
"#base" from Insurgency game, haven't seen before. (name
"#include" exist also, works same way ?)
It can merge source file(s) in your current kv structure.
It not update/overwrite your current values, but create new ones.
Quick example:
By creating three file in game root folder
And in your sourcemod plugin, you import Main File.txt in your KeyValue structure and thats it.
PHP Code:
Handle kv = CreateKeyValues("MyFile");
FileToKeyValues(kv, "Main File.txt");
KeyValuesToFile(kv, "MyFile.txt");
CloseHandle(kv);
Output will be this:
Code:
"Main File"
{
"Main File section"
{
"Main File key" "value"
"First File key" "666"
}
"Second File section"
{
"Second File key" "value"
}
}
__________________