If you need someone to work on terrain or triggers let me know.
- Registered User
Member for 9 years, 7 months, and 14 days
Last active Thu, Dec, 24 2015 20:49:13
- 0 Followers
- 129 Total Posts
- 0 Thanks
Dec 24, 2015_ForgeUser8564155 posted a message on Heroes of the Rift (previously called Hurricane Shrine)Posted in: Team Recruitment
Dec 24, 2015_ForgeUser8564155 posted a message on How to modify this trigger so it makes several dead heroes respawn?Posted in: Triggers
Why use a behavior? Setting the units Death Timer to -1 makes so you can grab them to apply actions to them. -1 makes it so the time it takes for the unit to fully die is infinite then you would just move the unit to a point or region and resurrect it.
Dec 24, 2015Posted in: Triggers
Best you could do is suggest that the player turns them on through a tip or text message. My guess is that Blizzard won't allow us to access the players main settings, which is where the subtitle option is stored. This is for security reasons, as a random map could intentionally change the players settings, messing them all up. It's the same reason we are not able to pull the players name as a string, only as text.
Edit: Alternatively, you could create a dialog with the background hidden and use that to show the subtitles. It's more work, but it would make sure that everyone playing the map views your subtitles without issue. It also gives you full creative control, as you could design it however you want without having to deal with the XML UI files.
Dec 24, 2015Posted in: Triggers
As far as I'm aware the styles have preset properties that make the style; including font size. You'd have to make custom styles; each with different font sizes to fit the each of the sizes it can be changed to. I'm pretty sure that's how the styles work within the Galaxy Editor.
Dec 24, 2015Posted in: Triggers
Simply add all players into an array and then randomly set them into new teams/player groups. Then base all the team stuff through those groups instead of the the default team system.
If you need more detailed info let me know.
Edit: Here's an untested base example of what you would need to do.
Teams = (Empty player group) <Player Group>
nMaxPlayers = 12 <Integer>
nMaxTeamPlayers = 3 <Integer>
nTotalPlayers = 0 <Integer>
Melee Initialization Events Game - Map initialization Local Variables TeamNumber = 0 <Integer> Conditions Actions Player Group - Pick each player in (Active Players) and do (Actions) Actions Variable - Modify nTotalPlayers: + 1 General - If (Conditions) then do (Actions) else do (Actions) If nTotalPlayers == nMaxPlayers Then General - Pick each integer from 1 to nMaxPlayers, and do (Actions) Actions Variable - Set TeamNumber = (Random integer between 1 and 4) General - If (Conditions) then do (Actions) else do (Actions) If (Number of players in Teams[TeamNumber]) < nMaxTeamPlayers Then Player Group - Add player (Picked integer) to Teams[TeamNumber] General - If (Conditions) then do (Actions) else do (Actions) If (+ ((Number of players in Teams), (Number of players in Teams), (Number of players in Teams), (Number of players in Teams))) == nMaxPlayers Then UI - Display "All teams have been set up successf..." for (All players) to Subtitle area Else UI - Display "All teams have not been set up succ..." for (All players) to Subtitle area Else Else ------- IF the total number of players(nTotalPlayers) does not equal the maximum number of players(nMaxPlayers) then you could add additional actions here to sort the teams into 2v2v2v2, 1v1v1v1, or whatever you would like.
Jun 1, 2014Posted in: Triggers
So I have a dialog item - portrait that I'm trying to have display within a specific dialog. When I create the item and set it to a specific dialog it never attaches to the specific dialog or any dialog. It displays behind every dialog like it not attached to anything.
Anyone know of a fix or what I might be doing wrong. Which using the exact same process, every other item type displays fine.
Actions ------- Container Dialog - Create a Modal dialog of size (1920, 1080) at (0, 0) relative to Center of screen Variable - Set Pre-Game Menu - Menu Container Dialog = (Last created dialog) Dialog - Set (Last created dialog) to be fullscreen True Dialog - Show (Last created dialog) for (All players) Dialog - Show the background image of (Last created dialog) Actions Dialog - Create a Portrait for dialog Pre-Game Menu - Menu Container Dialog Dialog - Move (Last created dialog item) to (50, 50) relative to Top Left of dialog for (All players) Dialog - Set (Last created dialog item) Model to Portrait - Marauder Mercenary for (All players)
Feb 3, 2014_ForgeUser8564155 posted a message on Action Definition: IF Statement Condition Expecting Boolean.Posted in: Triggers
I have an IF statement within an action definition that errors when the script tries to compile (when I try to save).
The error is "Expected a Boolean expression".
The weird part is that the line it is referring to is a condition that adds two integers to see if when added they are greater then a constant integer.
"(Inventory - Total Items + nItems) > Inventory - cMax Slots"
Why would a condition without a Boolean expect a Boolean expression?
Full trigger: Keep in mind the trigger is still a work in progress.
Loot - Generate Options: Action Return Type: (None) Parameters Grammar Text: Loot - Generate() Hint Text: (None) Custom Script Code Local Variables nItems = 0 <Integer> Previous Item = 0 <Integer> i = 1 <Integer> Actions General - Pick each integer from 1 to Loot - nRegions, and do (Actions) Actions General - If (Conditions) then do (Actions) else do (Actions) If And Conditions ((Triggering unit) is in Loot - Region[(Picked integer)]) == True Region - Difficulty[(Picked integer)] == 1 Then General - If (Conditions) then do (Actions) else do (Actions) If (Inventory - Total Items + nItems) > Inventory - cMax Slots Then Variable - Set nItems = ((Inventory - Total Items + nItems) - Inventory - cMax Slots) General - Repeat (Actions) nItems times Actions Variable - Set Loot - Item = (Random integer between 0 and 3) Variable - Set Loot - Quantity = (Random integer between 1 and Loot - Max Quantity) General - If (Conditions) then do (Actions) else do (Actions) If And Conditions Loot - Item != Previous Item Loot - Item != Previous Item Then ------- Displays the quantity and name of the item found. UI - Display (Combine ((Text(Loot - Quantity)), " ", Items - Items[Loot - Item].Name)) for (Player group((Triggering player))) to Subtitle area Variable - Set Previous Item[i] = Loot - Item Variable - Modify i: + 1 Trigger - Run Loot - Add to Inventory (Check Conditions, Don't Wait until it finishes) Else Else Variable - Set nItems = (Random integer between 1 and 3) General - Repeat (Actions) nItems times Actions Variable - Set Loot - Item = (Random integer between 0 and 3) Variable - Set Loot - Quantity = (Random integer between 1 and Loot - Max Quantity) General - If (Conditions) then do (Actions) else do (Actions) If And Conditions Loot - Item != Previous Item Loot - Item != Previous Item Then UI - Display (Combine ((Text(Loot - Quantity)), " ", Items - Items[Loot - Item].Name)) for (Player group((Triggering player))) to Subtitle area Unit - Remove inventory item (Triggering inventory item) Variable - Set Previous Item[i] = Loot - Item Variable - Modify i: + 1 Trigger - Run Loot - Add to Inventory (Check Conditions, Don't Wait until it finishes) Else Else UI - Display "Not in Region" for (All players) to Error area
Oct 28, 2013Posted in: Triggers
Of course it's possible but that doesn't mean it's supported by the Editor or will be easy to do. Basically you would have to find or build a third-party program that will communicate with Sc2. Sort of like a bot would with games like Diablo. If X button is pressed perform this. This however would take a tremendous amount of time since I doubt anyone would want controller support for Sc2 due to the numerous amounts of hot-keys. It wouldn't be efficient.
Now. A similar approach would be to set actions within the trigger editor that could perform the actions you would expect a controller to. Example: Move between dialog buttons with the arrow keys on the keyboard instead of the mouse.
The only thing I'm not sure of is why it would matter if the commands would be coming from a controller or not. Since that is apart of the programming process and is not apart of the actual game-play it's self.
Like you said, it's a prototype.
May 31, 2013Posted in: UI Development
Hardly good with XML, the errors I keep getting are:
[InfoPaneHero] with the same name as an already existing child.
XML: mismatched tag:
I've looked over my code a couple times now and can't seem to find out why. What I'm trying to do is set everything but Damage, Armor, Experience, Behaviors, and Attributes to Visible val="False". Then move them how I want them.
<Frame type='InfoPanel' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel' file='GameUI'> <Frame type='Frame' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel' file='GameUI'> <Frame type='Label' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel/ShieldLabel' file='GameUI'> <Visible val='False'/> </Frame> <Frame type='UnitWireframe' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel/UnitWireframe' file='GameUI'> <Visible val='False'/> </Frame> <Frame type='Label' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel/LifeLabel' file='GameUI'> <Visible val='False'/> </Frame> <Frame type='Label' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/UnitPanel/EnergyLabel' file='GameUI'> <Visible val='False'/> </Frame> </Frame> <Frame type='InfoPaneHero' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero' file='GameUI'> <Frame type='Label' name='GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero/AttributeLabel1' file='GameUI'> <Anchor side="Left" relative="$parent" pos="Min" offset="-33"/> <Anchor side="Bottom" relative="$parent" pos="Min" offset="0"/> </Frame> </Frame>
May 30, 2013Posted in: Data
I have an target effect ability that uses a Search Area, Persistent, Apply Behavior, and Damage Effect, The idea is to just simply cast an AoE and all enemy units/heroes in the area take damage and get their movement speed reduced. The ability works all the way up until the beam. The beam being used is Zurvans Lightning Breath Beam from the actor of the same name. Right now, I have the event set up as to create the actor when the Damage Effect starts. The issue is the beam is created directly on the target. Example:
This is more to what I was hoping for...
If anyone has any idea how to make the second one work that would be awesome. If you need anymore info just let me know.
May 29, 2013Posted in: Data
Hey, I was wondering if anyone knew how to use a unit as a resource for an ability? What I mean is, I have a hero with an ability that spawns a couple Infested Terrans. I'm wanting to have other abilities to use those Infested Terrans to do things. Such as, when X ability is used to make 1 of the Infested Terrans to move to the target unit and stun the target unit than kill the used Infested Terran. If no Infested Terrans are up, than the ability can't be used.
Any help would be great, since most of my knowledge is with triggers not data.
May 21, 2013Posted in: UI Development
When making changes to Anchors and then checking in-game they're fine, but once I close the UI Module the values reset to what they previously were. The values are only changed in-game, within the UI Module the values are correct. In order to fix this, I have to re-open the UI Module, set them to different values, save, switch them back to what they should be, save, and then they work again.
Weird bug, anyone else experiencing this?
- To post a comment, please login or register a new account.