Cortosis Clash not working correctly

I’m trying to add cortosis clash to my saber. I’ve added the define to the prop, I’ve added the effect through the blade editor, and I’ve installed it in the saber.

When I activate the effect and then clash the saber the blade flickers and then the blade retracts almost all the way, as it’s supposed to. Then it extends all the way after two seconds. It during extended half way like it’s supposed to.

The time set for the blade timer is set to the default 10000.

I tried uploading a video but the forum doesn’t accept any video format my phone captures. (yay)

I’m guessing that I’ve inserted the define correctly as the effect can be triggered, it just didn’t behave properly once it has been activated.

Any ideas?

Post your config (you can use pastebin.com and paste the link).

Thank you for your response. :grinning:

Do you mean the saber.h file of the prop file? (I’m new to this and don’t haven’t the names down yet.)

Your config.h file that contains the style code from my library. It’s the file you would’ve edited to add the style to your saber.

Here is the link. Thank you.

(It’s in the first font. Whilst it’s labelled as Leia it doesn’t look like Leia’s blade. I just wanted to see the effect in action and the rest of the font is all default.)

No, you need to copy the contents of the config file and paste them into the pastebin, then share. You only shared the location of your config on your computer, that doesn’t let anyone else see.

Sorry, it’s late over here. Brain functioning not good.

My prop is required for any Special Abilities to run, your config does not currently use my prop.

See here for how to include my prop and the required set up. Review everything on this page.

Also, when using styles from my library keep the copyright and style information section intact with the code. This section includes a lot of important information for set up and usage of the style code generated and it’s required for me to do any troubleshooting. This section is a comment and has no impact on memory used, but if it’s deleted or removed I will not be able to troubleshoot issues and you probably won’t be able to properly set up for the style.

Sorry, I kept all of the info on how to make each font in a seperate file as I thought the comments would chew memory.

So it seems that it’s not using your prop file that’s preventing me from using the effects. I made my own prop file as one of the “cool” effects from my “fun” diagnosis makes it hard for me to pull information out of large chunks of text. I found the prop file really hard so I made my own prop file.

It seems that I need to find a way to read through the file and get the information I need in order to use it, or go without the special effects.

What was hard about my prop? You know just about everything is customizable via defines in my prop, right? If you let me know where the challenges were I can direct you to the defines to disable/enable the features :wink:

Or you can use my Config Helper, it walks you through customizing the prop and optimizing your config. Just watch the videos at the top and read through everything: Fett263 Proffieboard ProffieOS6 & 7 Config Helper

Trying to move Special Abilities into a different prop will require a lot of knowledge and work, IMHO it’s easier to just apply the defines you need for customizing features and use my prop. Your call.

My particular style of autism doesn’t really affect me very much on a day to day basis, but one of my little “perks” is that I have trouble with large blocks of text. My mind doesn’t deal with it and I can’t read it easily as the words all melt together. That’s why when I created my button file I spaced it out with huge spaces and lots of titles and headings to further break it all up.

Nothing against what you’ve done, and please don’t take it that way. It’s just that my mind doesn’t work like most other people.

I would like to use effects, so I’ll spend time spacing out the file so I can learn it all. Out of curiosity, it seems that there are sound files that are native to your prop file, in particular the sounds made when you enter the sound menu, etc. Are they available anywhere?

FWIW you don’t need to process large blocks of text to use my prop. Just add the prop and read the controls.

1 Button controls are here:

Each main bullet is one control, you could space those out if you need to understand but the controls are really all you need to read to be able to use my prop (after the set up of course).

If you use my Config Helper one the features is it will allow you print a customized control list based on the features you select.

If you use my prop and find a control that you don’t want or something specific that is giving you trouble odds are I already have a define for customization so just ask and I can direct you to the right define (or how to use the control as intended).

The controls are really all you need, besides the set up in your config. Everything else is already handled.

Controls are found on the page I linked above.

For the set up here’s the simplest:

#1 - Add this to your config above the #ifdef CONFIG_PRESETS

#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif

#2 - Then in each of your presets you need to add “;common” to the font.

So your presets look like this:

{ "font;common", "font/tracks/trackname.wav",

/* copyright info
*/
StylePtr<...>(),

"name"
},

#3 - Then you need to add the “common” file with Voice Pack to your SD Card.
Just choose one from the bottom of this page (this is required for the menus and certain features to run): Free prop sounds

OK, for step #1 the #include is there as I’ve added the config_top to the file.

For #2 I have the following before the style. With the “name” at the end of the style, what name is that? The name of the style again?

{ "Leia;common", "tracks/Leia's Training.wav",

When I upload I get two sounds playing at the same time when the upload is finished, one of them is the font sound, the other is an error message. I can use the volume controls and hear the free prop sounds from the common folder.

It’s the preset name, it’s used for OLED screens or with ProffieOS Workbench. It’s not required but it is part of the preset so I show it.

What’s the error message? That will tell you what is causing it.

Error in font directory. Looks like I need to go fishing through the folders!! Time to go through them and find the culprit…

You can also use ‘effects’ command in Serial Monitor in Arduino and it will tell you the cause(s) of the error.

I know I’ve taken so much of your time, but I’ve gone through every folder and can’t find a missing number. Are you please able to teach me how to use that command?

With your board connected to the computer.

Open Arduino > Tools > Serial Monitor

make sure you’re on the preset with the error and then just type ‘effects’

The Serial Monitor will print out the results and list the sound files that are causing the error. If you can’t decipher the results, just copy the full print out and paste it here.

I’m unsure about how to enter the preset. Plus, when I type effects it says Whut?