1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
Tasyen
Last Activity:
Oct 22, 2019 at 7:03 PM
Joined:
Jul 18, 2010
Messages:
1,304
Media:
3
Albums:
2
Gender:
Male
Birthday:
March 30
Location:
Germany

Tasyen

Well-Known Member, Male, from Germany

Patch 1.31 brought so many new possibilities and made many others more easy to do. Jun 25, 2019

Tasyen was last seen:
Oct 22, 2019 at 7:03 PM
    1. Woodworker
      Woodworker
      Hey .. i tried to change the picture as u said, but it somehow didn't work, the texture of the frame didn't change at all. May i ask you for a more detailed instruction via dm?




      function TestEditBox takes nothing returns nothing


      local framehandle box = BlzCreateFrame("ScriptDialog", BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI,0), 0,0)
      call BlzFrameSetAbsPoint(box, FRAMEPOINT_CENTER, 0.4,0.35)
      call BlzFrameSetTexture(box,"war3mapImported\\ROFL.blp",0,true)

      endfunction
      1. Tasyen
        Tasyen
        A ScriptDialog does not hold any texture. Such a advanced Frame has child-Frames(BACKDROP) having the textures. The Textures of this child-Frames have to be altered. For "ScriptDialog" that would be "ScriptDialogBackdrop".

        You create "ScriptDialog" and after that alter the Texture of "ScriptDialogBackdrop" which you get with BlzGetFrameByName.

        If such BACKDROP is inhertied it can not be altered during the game, at least I know of no way to access that child-Frame during game.

        https://www.hiveworkshop.com/threads/ui-gluebutton.318621/
        Oct 17, 2019 at 10:24 AM
    2. Woodworker
      Woodworker
      Hey, I have one question. How can I import and use my own pictures for the frames?
      1. Tasyen
        Tasyen
        You import them into your map using import manager. Then you use the path you imported them when setting the texture. Inside BlzFrameSetTexture (frame, path, 0, true) "\" becomes "\\" "war3mapImported\\Test.blp".
        inside fdf one uses only "\" "war3mapImported\Test.blp".
        Oct 16, 2019
      2. Woodworker
        Woodworker
        Thx!!
        Oct 16, 2019
    3. PeeKay
      PeeKay
      Hello sir. Do you write in C++?
      1. Tasyen
        Tasyen
        No.
        Oct 5, 2019
    4. purparisien
      purparisien
      Hey Tasyen, I was wondering if you could help me with one issue. I'm using your ressource bar. It is very helpful. However, when I use it with a multitable, it creates some confusion. I was wondering if there was a way to display a multitable a little bit down, so the informations wont be mixed up
      1. Tasyen
        Tasyen
        There is an function builtin (MyResorceBar) that pushes leaderboard, multiboard and timerdialogs down (when the resourceBar is at the top right), although that can bug when the current shown mutliboard is not the last created one.

        call ExecuteFunc("MyResourceBarsFitFrames")

        The last created/shown multiboard can be accessed with BlzGetFrameByName("Multiboard",0)
        Sep 27, 2019
      2. purparisien
        purparisien
        Thanks You Tasyen. Your method works
        Sep 27, 2019
    5. yxq1122
      yxq1122
      Greetings, Tasyen! Thanks for your recent tutorials on UI frame editing. You are one of best well-known experts on UI editing. As a newer in UI frame editing, I expect a basic tutorial which tells us the basic steps to create a custom UI frame, including fdf and toc files format and usage of UI frame natives. Looking forward to your reply!
      1. Tasyen
        Tasyen
        Sep 25, 2019
    6. Jilaer
      Jilaer
      Hello Tasyen,I come from China,I really like your tutorials.So I packed these tutorials,just for learning and Note the source.There are few UI tutorials available on war3 websites in China.
      These tutorials are very useful.But I don't know if the next version will be the same.If you know, please tell me.Looking forward to updating your tutorial.
    7. Jilaer
      Jilaer
      Hello Tasyen, Your tutorial is really great. About UI,I have some questions.
      1.How to create an item button? (BlzCreateFrame(name,owner,priority,createContext))I can't find itembutton's name. Which FDF file should I refer to?
      2.When I want to use some of Warcraft's default scripte, how can I find his name?(like itemButton),One by one attempt?
      Thanks!
      1. Tasyen
        Tasyen
        One can not create a custom Frame that uses ingame objects directly like an item button or a command button does.
        With the ui-frame natives one can only create onscreen objects that Display something or/and activade triggers (with that custom Code) at given/wanted frame-Events.
        If one would want to create an custom item button one would have to create the whole mechanic of an item button from the base which is difficult when even not undoable (targeting and allow be targeted). But you might ask triggerhappy he creates a rpg with a huge inventory and item storage so he probably knows more about creating Buttons similar to item Buttons.

        Frame names can be found in the fdf with cascview in the games storage under: war3.w3mod:ui\framedef.
        There also this originframes which can be found inside common.j. The command/hero/item Buttons are accesed over this originframes.
        Aug 29, 2019
    8. maddeem
      maddeem
      Looking through your wall here, you get this a lot lol... Regarding UI, do you know how disable or hide the allies tab?
      1. Tasyen
        Tasyen
        To hide the resource info on Units I recomment scaling it down to 0.001 with
        call BlzFrameSetScale(BlzGetFrameByName("SimpleInfoPanelIconAlly", 7), 0.001)
        The reason is it Auto Poses/Shows itself everytime an allied building is selected therefor reposing hiding is no option, with scale 0.001 it is to small to be seen.

        If one wants to hide the allies menu button one can use
        call BlzFrameSetVisible(BlzGetFrameByName("UpperButtonBarAlliesButton", 0), false)
        Jul 29, 2019
      2. maddeem
        maddeem
        Thanks a ton!
        Jul 29, 2019
    9. purparisien
      purparisien
      Hello Tasyen. I really like your tutorials. I was wondering if there is a way to display another ressource cost (apart trom gold, wood and food) by modifying the ui.
      1. Tasyen
        Tasyen
        A complicated hacky way. One would need to know which button currently is hovered what object that button currently uses and then add a Icon and Text to the position of the UBERTOOLTIP. It seems the resources are in the 2 row of that box.
        Jul 12, 2019
      2. purparisien
        purparisien
        Is there maybe a way to overwrite the ubertootip with another one ? For instance when the cost is displayed, a dummy cost tooltip is showed as well to show the missing ressource
        Jul 12, 2019
    10. Tasyen
      Tasyen
      Patch 1.31 brought so many new possibilities and made many others more easy to do.
    11. purparisien
      purparisien
      Hey Tasyen, I really like your tutorials. I was wondering if you can provide an exemple of ressource bar added in a map. That would be so nice of you !
      1. View previous comments...
      2. purparisien
        purparisien
        The less buggy, but I would prefer JASS
        Jun 14, 2019
      3. Tasyen
        Tasyen
        The same pastebin now includs a map creating 2 additonal resourcebars.
        Jun 14, 2019
      4. purparisien
        purparisien
        You made my day ! Thank you !
        Jun 14, 2019
    12. rolandc85
      rolandc85
      I'm sorry to post my message here. I think I'm too new to start a conversation.

      My Qn:
      Which is the UI fdf responsible for the Tooltip that appeas upon hovering any button e.g Item Tooltip
      1. View previous comments...
      2. rolandc85
        rolandc85
        BlzDestroyFrame <- Does this destroy the children within it without causing leaks? Tested this and answer is yes. You do not need to destroy the children.
        Jun 9, 2019
      3. rolandc85
        rolandc85
        BlzFrameSetModel Hi Tasyen, will you be able to provide a tutorial for this? How can we create our own model in the frames?
        Jun 11, 2019
      4. Tasyen
        Tasyen
        No, Currently I don't plan to explain models in UI. Because I think the functions allowing a good usage of models are missing.
        Jun 14, 2019
    13. Micohelt
      Micohelt
      hey so say i wanted to remove the "border" around the UI.. so remove every but the minimap, buttons, abilities, health, hero portrait etc. how would i go about doing that, if u dont mind me asking :). would pm you but i only just made an accoount and it doesnt seem like an option for some reason. looked at the notes you made about customizing UI, but its a little too confusing for me to make sense of
      1. Tasyen
        Tasyen
        You can start a conversation in "Inbox" next to Alerts on the top right of the webpage.
        Which is confusing, the wall of text in triggers or the tutorials? If its the wall of text in triggers, well that are most just notes.
        If you need only a small fraction of the default ui. You use call BlzHideOriginFrames(true), which hides all default ones except of command buttons. After hiding them, make the frames you want visible again.
        You access frames by 2 Ways: 1. if they are an originframe by BlzGetOriginFrame(constant, 0) or with BlzGetFrameByName(name, 0).
        When you got such a frame use BlzFrameSetVisible(framehandle, true) on them to make them visible again.
        Jun 3, 2019
    14. The_Silent
      The_Silent
      Hey Tasyen.
      Hope I'm not too intrusive.
      Have you by any chance found a way to manipulate the minimap, command panel, and inventory? And are those possible?
      1. View previous comments...
      2. The_Silent
        The_Silent
        Cool,
        can't find them in the lists of default names in the fdfs list you made. What are their names?
        Jun 2, 2019
      3. Tasyen
        Tasyen
        Jun 2, 2019
      4. The_Silent
        The_Silent
        Thank you very much!
        Jun 2, 2019
    15. Sedistra
      Sedistra
      Heya Tasyen!

      I have a few questions regarding UI creation. Is it possible to get some of your time for some questions?
      1. View previous comments...
      2. Tasyen
        Tasyen
        What hero values? Str, Agi, Int?
        Jun 2, 2019
      3. Sedistra
        Sedistra
        Yeah
        Jun 2, 2019
      4. Tasyen
        Tasyen
        Jun 2, 2019
    16. deepstrasz
    17. Tasyen
      Tasyen
      WTF, Map crahses when tested more than once. Now moved it 1 rootfolder up no crash anymore.
    18. SeedinAethyr
      SeedinAethyr
      Happy birthday!
    19. xISLx
      xISLx
      Happy birthday!
    20. Tasyen
      Tasyen
      Sometimes an own assumption and it's resulting explanation are simply wrong.
      1. IcemanBo
        IcemanBo
        Hm? :)
        Aug 11, 2017
  • Loading...
  • Loading...
  • About

    Gender:
    Male
    Birthday:
    March 30
    Location:
    Germany
    WarCraft 3 Realm:
    Northrend (Europe)
    Favourite Race:
    Human
    Favorite Organization/Clan:
    Silver Hand
  • Loading...
  • Loading...
  • Loading...