Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

(REQUEST) PvP Sniper Addon


Recommended Posts

I am a student and don't have much money, but I will pay 50 euros through clickandbuy.com or Western Union (I can't use paypal from my country Serbia).

The addon:

- Shows health and wound complexity of all visible player enemies

- Color coded classes

- Name of enemy players

- When clicked on a name from the list it will target that enemy

Thank you in advance.

Link to comment
Share on other sites

It's for EU version so API is older than 2.X...

The addon is done but I'll still pay 50 euros if the code can be changed to get the moving bars like in RealAggro that will display health of enemy and to get colored bars to display the class also.

If you are interested send me your email or Skype and create an account on clickandbuy.com or send me the details for Western Union so that I may send you money. Thank you.

Link to comment
Share on other sites

Well, idk your maintime, you wasnt recently in skype, i've decided to write a bit here, maybe this will help anyone else.

I am not very interested in PvP addons-spreading, but my fault is that i want to help people =D

You need: Create and destroy widgets,

If you don't need the resize (small circle-markers of enemies and/or classes and such will be bareley seen if resized to very small size) then you need /Modding Docs 101021/LuaApi/FunctionObjectAttachWidget2D.html

object.AttachWidget2D( targetId, mainForm, ATTACHED_OBJECT_POS_UP )

Which attaches 2D widget to any unit on screen.

These widgets should be LOW aligned, because they are attached by the top left corner of... Hm... Big X°Y screen-sized area... Can't really explain, just remember to align these vidgets "LOW". I've tried to do this with "Center-aligned" vidgets and was wondering why didnt it work, and then i've noticed that vidget floating in bottom right corner.

Also, AddWidget3D( self, widget, size, pos, autoResizeX, autoResizeY, cutDistance, bindPointY, minSizeLimit, maxSizeLimit ), but i didn't test it. The description and var names are very self-explanatory. Just remember to make CutDistance large enough for pvp addons, i'd prefer something really big coz on Astral War you see enemy units from far far far far away.

AttachWidget3D( objectId, wtControl3D, widget, heightOffset )

THis one attaches 3D widget to unit the same way AttachWidget2D does for 2D ones.

Well, there was a funny thing while i was testing this - somewhy it does not work(or IDK how does it work) for some widgets that are placed inside some other non-MainForm vidget, and i use a "testing buttons" addon for testing new scripts (i can test anything with text or log output without restarting game), and i have attached the whole mainPanel to some character. Nice, but then he ran away, and my MainPanel.. Well ran with him! And disappeared then! I LOL'ed =D

Link to comment
Share on other sites

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using our site you agree to the Terms of Use