Jump to content

Recommended Posts

Posted

You need to create new window in interface.xdat, choose location on the screen and size 32x32 and script file same as file name. In the window you need to add the button with 32x32 size, as graphic set anything. Now you need to create new class that needs to be placed in interface.u later, it should have name same as window in interface.xdat. In script file you need to:

- register event EV_ReceiveMagicSkillUse

- override onevent function so you catch magic skill uses

- get ButtonHandle of your interface.xdat button

- set graphic of the button as icon of the skill(based on id from the event)

- make wnd be visible

 

You also should consider to make a timer which will hide wnd after skill was casted & register new event which notifies script if skill was cancelled

Posted

Hi im looking for someone who can tell  me how i can edit smth like this but with different skills which are going to display.

 

It is this that is located in the screenshot, it is done through the replacement of icons in systextures > branchSys.utx

 

You need to create new window in interface.xdat, choose location on the screen and size 32x32 and script file same as file name. In the window you need to add the button with 32x32 size, as graphic set anything. Now you need to create new class that needs to be placed in interface.u later, it should have name same as window in interface.xdat. In script file you need to:

- register event EV_ReceiveMagicSkillUse

- override onevent function so you catch magic skill uses

- get ButtonHandle of your interface.xdat button

- set graphic of the button as icon of the skill(based on id from the event)

- make wnd be visible

 

You also should consider to make a timer which will hide wnd after skill was casted & register new event which notifies script if skill was cancelled

 

And how do you build on these windows to characters, and not to the position of the screen?

Posted

 

And how do you build on these windows to characters, and not to the position of the screen?

I do not know, most likely cannot be done by interface.u

Posted

I do not know, most likely cannot be done by interface.u

By the way, In new l2 clients (~IO / Classic) interface has the support of Gfx scripts that cause flash graphics from .ugx package. 

For example: damage over the head. This is a very deep, imho. Nwindow.dll maybe. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



  • Posts

    • Hello guys.Im looking for a simple autoclicker that works for servers with anticheat
    • Thank you for the reply. I know that this issue is due to L2 being so old. I was just wondering if there was an external way to fix the UI scaling. Like a patch or some settings.
    • Bro the game is so old it doesn't have a native option to scale the UI like in modern MMOs
    • Dear players, From April 19 to April 27 inc., the Bonus Start event will be active. It’s designed to help new and low-level characters get started more easily.   All characters that meet one of the following conditions: — created less than 3 days ago (regardless of level), — currently level 20 or below, — created during the event period, will receive upon login: — 10 sets of buff scrolls (phys or mage, depending on class), — 10 packs of +50% Drop/Spoil runes (2 hours each), — 10 packs of +50% Exp runes (2 hours each). Characters between level 21 and 30 will receive upon login: — 6 sets of buff scrolls, — 6 packs of +50% Drop/Spoil runes (2h each), — 6 packs of +50% Exp runes (2h each).   Event items will be removed approx. 09.05.2025 Server rates will be increased to x2.25. Take this chance to start your journey with ease or bring an old hero back into the fight — it’s the perfect time to test your strength! Open Beta Test is started!  Helper cats are waiting in towns — talk to them to receive the necessary equipment and level up your character. Siege Schedule:  - April 13 at 16:00 (GMT+2) – Innadrile Castle - April 14 at 20:00 (GMT+2) – Bandit Stronghold - April 15 at 20:00 (GMT+2) – Devastated Castle 📌 During the OBT, players who report bugs will receive CoL:   - 1 CoL for each reported staticmeshes bug (e.g., walking through textures, stairs, etc.) - 2 CoL or more for server-related issues (depending on severity) You can report bugs on the forum. The Open Beta Test will run approximately until April 15 at 23:00 (GMT+2). Your activity and feedback will help us improve the game.   Download links: Download client | Download updater 
    • begin if (user.dead) then begin delay(555); Engine.GoHome(rtCastle); print('User dead, going to castle..') end; end.  
  • Topics

×
×
  • Create New...