Search results

  1. Tasyen

    UI: OriginFrames

    Jump to Hiding Jump to ChildFrames Originframetypes are built in frames managing the default game ui. ORIGIN_FRAME_GAME_UI is our key to generate new container frames. In other tutorials and in many examples, ORIGIN_FRAME_GAME_UI is used as parent for custom created frames. That is done because...
  2. Tasyen

    UI: GLUEBUTTON

    Button Buttons are powerful and useful UI-Frames. A Button in Warcraft 3 is only a space on the screen that can be pressed. The pressing can send an audio Feedback (GLUE created with BlzCreateFrame) and one can catch the pressing with a TriggerEvent which allows executing Code. But if the button...
  3. Tasyen

    UI: Frames and Tooltips

    Introduction In the UI-frame natives, tooltips are frames that are on default hidden. When one hovers the frame the tooltip is assigned to, the tooltip becomes visible. Tooltips itself are also frames that can have childs and be customized. That is the native one uses to make a tooltip-Frame...
  4. Tasyen

    UI: Change Lumber Text

    This is an example showing how to change the shown text in the lumber box at the top of the screen, using jass. First we need to know how the frame showing the lumber text is called. It is called "ResourceBarLumberText". After one knows the frames name, one gets access to it by using...
  5. Tasyen

    UI: Positionate Frames

    Introduction Frames positions are important and are the key to place frames where one wants them to be. To positionate frames there exist 4 natives. All 4 have great uses. native BlzFrameSetPoint takes framehandle frame, framepointtype point, framehandle relative, framepointtype relativePoint...
  6. Tasyen

    UI - Simpleframes

    Table of Contents Introduction String Texture Layer SimpleButton Requirements If you don't know how to use a custom toc-File, therefore can't use a custom fdf you should first do a tutorial about toc: UI: toc-Files. point_StartIntroduction SimpleFrames are another group of frames. They are low...
  7. Tasyen

    UI: Create a TextButton

    Introduction Warcraft 3 V1.31 provided 3 natives to create Frames. native BlzCreateFrame takes string name, framehandle owner, integer priority, integer createContext returns framehandle native BlzCreateSimpleFrame takes string name, framehandle owner, integer createContext returns framehandle...
  8. Tasyen

    UI: What are BACKDROPs?

    Introduction Backdrops mange the visual textures of frames, they are borders, backgrounds or images (for non simple frames). Most frames beeing more than simple text have backdrops that manage the textures beeing shown. BACKDROP can use all the ImageTypes Warcraft 3 supports: BLP, TGA, DDS. DDS...
  9. Tasyen

    UI: Reading a FDF

    Introduction A fdf (Frame definition file) is an fileType used in warcraft 3 to define information and default behaviour of an UI-Frame. In this tutorial I want to tell you how to get frames by reading a fdf. FrameTypes From the FrameType one can say much about what this frame will do in most...
  10. Tasyen

    UI: Creating a Cam control

    Introduction In this tutorial, I wanna show you, Sliders, Checkboxes and attaching Labels to the Sliders and the Checkbox. The sliders are used to control the fields of the cam. The checkbox will lock the current settings, preventing changes to the sliders as long it is checked. And the Labels...
  11. Tasyen

    UI: Save&Load Frames

    Introduction Currently none of the versions of warcraft 3 that have access to the UI-Frame natives do probably Save&Load the usage of Frames/TOC (this was written when 1.32.8 /1.32.9 PTR were the current Versions). This broken Save&Load stops Frames from being recreaterd/modified when the Game...
  12. Tasyen

    UI: Creating a Bar

    What is a SIMPLESTATUSBAR A SIMPLESTATUSBAR is a simple frame that shows a blp texture partly (from left to right) based on the SIMPLESTATUSBAR current value vs its max value. The blp Texture is stretched to the total frames size. On default the value can be from 0 to 100 (0 beeing empty, 100...
  13. Tasyen

    UI: TEXTAREA the scrolling Text Frame

    Introduction TEXTAREA is a frame to display scrollable text. Normaly TextAreas have a BACKDROP showing a box and a Background. TextAreas require a scrollbar. The scrollbar is at the right side of the TextArea and blocks a part of the space given to the TextArea. If the TextArea is big enough to...
  14. Tasyen

    Custom Music Lists

    Using Custom Assets is a great thing since the filesize limit increase, and music is no exception, but the question is: how do you play that music? 1. A Way To Replace Default Music The simplest way if you don't need the default one is by replacing the default music files with custom ones. How...
  15. Tasyen

    Oskey - Player Key Event

    Introduction With 1.31 Blizzard provided the feature to listen to keyboard presses and releases outside of arrowkeys and ESC. This feature is used over a new Event that can be registered to a trigger. Simple usage This is a small Lua example: a trigger runs when player red presses the A key...
  16. Tasyen

    UI - The concept of Parent-Frames

    Introduction Frame - Parent is a powerful and useful concept of warcraft 3's UI-Frame System. Every frame we can create has a parent frame. Any frame can have any amount of child frames. In the same time any child frame also can have any amount of child frames. natives provided to get and set...
  17. Tasyen

    Default Names for BlzGetFrameByName

    Introduction This list was generated by reading/interpreting all fdf files from warcraft 3 ptr 1.31 and reading all words in "". LeaderBoard/Multiboard/TimerDialog do only work when the map created such ones. LogDialog is only used in SinglePlayer. Chat Frames are only used in Multiplayer. Quest...
  18. Tasyen

    UI: FrameEvents and FrameTypes

    This is the result of tests about Frame-Events and Frame-Levels. FrameEvents FRAMEEVENT_CONTROL_CLICK - when activading a Frame either by releasing the left mouse button (the original mouse click has to be inside the Button) or when a Frame has Focus and space or enter/return are pressed. This...
  19. Tasyen

    UI: EditBox - Text Input

    Introduction Editboxes are single line text frames beeing editable by players. There are 4 predefined mainframe Editboxes in the default fdfs, but 2 of them are basicly "equal" to some other one. BattleNetEditBoxTemplate (same values as "StandardEditBoxTemplate") StandardEditBoxTemplate...
  20. Tasyen

    UI: List - Default MainFrames

    This are lists of mainframes found in the Default Warcraft 3 fdfs, Seperated by FrameType. Mainframes are Frames having their framehead outside of any framebody. Only such loaded mainframes can be created/inherited functional with the Frame natives...
  21. Shvegait

    Modding the WE: Trigger Editor

    NOTE: I didn't think to post this here before, but since some people have found this useful, I figured I might as well submit this tutorial, rather than have the plagiarized version just sit in the graveyard. Introduction Blizzard designed the World Editor to be very easy to modify. In...
  22. MindWorX

    Complete Command-Line Arguments Guide

    These are the commands that are currently supported by Warcraft III, based on known information and some clever reverse engineering of the executables. Commands Video Mode Changing the video mode can sometimes be used to increase performance or make Warcraft III run better in other environments...
  23. Boris_Spider

    Base abilities for custom spells cast by melee-game AI units

    Base Abilities for Custom Spells used by AI Casters For getting the AI to cast custom spells, appropriate base spells must be used. Many users will argue that all custom spells should be based off of Channel-Special. While this is recommended for human users, the AI will never cast spells based...
Top