Jump to content


Photo

Green Sparkles around Buttons


  • Please log in to reply
6 replies to this topic

#1 fienx001

fienx001
  • Members
  • 118 posts
  • Location:Pacific Northwest
  • Projects:The Door of Night | Fienx Mod
  •  Getting There

Posted 18 August 2011 - 03:18 AM

I've noticed that there are green sparkles that circle around specific buttons in the palantir, I'm guessing it's a 2d animation? Where is this defined in the ini and how do you add it to an image? And how do you change the flashing damage on a heros portrait?
Posted Image

#2 Ganon

Ganon

    What's this?

  • Project Team
  • 967 posts
  • Location:Ohio, United States
  • Projects:My Link Mod
  •  Code Scientist

Posted 18 August 2011 - 09:37 AM

When you say "green sparkles", are you refering to the AutoAbility indicator?

I've never tried editing either of these things before, but I'm guessing that it's made through the APT files. Just my two cents.

#3 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 18 August 2011 - 11:12 AM

You set an auto ability through coding. It gets the sparkle look when you set it..

#4 Ganon

Ganon

    What's this?

  • Project Team
  • 967 posts
  • Location:Ohio, United States
  • Projects:My Link Mod
  •  Code Scientist

Posted 18 August 2011 - 01:22 PM

Well, yes you allow buttons to have the autoability feature through coding, but I thought you had to right-click on it ingame to set it?

Maybe I just don't get what you mean. :p

#5 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 18 August 2011 - 01:27 PM

When coding new abilities you have to code in the auto ability code. That's what i men't Posted ImageYou can give it to any button that isn't a summon, For example if i want Blade Master to be an auto ability then in Command Button under Blade Master i would put AutoAbility = Yes. and then when you right click it in game the little sparkly things go around it depending on the graphics setting

#6 Ganon

Ganon

    What's this?

  • Project Team
  • 967 posts
  • Location:Ohio, United States
  • Projects:My Link Mod
  •  Code Scientist

Posted 18 August 2011 - 01:30 PM

Yeah, but that's completely......NOT the point. :crazed:

fienx001 wants to modify the visual element. ;)

Edited by _Bender_, 18 August 2011 - 01:42 PM.


#7 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 18 August 2011 - 01:37 PM

Yuppers... To do that go looking through the apt files until you find the one that has it.. Then you can change the colors and stuff... Posted Image


From: Sleep deprived Dragon Rider

Edited by Dragon Rider, 18 August 2011 - 01:37 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users