Jump to content

Recommended Posts

Good morning,

 

i want to change my user profile but wanna keep my old ACE/TFAR/ACRE key settings. How to do that?

 

I still imported my old ARMA 3 Vanilla key setting, but need my mods key settings too.

 

regards

Share this post


Link to post
Share on other sites

Go into the editor in your old profile and execute the following in the debug console.

copyToClipboard str (profileNamespace getVariable "cba_keybinding_registry_v3")


Now you have all your mod keybinds in your clipboard. Save them somewhere.
Switch to you new profile, go to the editor again and execute
 

profileNamespace setVariable ["cba_keybinding_registry_v3", parseSimpleArray copyFromClipboard];

 

  • Like 2

Share this post


Link to post
Share on other sites

@Dedmen, thanks there is an expression error:

https://imgur.com/X3ULqqo

 

EDIT:

upps, my mistake i forgot to run the mission and then execute the debug console. The Text i get looks like,

http://dpaste.com/3M1EHZA.txt

 

Is the Text i got well formated?

 

But however, even when i don't get an error message, during set up my new profile keybindings, he doesn't set this to my new profile.

Share this post


Link to post
Share on other sites

This syntax does not work for me, i still get the error message of wrong expression,

_arr1 = parseSimpleArray copyFromClipboard; //looks fine

hint _arr1; //looks fine

_arr1 = parseSimpleArray copyFromClipboard; hint _arr1; //gives me expression error

Share this post


Link to post
Share on other sites
22 hours ago, feldmaus said:

Is the Text i got well formated?

Yes that's correct. You can alternatively also just paste it manually.

 

profileNamespace setVariable ["cba_keybinding_registry_v3", ["#CBA_HASH#",["cba acces...,[],[],[]],any]];

See? Just paste the whole array as second argument to setVariable.

profileNamespace setVariable ["cba_keybinding_registry_v3", <Your array in here> ];

 

No idea why the copyFromClipboard doesn't work...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×