• 0

    posted a message on Create model of the bridge?

    I need to know is the mechanics of bridges in SC2. How to make a movement on the surface of the model? I have suggested that it is necessary to use the attachment. It's right?

    Posted in: Artist Tavern
  • 0

    posted a message on Create model of the bridge?

    Is there a guide how to create model of the bridge?

    Posted in: Artist Tavern
  • 0

    posted a message on How to change unit death sound?

    In the model

    Events - Animation	(Death)
    Events - Attachment	(None)
    Events - Model Quality	(Any)
    Events - Name	()
    Events - Payload	(SND_DFAR)
    Events - Time	(0.0000)
    Events - Type	(Sound)
    Events - Variation	(-1)
    
    Posted in: Warcraft Modding
  • 0

    posted a message on Warcraft III Score Screen

    WarCraft 3 ScoreScreen

    Developed for WarCraft: Armies of Azeroth. Decided to share with you.

     

     

     

    Posted in: Warcraft Modding
  • 0

    posted a message on Help to decipher this error

    Thank you. I decided to use the other functions

    Players = (Empty player group) <Player Group>
    i = 0 <Integer>
    
    For each integer i from 1 to (Number of players in Players) with increment 1, do (Actions)
    Player i from Players
    
    Posted in: Triggers
  • 0

    posted a message on Help to decipher this error

    So this script will not work? Strange, previously it worked.

    <> - Function 01
        Options: Action
        Parameters
            Players = (Empty player group) <Player Group>
        Local Variables
            <> - pg = (Empty player group) <Player Group>
        Actions
            Player Group - Add all players in Players to pg
            Player Group - Pick each player in Players and do (Actions)
                Actions
                    Function 02((Picked player), pg)
    
    
    
    <> - Function 02
        Options: Action
        Parameters
            Player = 0 <Integer>
            Players = (Empty player group) <Player Group>
        Actions
            Player Group - Pick each player in Players and do (Actions)
                Actions
    
    Posted in: Triggers
  • 0

    posted a message on Help to decipher this error

    Help to decipher this error. What does it mean?

    00:00:02.38 Scri: Trigger Error in 'gt_MeleeInitialization_Func': Nested loops of PlayerGroupLoopBegin/PickEachPlayerInGroup not supported    Near line 1803 in lib4EB2AD14_gf_ScoreLoad() in Lib4EB2AD14.galaxy
    00:00:02.38 Scri: Trigger Error in 'gt_MeleeInitialization_Func': Attempted to use a player group loop function, 'PlayerGroupLoopStep', without first calling PlayerGroupLoopBegin/PickEachPlayerInGroup    Near line 3125 in lib4EB2AD14_gf_CampaignVictoryDefeat() in Lib4EB2AD14.galaxy
    00:00:02.38 Scri: Trigger Error in 'gt_MeleeInitialization_Func': Attempted to use a player group loop function, 'PlayerGroupLoopDone', without first calling PlayerGroupLoopBegin/PickEachPlayerInGroup    Near line 3123 in lib4EB2AD14_gf_CampaignVictoryDefeat() in Lib4EB2AD14.galaxy
    00:00:02.38 Scri: Trigger Error in 'gt_MeleeInitialization_Func': Attempted to use a player group loop function, 'PlayerGroupLoopEnd', without first calling PlayerGroupLoopBegin/PickEachPlayerInGroup    Near line 3127 in lib4EB2AD14_gf_CampaignVictoryDefeat() in Lib4EB2AD14.galaxy  
    
    Posted in: Triggers
  • 0

    posted a message on How to return the cost of upgrading?

    Thank you. But it is not what I meant.

    I solved the task. To search for ability related upgrade, I used the identical ID(ability and upgrade). Then determined the current level of upgrades. Then returns cost of ability from the catalog.

    "Terrazine" and "Custom Resource" this preset type "Resource Type".

            Unit - Any Unit research progress is Completed
        Local Variables
            <> - Abil = None <Game Link - Ability>
            <> - Level = 0 <Integer>
            <> - Gold = 0 <Integer>
            <> - Lumber = 0 <Integer>
        Conditions
        Actions
            Variable - Set Abil = (Game Link((String((Triggering progress upgrade)))))
            Variable - Set Level = {((Triggering progress upgrade) count for player (Triggering player), counting Complete)-1}
            Variable - Set Gold = (Integer((Value of Abilities Abil InfoArray[Level].Resource[Terrazine] for player Any Player)))
            Variable - Set Lumber = (Integer((Value of Abilities Abil InfoArray[Level].Resource[Custom Resource] for player Any Player)))
    
    Set Variable
        Variable: Abil
        Value: Convert String To Game Link
            Value: Convert Game Link To String
                Value: Triggering Progress Upgrade
    
    Set Variable
        Variable: Level
        Value: ~A~-1
            A: Upgrade Count For Player
                Upgrade: Triggering Progress Upgrade
                Player: Triggering Player
                Count Type: Complete
    
    Set Variable
        Variable: Gold
        Value: Convert String To Integer
            Value: Catalog Field Value Get
                Catalog: Abilities
                Entry: Abil
                Field Path: InfoArray[Level].Resource[Terrazine]
                Player: Any Player
    
    Set Variable
        Variable: Lumber
        Value: Convert String To Integer
            Value: Catalog Field Value Get
                Catalog: Abilities
                Entry: Abil
                Field Path: InfoArray[Level].Resource[Custom Resource]
                Player: Any Player
    
    Posted in: Triggers
  • 0

    posted a message on How to return the cost of upgrading?

    How to return the cost of upgrading?

    I am trying to do so. But I can not deal with the indexes.

    Set Variable
        Variable: Gold
        Value: Convert String To Integer
            Value: Catalog Field Value Get
                Catalog: Abilities
                Entry: type
                Field Path: InfoArray[0].Resource[Terrazine]
                Player: Triggering Player
    
    <CAbilResearch id="Roar" parent="War3_Research" race="Orc">
            <InfoArray index="Research1" Time="60">
                <Resource index="Terrazine" value="150"/>
                <Resource index="Custom" value="75"/>
                <Button Requirements="Roar"/>
            </InfoArray>
            <InfoArray index="Research2" Time="75">
                <Resource index="Terrazine" value="225"/>
                <Resource index="Custom" value="225"/>
                <Button Requirements="Roar2"/>
            </InfoArray>
            <InfoArray index="Research3" Time="90">
                <Resource index="Terrazine" value="300"/>
                <Resource index="Custom" value="375"/>
                <Button Requirements="Roar3"/>
            </InfoArray>
        </CAbilResearch>
    
    Posted in: Triggers
  • 0

    posted a message on You can submit bug/suggestion for my War3 Mod here

    I do not understand. Something happened to AI? I can not run AI in the editor. It seems I'm doing as well as before. In the setting of players i selected AI, race Orc. Trigger.

           Melee - War3 Melee Setting
            General - Wait 2.0 Game Time seconds
            Use Extra War3AI Settings()
    

    Another thing I noticed. If you move the starting point further from the mines, then AI starts to build a base. AI does not train peons. Probably this is the reason.

    Posted in: Warcraft Modding
  • 0

    posted a message on The proper way to use War3 Mod (GA) in you map

    Hello I make the transfer progress between the maps. Trying to transfer the level of ability . I use function "Add Level To Unit Ability". However, it is not working correctly. Is there a way to automatically raise the level of ability?

    Otherwise, I use the function to "Issues order", and use the ability of learning.

    Posted in: Warcraft Modding
  • 0

    posted a message on Event/Action by name Custom UIFrame ?

    Thank. Now, I figured out how it works.

    Posted in: UI Development
  • 0

    posted a message on Event/Action by name Custom UIFrame ?

    Thank.

    Another question. Let's say I have a layout containing two buttons.

    Example.SC2Layout

    <Frame type="Frame" name="FrameExample">
            <Frame type="Button" name="Button1">
            </Frame>
            <Frame type="Button" name="Button2">
            </Frame>
    </Frame>
    

    I create an element of dialogue (FrameExample) with two buttons at the same time (Button1, Button2). Can I get access to every button.

    Posted in: UI Development
  • 0

    posted a message on Event/Action by name Custom UIFrame ?

    Is there a way to write down the custom UIFrame into a variable using the name, instead of the function last created dialog element?

    Posted in: UI Development
  • To post a comment, please or register a new account.