• 0

    posted a message on Complex "Talent/Skill Tree"-Dialog Creation

    Furthermore, I was thinking about just scaling down the whole window and its proportions so that the window always would be small enough no matter the aspect ratio.

    Would that work?

    Posted in: Triggers
  • 0

    posted a message on Library: Improved GetResolution

    I'm looking into implementing your Library's function into my map, however I'm not sure how to approach it, can you give me some advice?

    http://www.sc2mapster.com/forums/development/triggers/41320-complex-talent-skill-tree-dialog-creation/

    Posted in: Triggers
  • 0

    posted a message on Complex "Talent/Skill Tree"-Dialog Creation

    Greetings mapsters!

    I have created a skilltree that can be compared to the model of Diablo 2. Reference: http://www.diablowiki.com/images/3/37/Sorceress_Skill_Trees_(Diablo_II).png

    Now what I didn't think about when creating the dialog was the fact that the dialog items inside the dialog as well as the dialog itself must scale with each and every player's screen resolution.

    After some searching on the forum I found Taldeen's further "Improved: Get Resolution"-library derived from desiderius1 work. Reference: http://www.sc2mapster.com/forums/development/triggers/40002-library-improved-get-resolution/

    I figured that this is undoubtly the best method of dynamically scaling dialogs at the moment and here is where my true problem lies. It should be said that it is not the actual size of the dialog that has to be changed because I'm using Full-screen dialog. However, proportional distances between the dialog items inside the dialog is what needs to be fixed.

    I need advice, what is the best thing to do?

    Option 1: Try to implement the "Improved: Get Resolution"-library into my current, static dialog. Probably painstaking.

    Option 2: Remake the whole Skill Tree basing the whole dialog from the example used by Taldeen.ยด While this may be the most secure and stable way, it will take A LOT of time.

    Option 3: Your suggestion.

    Posted in: Triggers
  • 0

    posted a message on Bank Problems? Look here! [Multiplayer]

    So after some really messy time, with help from zeldarules28 I have learned some things for using banks.

    1. Do not use (Last Opened Bank), instead assign the (Last Opened Bank) to a variable to then refer too.

    2. Do not use underscores, "_", in your bank name, this somehow made the whole thing go crazy when Storing variables.

    3. Always Preload the Bank, Open it and assign Key-values within the bank to Variable(s) in the Map Initiation, this have to me been the only way of getting it working correctly.

    If you find any of these statements to be incorrect PLEASE DO correct them. I had huge problems with this.

    Posted in: Triggers
  • 0

    posted a message on How to Break an ongoing Animation - with triggers?

    Well, the question is very simple, how to break an ongoing Animation - with triggers?

    Posted in: Triggers
  • 0

    posted a message on (Solved) Cast ability without turning

    Set the Ability's Arc to: -1

    See this thread at TheHelper.net for reference.

    http://www.thehelper.net/threads/cast-ability-without-turning.143303/#post-1247047

    Posted in: Data
  • 0

    posted a message on [Data] Creating a Custom Turret Unit with Rotation

    While there are a couple of tutorials covering turrets there is no straight forward simple tutorial that explains how to create a custom Turret Unit with Rotation. NOTE THAT I am not 100% sure this would work with models that usually are not rotating, i.e a Siege Tank - this is for you to explore if you are in need of that.

    [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]

    1. Data->Unit-tab->Create Unit: Create a Unit based on the 'Auto-Turret'-unit.

    2. Data->Actor-tab->Create Unit-Actor: Create an actor of type Unit and link it to the Unit.

    3. Data->Turret-tab->Create Turret: Create a Turret based upon the 'Auto-turret'-turret.

    ....................................................................................................................................
    Here comes the part that took me long to find out due to lack of a simple tutorial. You need MORE THAN just ONE actor. You need a Unit-actor and a Turret-actor.
    ....................................................................................................................................

    4. Data->Actor-tab->Create Turret-Actor: Create an actor of type Turret.

    5. Data->Actor-tab->"MyTurretActor" ->Events+: (This field is located in the righ hand window of the data editor).

    6. 'Event+' -> 'Right-click' in the empty field and click 'Add Event'.

    7. For your newly created event, in the field to the right:
    -Msg Type: Turret Enable
    - Source Name: Flame Turret
    - Sub Name: (Any)

    8. Click the icon beneath your newly created 'Event', in other words, the 'Action':
    - Msg Type: Create

    [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]

    And that is how it is done! If creating the unit and the actors be sure to use "Based On" to get it right, if you chose to create them from scratch you can look at the corresponding settings for the original content. In other words, look at these for reference:

    Data->Units-> 'Auto-Turret'
    Data->Turrets-> 'Auto-Turret'
    Data->Actors-> 'Auto Turret' (Actor Type: Unit)
    Data->Actors-> 'Auto Turret Turret' (Actor Type: Turret)

    [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]

    Common Errors:

    • Data->Unit->'MyTurretUnit'
      Be sure to check the fields: 'Combat: Weapons+' and 'Combat: Turrets+'.
    • Data->Turret->'MyTurret'
      Be sure to check all the fields compared with the original turret: Data->Turrets-> 'Auto-Turret'

    [!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]

    I hope this will help someone who have problems, just like I had!

    Best Regards, Ice_bane @ EU

    Posted in: Tutorials
  • 0

    posted a message on WARNING!!! OBS!! Backup before patching!

    Also, can some moderator please make an announcement about this? This really is terrible and can cause some serious damage.

    Posted in: General Chat
  • 0

    posted a message on WARNING!!! OBS!! Backup before patching!

    Sorry for the caps and everything but BE SURE TO BACKUP your local files in the SC2 before patching the 1.5 Arcade patch.

    The patching process wipes your SC2-folder clean.

    Posted in: General Chat
  • 0

    posted a message on Rotating Existing Image Assets

    I just tried it out Genopath, worked fine. At least with 90 degrees.

    Posted in: Triggers
  • 0

    posted a message on [Tutorial] - How to Merge .SC2MOD-files aka Dependencies

    Glad I could help! :D

    Posted in: Tutorials
  • 0

    posted a message on [Tutorial] - How to Merge .SC2MOD-files aka Dependencies

    This tutorial shows how to merge .SC2MOD-files by using "SC2-Components" and copy-pasting XML data-lines. Feel free to ask me any questions in a P.M if you wonder anything!

    UPDATE: I forgot to mention, this method can also be applied to .SC2-Map-files.

    Posted in: Tutorials
  • 0

    posted a message on Limiting Items (Fixed)

    What you could do simply is to add item-classes for each stat, lets say Agility, Strength and Intelligence.

    Then restrict one item-slot for each item that allows Agility, Strength or Intelligence.

    By doing that the player cannot carry more than one item of each type, hope this helps!

    Yours Sincerely, Ice_bane

    Posted in: Triggers
  • 0

    posted a message on Icons with Transparent Alpha Channel Background?

    Thanks for the answer! After two hours spent I figured that as well, thankiees!

    Posted in: Artist Tavern
  • 0

    posted a message on Icons with Transparent Alpha Channel Background?

    Icons with Transparent Alpha Channel Background, how do you do this?

    Posted in: Artist Tavern
  • To post a comment, please or register a new account.