Jump to content

Recommended Posts

Posted

Hi so I know there is a lot of interface.xdat with the keybinds already for adding 1-9 and Q-P.

I know the general idea is to create the values below but I can't understand how to add a value to a different bar.

 

Say I add a new action with 1. When ever 1 is pressed I want it to use the first slot in bar 2.

I can't see where I assign a bar number to a action. Probably missing something obvious.

 

Is the shortcut bar number sequential UseShortcutItem Num=0 => UseShortcutItem Num=11

So If I went UseShortcutItem Num=12 that would be first slot on bar 2?

 

Thanks

 

fqgqmubo.aau.png

Posted (edited)

UseShortcutItemBlaBlaBla, this is just the value of the string that is passed to the function (class Shortcut). No more.

Example:

 

function getCommand(string param)
{
    switch(param)
    {
        case "UseShortcutItemBlaBlaBla":
        makeSomething();
        break;
        case "My_girl_is_beautiful":
        makeSomethingOther();
        break;
    }
}
Edited by L2Neophron
Posted (edited)

Thanks for your reply Neophron.

I wasn't clear on what I would like to achieve.

So I am trying to get the below (image). I understand that this can be done by modifying the interface.xdat

 

qlbljfka.ks3.png

 

By default I have the F1,F2,F3 how can I set it so I when I press 1,2,3 to go to the second bar?

From what I can see the values aren't marked as bar numbers (bar1, bar2 etc) so how does the value you set know to go to Bar2 or Bar4 or bar10. 

 

For Example if I add a value:

 

Key_1 = 1

Key_1 = None

Key_3 = None

Action = SetShortcutItem Num=0

 

So when 1 is pressed I want it to go to Bar2 slot 1. How does this value know that its for bar 2 and not another bar.

 

odyyw3bl.451.png

 

I hope the above is clear now, thanks. :)

Edited by ogman
Posted (edited)

Even if I were your countryman, it was not easy for me to understand what you are writing and what you want :)

Try to explain easier. Like, "I want to click here that it was wow".

 

Edited by L2Neophron
Posted

To do this, you need to rewrite the code for the Shortcut class (Interface.u) with all the appropriate commands. Then assign them keys in Interface.xdat.
 

 

function getCommand(string param)
{
    switch(param)
    {
        case "LaLaLa_A":
        ExecuteCommand ("/useshortcut "4" 1");
        break;
        case "LaLaLa_S":
        ExecuteCommand ("/useshortcut "4" 2");
        break;
    }
}

Etc.

Interface.xdat > Action >

Key_1 - A
Key_1 - None
Key_1 - None
Action - LaLala_A

Key_1 - A
Key_1 - Shift
Key_1 - None
Action - LaLala_A

Key_1 - A
Key_1 - Shift
Key_1 - None
Action - LaLala_A

Etc.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Vesper Noble heavy set (RAR) 1800 att - 150e Eternal Core Dualsword +6 300 att 130e Ring of Baium 130e AQ ring 100e Antharas Earring 200e   Paypal payments only DM in discord narttu123
    • L2REBORN x10 - 1gb - 4.2$ l2reborn x1 ( signature ) - 1kk - 1.3$ LU4 - 1kk - 2.3$ MASTERWORRK - 1kk - 3.8kk  discord - adver745645
    • Hello, Skill Activation: The activation options from the Alt+K window work perfectly. However, when activating them from the skill bar, there is still a delay of approximately 1 second. I need to remove that delay
    • --- Interlude Faction/GvE PvP grand opening 2025-11-15 19:00 GMT+2 ---   Gameplay: Chronicle: Interlude Type: Faction/GvE (Angels vs Nature vs Demons) GM Shop: B-S grade Buff slots: 20+4 Starting level: 74 + rebirth system   New Features: Client: Modern interface based on Essence Balance: New class skills for better balance Achievement Rewards: Daily, Weekly, One-time TOP rankings: PvP, Event PvP, Map PvP, Clan PvP, Event MvP, Map MvP Zones: 70 different PvP zones,  18 different events (8 map events | 10 main events) 12 Grand/raid bosses. Castle siege Olympiad Clan Hall challenge Custom Enchant System: Dynamic success chance (greater enchant level or item grade less enchanting success chance) Enchant rate: Blessed scrolls dynamic from 100% to 25%. Crystal Scrolls: 100%; Max enchant weapon +12 Max enchant armor +8 Safe point enchant system Extra Features: PvP items with level upgrade Weapon/Armor upgrade (from B grade to S) system Attributes system   Website: https://l2cygnus.com Community: Discord Facebook: https://www.facebook.com/l2cygnus Youtube:   
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock