Jump to content
Sign in to follow this  
Kolmain

KOTH Kill Notifications

Recommended Posts

I saw some videos of King of the Hill and noticed they had a very nicely animated kill ticket at the bottom right. Does anyone have/know how to go about scripting something like that? It had like a flash that went over the text and revealed it, then it faded out...

Share this post


Link to post
Share on other sites

Its a Structured Text control inside Controls Group. When new line gets added, colored rectangle appears above it to display a flash. When message times out entire Structured text gets moved down one line and controls group cuts it off.

Share this post


Link to post
Share on other sites

I am looking for code which can display some info when civilian was killed. Cant find nothing for arma 3.

Share this post


Link to post
Share on other sites
Its a Structured Text control inside Controls Group. When new line gets added, colored rectangle appears above it to display a flash. When message times out entire Structured text gets moved down one line and controls group cuts it off.

I'm an experienced scripter, but never got into dialogs or control groups. Can you give me a code snippet? :(

Share this post


Link to post
Share on other sites
I'm an experienced scripter, but never got into dialogs or control groups.

You gotta start sometime, innit?

Share this post


Link to post
Share on other sites
You gotta start sometime, innit?

I believe you mean, "You gotta start sometime, init". :D

On topic,

is a good intro to dialogs. I suspect the KOTH thing is quite a lot fancier but this might be worth a look.

Share this post


Link to post
Share on other sites
I'm an experienced scripter, but never got into dialogs or control groups. Can you give me a code snippet? :(

Unfortunately there is no easy way to give you the code that works as it is connected to lots of other stuff, you'll need to do your own implementation, it is just 3 controls - controls group, structured text inside of it and highlight text that is used as solid rectangle for the flash.

Share this post


Link to post
Share on other sites
You gotta start sometime, innit?

Lol, looks like todays the day!

I believe you mean, "You gotta start sometime, init". :D

On topic,

is a good intro to dialogs. I suspect the KOTH thing is quite a lot fancier but this might be worth a look.

Thanks I'll watch this tonight.

Unfortunately there is no easy way to give you the code that works as it is connected to lots of other stuff, you'll need to do your own implementation, it is just 3 controls - controls group, structured text inside of it and highlight text that is used as solid rectangle for the flash.

I appreciate your replies, I'll be in touch if I get stuck. :p

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
Sign in to follow this  

×