Jump to content
Corsair Community

How to make text action include spaces for console command


Bishiba
 Share

Recommended Posts

Hello!

 

I am new to this and I am trying to make a list of console commands that I want to add for each new ruler in CK2. The trait list is as follows(also see image):

 

add_trait 2618014 genius

add_trait 2618014 fair

add_trait 2618014 strong

add_trait 2618014 giant

add_trait 2618014 lefthanded

 

The reason I want it to be used in a textfile rather than making a macro for it is that I want to change the character ID to the heir to the kingdom rather than the current ruler as it helps the heir advance their natural abilities. So when a new heir is made I can just use the replace tool for the ID in, say, notepad.

 

But the text action does not seem to record the "enter" so it just writes the text in the console without actually executing each line. Is there some sign/code I can use to execute the return command between lines? I tried searching for this but could not find anything. I also don't wish to install more software since it easily get's cluttered. So if there is any other way where I can do this within iCUE that would be great.

 

Best regards,

Bishiba

1852570820_iCUECK2Image.png.15a7934bfe42ff61a8a4f87ed6b27831.png

Link to comment
Share on other sites

I think you are going to need to record that one as a macro. The text action is really a "paste" action. Handy for repeated phrases, addresses, etc., but if you need to register keys that have specific contextual functions, you'll need to do it as a macro.

 

It's not as bad as it seems. Go the Actions menu, click record and then carefully type out the command and hit enter at the end. It doesn't matter how slow you go. At the end, use the function to delete all delays and then assign it to a key.

 

add_trait 2618014 genius

 

 

Link to comment
Share on other sites

Thanks both.

Ye, it interprets it correctly as text. Below is me pressing G1 for the action:

 

add_trait 2618014 genius

add_trait 2618014 fair

add_trait 2618014 strong

add_trait 2618014 giant

add_trait 2618014 lefthanded

 

So it seems a macro is the only solution. Luckily I figured out that I can just copy the ID and then just include ctrl-V in the macro.

 

Best regards,

Bishiba

Link to comment
Share on other sites

 Share

×
×
  • Create New...