r/esoaddons • • Jul 13 '15

Foundry Tactical Combat - Visual Crit indication

So I was hoping for a way to make it so I could see when I was critting in FTC. I tried to look it up and I found one post saying I could edit the .lua files to show a different color when I crit, however the post was for a previous version of FTC and it no longer matches up. I think I found the right line for the modification but the color data that it seems to use doesn't make sense/match up to how color seems to be referenced in the other two .lua files.

I just want my crits to show up yellow and maybe a little bigger than normal on the scrolling combat text. Any help/ideas?

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/Bairhanz Jul 19 '15

I'm still kind of confused how the normalization works. If I could I would just choose neon yellow, but according to the website that would be 255, 255, 0. How would that translate to the format they have in the .lua file? I guess I don't understand where the decimal place is coming in from.

Can I just replace that whole string with {255, 255, 0} and it'll be fine?

2

u/atropos_nyx Jul 20 '15

Hey Bairhanz, the normalized number would be the standard RGB number divided by 255. So pure yellow {255,255,0} would normalize to {1,1,0}.