tips 0015 make custom key types - cwtickle/danoniplus-docs GitHub Wiki

English | Japanese

| < Custom key types template | How to create a custom key type | Overwrite key pattern of regular key types > |

How to create a custom key type

Usage

Custom key types to be created this time

  • We will create a custom key type named 11x.
|difData=11x,Normal,3.5|

1. Enumerate the key targets to be used (keyCtrlX)

  • First, roughly determine the number of key type to be assigned.
  • It is not necessary to determine the keys to be assigned at this point. Assign only the number of key type as shown below.
|keyCtrl11x=0,0,0,0,0,0,0,0,0,0,0|

2. If you need to scroll up and down, determine the wrap position (divX)

  • If you want the first four to be on the top and the rest on the bottom, set as follows
|keyCtrl11x=0,0,0,0,0,0,0,0,0,0,0|
|div11x=4|

3. Adjust the position to place (posX, divX)

  • To slightly change the position of the top row, move the numbers as shown below.
  • Changing "posX" will change the wrapping position, so change the position of "divX" as well.
|keyCtrl11x=0,0,0,0,0,0,0,0,0,0,0|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
  • For "posX", it is also possible to specify the lower relative position (b+number from the left end of the lower row) as shown below.
|pos11x=0,1,8,9,b0,b1,b2,b3,b4,b5,b6|

4. Change arrow type (stepRtnX)

  • As it is only a left arrow, change the arrow type to adjust it.
|keyCtrl11x=0,0,0,0,0,0,0,0,0,0,0|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
|stepRtn11x=45,0,180,135,0,-45,-90,onigiri,90,135,180|

5. Change color scheme (colorX)

  • Change the color scheme with "colorX".
|keyCtrl11x=0,0,0,0,0,0,0,0,0,0,0|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
|stepRtn11x=45,0,180,135,0,-45,-90,onigiri,90,135,180|
|color11x=3,4,4,3,0,1,0,2,0,1,0|

6. Specify the key to be assigned (keyCtrlX)

  • Specify the actual key to be assigned.
|keyCtrl11x=D1,W,P,Minus,S,D,F,Space,J,K,L|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
|stepRtn11x=45,0,180,135,0,-45,-90,onigiri,90,135,180|
|color11x=3,4,4,3,0,1,0,2,0,1,0|

7. Set shuffle assignment grouping (shuffleX)

  • This sets the grouping settings for shuffle settings.
|keyCtrl11x=D1,W,P,Minus,S,D,F,Space,J,K,L|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
|stepRtn11x=45,0,180,135,0,-45,-90,onigiri,90,135,180|
|color11x=3,4,4,3,0,1,0,2,0,1,0|
|shuffle11x=0,0,0,0,1,1,1,2,1,1,1|

8. Set variable names for chart (charaX)

  • Set variable names for setting in the editor. There are no restrictions on the name, but it is easier to share the name when creating other key type if you give it a similar name.
|keyCtrl11x=D1,W,P,Minus,S,D,F,Space,J,K,L|
|pos11x=0,1,8,9,10,11,12,13,14,15,16|
|div11x=10|
|stepRtn11x=45,0,180,135,0,-45,-90,onigiri,90,135,180|
|color11x=3,4,4,3,0,1,0,2,0,1,0|
|shuffle11x=0,0,0,0,1,1,1,2,1,1,1|
|chara11x=sleftdia,sleft,sright,srightdia,left,leftdia,down,space,up,rightidia,right|
  • In the above example, the following is the chart data. If you put a number between = and |, you can confirm that the arrows flow.
|sleftdia_data=|sleft_data=|sright_data=|srightdia_data=|left_data=|leftdia_data=|down_data=|space_data=|up_data=|rightdia_data=|right_data=|

9. Additional settings, etc.

  • Basically, once you have completed the settings up to this point, you are all set.
    For the rest of the detailed settings, please refer to the related items.

Related pages

| < Custom key types template | How to create a custom key type | Overwrite key pattern of regular key types > |