• 0

    posted a message on [Texture] How to change resource icon

    So after a good hour and a half, screwing with the assets.txt I have come to the conclusion that the supply icon is broken atm. I have been able to change almost everything but that, even changed the cooldown icon at one point...

    I tried the screwed up 2nd method and that got me no where and i've tried every iteration possible in my mind for the 1st method.

    Posted in: Tutorials
  • 0

    posted a message on Make Baneling explosion leave slime on ground?

    I would say have a unit actor that is created on death of the baneling, then have the unit have a timed life behavior and a search effect behavior that applies behaviors to units found. Just off the top of my head, that would be how I would go about it at first.

    Posted in: Data
  • 0

    posted a message on Getting the set text from a dialog item

    Yeah I figured, was more curious if it was possible. Thanks.

    Posted in: Triggers
  • 0

    posted a message on Getting the set text from a dialog item

    Is this possible? I'm trying to make a check to see if the dialog item text is set to a specific string/text before I run certain actions.

    Dialog Item Edit Value, which returns a string edit value for a dialog item (no idea what that means), isn't working out for me so I cant seem to find another solution besides creating a variable to track possible changes. Already have so many and kinda didn't want to make more for such trivial tasks.

    But at this point I'm just going to do the workaround with a variable until someone presents a solid solution, or I find one.

    Posted in: Triggers
  • 0

    posted a message on Unit Uses Ability

    It's mainly cuz im not on often anymore, and probably less once DotA2 comes out. :D

    However I decided to crack this open again and spent around 30 minutes looking at these 5 lines of code. Finally got a solution though.

        Events
            Unit - Any Unit uses Runner - Swap (Ult) at Effect1 - Approach stage (Ignore shared abilities)
        Local Variables
        Conditions
            (Player (Owner of (Triggering unit)) is giving player (Owner of (Triggering ability target unit)) Shared Vision) == false
            ((Triggering unit) is invulnerable) == true
            ((Triggering ability target unit) is invulnerable) == true
        Actions
            Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
            UI - Display "Target or you has to be vulnerable ..." for (Player group((Triggering player))) to Error area
    

    And i want it to not be able to swap invulnerable enemies, but overlook it if it's allies.

    Posted in: Triggers
  • 0

    posted a message on Unit Uses Ability

    I'm trying to make a swap ability, however there are some circumstances that I'm hoping to solve through triggers.

    There are invulnerable spots on my map that will only make you invulnerable/vulnerable if you are on a certain team, however with swap you can potenially swap someone into a vulnerable state.

    However if you target an ally, you shouldn't have the issue.

    So a trigger that I have so far, doesn't really want to work:

       Events
            Unit - Any Unit uses Runner - Swap (Ult) at Effect1 - Approach stage (Ignore shared abilities)
        Local Variables
        Conditions
            Or
                Conditions
                    (Player (Owner of (Triggering unit)) is giving player (Owner of (Triggering ability target unit)) Shared Vision) == false
                    ((Triggering unit) is invulnerable) == false
                    ((Triggering ability target unit) is invulnerable) == false
        Actions
            Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)
            UI - Display "Target or you has to be vulnerable ..." for (Player group((Triggering player))) to Error area
    

    It will let you swap allies, but not if one of you are invulnerable. The trigger won't ever let you swap an enemy. Beginning to think that something I'm using just isn't very efficient or I'm missing some simple thing.

    Alliances are fixed and its vision or enemy. So I figured that would be an ok condition for checking for allies.

    Posted in: Triggers
  • 0

    posted a message on Leaderboard Sort Problem

    Just an update, did a revamp with a "group row" workaround, much easier however I still can't get player names to line up with the rows and much less get all of them on the board. It might be something more to do with me testing with full houses of just computers but whatever. Something about groups before made me think it would mess with row numbers, now I have learned that is not the case.

    So no longer have a negative array problem but a name problem.

    EDIT: In an attempt to keep the amount of posts at a minimum, I have solved my problem now. It's now almost simple enough to where I feel stupid.

    Posted in: Triggers
  • 0

    posted a message on Leaderboard Sort Problem

    So I'm making a capture the flag type map and am having a problem with the scoreboard. Since this map isn't going to be filling instantaneously I made it to where the teams are dynamic, so you can easily make even teams or w/e. But with that, the player numbers easily get mixed up so just running a loop for every player and inserting them into their respective rows, gives a messy scoreboard. I have come up with a workaround, not entirely sure it's efficient though. You can find my map on my profile, it should be unlocked. The stuff I want on the leaderboard is a unit state icon.

    Here is the code for where the scoreboard initializes and inserts all the data into the individual rows:

            General - Pick each integer from 1 to (Number of players in (Players on team 1)), and do (Actions)
                Actions
                    Leaderboard - Set scoreboard item icon at column 1 and row (Picked integer) to Assets\Textures\btn-unit-zerg-zergling.dds, placing it on the Left side of the text
                    Leaderboard - Set scoreboard item text color at column 1 and row (Picked integer) to (0%, 0%, 100%)
                    Leaderboard - Set scoreboard item text at column 1 and row (Picked integer) to (Name of player (Player (Picked integer) from (Players on team 1)))
                    Leaderboard - Set scoreboard item text at column 2 and row (Picked integer) to (Text(PlayerFlagGrab[(Player (Picked integer) from (Players on team 1))]))
                    Leaderboard - Set scoreboard item text at column 3 and row (Picked integer) to (Text(PlayerFlagSave[(Player (Picked integer) from (Players on team 1))]))
                    Leaderboard - Set scoreboard item text at column 4 and row (Picked integer) to (Text(PlayerPeopleJailed[(Player (Picked integer) from (Players on team 1))]))
                    Leaderboard - Set scoreboard item text at column 5 and row (Picked integer) to (Text(PlayerPeopleFreed[(Player (Picked integer) from (Players on team 1))]))
                    Variable - Set playerRow[(Player (Picked integer) from (Players on team 1))] = (Picked integer)
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Number of players in (Players on team 2)) > 0
                Then
                    General - Pick each integer from ((Number of players in (Players on team 1)) + 1) to (((Number of players in (Players on team 1)) + 1) + (Number of players in (Players on team 2))), and do (Actions)
                        Actions
                            Leaderboard - Set scoreboard item icon at column 1 and row (Picked integer) to Assets\Textures\btn-unit-protoss-zealot.dds, placing it on the Left side of the text
                            Leaderboard - Set scoreboard item text color at column 1 and row (Picked integer) to (100%, 0%, 0%)
                            Leaderboard - Set scoreboard item text at column 1 and row (Picked integer) to (Name of player (Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2)))
                            Leaderboard - Set scoreboard item text at column 2 and row (Picked integer) to (Text(PlayerFlagGrab[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))]))
                            Leaderboard - Set scoreboard item text at column 3 and row (Picked integer) to (Text(PlayerFlagSave[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))]))
                            Leaderboard - Set scoreboard item text at column 4 and row (Picked integer) to (Text(PlayerPeopleJailed[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))]))
                            Leaderboard - Set scoreboard item text at column 5 and row (Picked integer) to (Text(PlayerPeopleFreed[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))]))
                            Variable - Set playerRow[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))] = (Picked integer)
    

    I have put in tracer messages throughout the 2nd loop and found that the the trigger quits after the 3rd go around on this action:

    Leaderboard - Set scoreboard item text at column 2 and row (Picked integer) to (Text(PlayerFlagGrab[(Player ((Picked integer) - (Number of players in (Players on team 1))) from (Players on team 2))]))
    

    The errors I receive are as follows, keep in mind this is me testing with computers set for just players 1 and 9, I am set for player 2. Teams should have been 2 in team 1 and just myself in team 2. I also got the same results when I started with full computers and I was set to player 14. Full teams, me set for last:

    00:00:00.00 Trigger Error in 'gt_Scoreboard_Func': Could not get 'player' from parameter in 'PlayerName' (value: -1)
    00:00:00.00 Trigger Error in 'gt_Scoreboard_Func': Could not get 'text' from parameter in 'BoardItemSetText' (value: 65535)
    00:00:00.00 Trigger Error in 'gt_Scoreboard_Func': Negative Array indexes not supported.
    

    Any help is greatly appreciated.

    EDIT: Through further testing, weird stuff has happened. Like ugh, I have created a mess of a map. Examples of the weird stuff, values don't get updated into the right slots; when i have full teams on bnet, all the player values are displayed, without full, 2v2 and I am in team 2 (player 1), no names are displayed and nothing updates. So through even more testing, it appears in 4v4, the initialization is wrong, but the updates are correct, however it doesn't update for team 1, except me.

    Posted in: Triggers
  • 0

    posted a message on Lobby Teams != (not equal) In-Game Teams

    @SouLCarveRR: Go

    Your first point is way better than what I was suggesting.

    But what do you mean by actually active teams in the lobby?

    And if I can't reference, what is this referencing to? Or is this even what you were talking about?

    ((Triggering player) is in (Players on team 1)) == true

    Just asking questions to learn myself here.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Lobby Teams != (not equal) In-Game Teams

    The problem here lies with you are still player 1 even if you move to another team. I've had the same issue and really all I could think of is handle the players by team in game through triggers. And I agree, Blizzard failed at lobby system it's not friendly at all.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on S2game_Internal_Error

    So I totally reset the game variants, made a whole new one and left out the color locks and now it works. The way that Blizzard set up the game lobby is done sooooo poorly... I sadface at how easily it is to break it.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on S2game_Internal_Error

    I get this every time I try to join my newly published map with a party. Whenever I invite someone to a game I create it just throws me out the lobby, I'm assuming it is the same problem, just doesn't give me an error. However I can play by myself online just fine.

    I have messed with game variants to where the only things altered from original are:

    1. Game Speed
    2. Lobby Delay
    3. Locked Alliances
    4. Teams
    5. Color
    6. Team [2 Teams]

    I even took off the campaign dependencies and took out the mini-map image.

    Help would be greatly appreciated. :)

    EDIT : Uploaded my map to mapster.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on [Survivors vs. Swarm (SvS)] Public Beta Thread

    Good stuff, like the rebalancing of teams. Bump for an awesome map.

    Posted in: Project Workplace
  • 0

    posted a message on [Catalyst] Map Swap

    :) Thank ye kindly.

    Posted in: Team Recruitment
  • 0

    posted a message on [Survivors vs. Swarm (SvS)] Public Beta Thread

    Can i add a little suggestion that is in Left 4 dead and I'm not sure is in here, but I could be wrong.

    - Most people who are new to the map tend to leave right after they die, leaving the next round uneven, if you could curb the times that the swarm can respawn to even out the game that would be great. Not sure if it's already in or not.

    - Also there is the fact that you can get 3 predators, one strangler and one lurker. Letting you capture and prevent 4.5 people from doing anything. (lurker is the .5 because they can kill the lurker, not the zealot though, sometimes his attack range isn't far enough I think, sometimes) So, my point is if the swarm team times it right, the survivors don't have a chance, no matter how good they are.

    Great map overall and well done.

    Posted in: Project Workplace
  • To post a comment, please or register a new account.