Перейти к содержанию

Дайджесты за январь-февраль

Обновления гайдов и аддонов

Январь Февраль

Мониторинг серверов и редактор аддонов

Представляем вам две легенды. То, о чем можно было только мечтать, стало реальностью.

Мониторинг серверов Редактор аддонов

Подсказки из игры на вашем сайте

Теперь вы можете отображать сведения о внутриигровых элементах простым наведением курсора мыши.

Подробнее

Апдейтер аддонов

Представляем вам программу для автообновления аддонов и делимся подробностями.

Подробнее Скачать

(REQUEST) PvP Sniper Addon


Barut

Рекомендуемые сообщения

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.

Ссылка на комментарий
Поделиться на другие сайты

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.

Ссылка на комментарий
Поделиться на другие сайты

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

Ссылка на комментарий
Поделиться на другие сайты

For simple health/mana bars, you can take a look at SLA's old TargetofTarget add-on. I used this code to help develop my current PlayerHUD add-on which is still in early NA forum only publication.

Ссылка на комментарий
Поделиться на другие сайты

Well i have misunderstood him, i thought he wants health/mana bars to move with the targets.

Simple health/mana bars are simpler than ever.

Ссылка на комментарий
Поделиться на другие сайты

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Восстановить форматирование

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

×
×
  • Создать...

Важная информация

Пользуясь сайтом, вы принимаете Условия использования