• 0

    posted a message on how to use blizzard signature

    Download this map http://sgh.renaka.com and read the trigger Main\Initializations\ini_bnkInitializeBank
    You are supposed to preload the bank with an explicit string (not a variable) on map initialization, open the bank, enable bank signature option, then check if it verified.

    Posted in: Triggers
  • 0

    posted a message on Mouse click to fire

    Change Replace Existing Orders to After Existing Orders

    Posted in: Triggers
  • 0

    posted a message on Mouse click to fire

    Unless you are referring to statistically classic games such as Tetris or Super Mario Bros., don't assume people know what you're talking about. Use a YouTube video example to describe it instead.

    ...

    Create a global variable of type unit, use trigger action Set Variable to initialize that variable as the unit you want. The blue colored terms below are trigger parameters you can set, including the parenthesis which opens the order functions.

    Quote:

    1. Left-click fires the unit's weapon

    Quote:

    3. If the player LEFT-CLICKS after giving a MOVE order then the unit should stop, fire its normal attack animation, and then continue the move order

    Event: Mouse Clicked
    UI - Player Any Player clicks Left mouse button Down.

    Action: Issue Order
    Unit - Order (THE_UNIT) to ( Stop) (Replace Existing Orders)

    Issue Order
        Unit: THE_UNIT
        Order: Order With No Target
            Ability Command:  Stop
        Queue: Replace Existing Orders
    

    Action: Issue Order
    Unit - Order (THE_UNIT) to ( Attack targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)

    Issue Order
        Unit: THE_UNIT
        Order: Order Targeting Point
            Ability Command:  Attack
            Target Point: Point From XY
                X: Mouse Clicked World Pos X
                Y: Mouse Clicked World Pos Y
        Queue: Replace Existing Orders
    

    The unit will be issued an Attack move order. The unit needs a target unit to discharge its weapon (example: gauss rifle for marine). For the unit to attack the ground without any unit there, it must uses a splash ability such as Infestor's Fungal Growth. Read Data Editor tutorials to make your own "weapon" ability.

    Using mouse clicks by trigger instead of the Command Card abilities will suffer from lag on battle.net.

    ...

    Quote:

    2. Right click moves the unit

    UI - Player Any Player clicks Right mouse button Down.

    Action: Issue Order
    Unit - Order (THE_UNIT) to ( Move targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)

    Issue Order
        Unit: Triggering Unit
        Order: Order Targeting Point
            Ability Command:  Move
            Target Point: Point From XY
                X: Mouse Clicked World Pos X
                Y: Mouse Clicked World Pos Y
        Queue: Replace Existing Orders
    

    ...

    Experiment with various trigger events and the action Issue Order to do what you want.

    Posted in: Triggers
  • 0

    posted a message on [solved] Show upgrade cost

    Catalog Type:

    Abilities
    


    Entry: (choose one)

    ForgeResearch CyberneticsCoreResearch TwilightCouncilResearch TemplarArchivesResearch RoboticsBayResearch FleetBeaconResearch BarracksTechLabResearch MercCompoundResearch FactoryTechLabResearch StarportTechLabResearch EngineeringBayResearch ArmoryResearch GhostAcademyResearch FusionCoreResearch LairResearch evolutionchamberresearch SpawningPoolResearch BanelingNestResearch RoachWarrenResearch HydraliskDenResearch SpireResearch InfestationPitResearch UltraliskCavernResearch
    


    Fieldpath for Time:

    InfoArray[#].Time
    


    Fieldpath for Minerals:

    InfoArray[#].Resource[0]
    


    Fieldpath for Vespene:

    InfoArray[#].Resource[1]
    


    Player:

    0
    

    A research ability (example: EngineerBayResearch) contains an array holding the researches/upgrades accessible by the # array index.

    Example: upgrade "HiSecAutoTracking" of command "e_abilResearchCmdResearch1" is # index 0, and
    upgrade TerranInfantryWeaponsLevel1 of command "e_abilResearchCmdResearch3" is # index 2.

    Posted in: Triggers
  • 0

    posted a message on SC1 Greatest Hits - A Teaching Map

    The names of the original map makers are shown in the lobby games list.
    This map is made specifically to teach map making, and not just a map that authors happen to release to the public when they're tired of it.
    Those who downloaded and read it, please give some feedback so I can clarify it for other potential readers.

    Posted in: General Chat
  • 0

    posted a message on SC1 Greatest Hits - A Teaching Map

    Are the comments easy to understand? Is the map helpful?

    If people are interested I can make a video demo of the dialog animator triggers, which can let you add more special effects to your map.

    Posted in: General Chat
  • 0

    posted a message on How to create and load/unload units? [SOLVED+File]

    Open the attached map and read the triggers, they are commented. File - Test Document to play test the map.

    Posted in: Triggers
  • 0

    posted a message on detect attributes through triggers

    What are attributes? HP? Energy? Height? Then use the function Unit Property to get the value, and store it to a local variable and modify it using the actions Set Variable and Modify Variable, respectively.

    If you want to set or get custom "attributes", use the action Set Unit Custom Value (which act like an real array of size 64 with index/value pair), and use the function Unit Custom Value to get the value you assigned.

    Be less ambiguous with your questions and you may get more replies.

    Posted in: Triggers
  • 0

    posted a message on Lobby Issues

    I do not know if this works but you have you tried going to Game Variants and for each player's Controller attribute, untick the Computer checkbox (Removed Values)?

    Posted in: Triggers
  • 0

    posted a message on Quest Systems

    List Box (a dialog item) is a list of selectable options. The list items contain a line of stylable text to fit your need.

    You can only add list items to the bottom of the list, but you can remove a list item at any index, which should be good enough for a quest list without categories. Create multiple lists if you want main quest and sidequest categories. Use arrays to remember which list item correspond to which quest.

    Posted in: Triggers
  • 0

    posted a message on Undiscovering an area

    Trigger action under label Visibility: Explore/Unexplore Area

    Visibility - Change visibility for player (PLAYER) to Unexplored within (REGION) and Do Not check cliff level
    
    Posted in: Triggers
  • 0

    posted a message on SC1 Greatest Hits - A Teaching Map

    SC1 Greatest Hits is a map containing many other maps that are SC1 remakes. I started this while completely new to the editor, and documented my learnings within the hundreds of triggers it uses:
    http:img121.imageshack.us/img121/5463/sghtriggers.png

    I am releasing the map to public domain so prospective map makers (if there are any left) can learn by imitation and perhaps write their own game within the map, which is built as a framework. For more experienced map makers, I may interest you in providing numerous utility triggers:

    - Mass catalog editing of tech, upgrades, and abilities cost
    - Custom efficiently sorted leaderboard
    - Custom alliance menu as in phantom maps
    - Dialog animators: fade, spin, slide, morph, shake, whirl dialog and dialog items
    - Tens more macro functions and utility custom actions
    - Practical use of: banks, catalog editing, dialogs, leaderboard, player management, general scripting, AI scripting, unit properties
    ...in addition to teaching you how to write clean, organized, well documented triggers O:)

    Download the map and read documentation

    Embed Removed: https://www.youtube.com/v/gvsmS82YGl4hd1?fs=1

    (Games shown in video)

    • Big Game Hunters (3vs3 melee)
    • BGH Phantom (backstab melee)
    • Art of Defense (team base survival)
    • SCV Football (3vs3 sport)
    • Block the Gate (team control/micro)
    • Dodge the Rapierist (unit dodging)
    Posted in: General Chat
  • 0

    posted a message on SC1 Greatest Hits

    I made the video more than month ago. The version on battle.net should be the most updated. What discrepancies did you notice?

    I'm glad someone enjoyed the Waldo mode in Dodge the Rapierist, not to mention knowing it exists.

    Posted in: Project Workplace
  • 0

    posted a message on SC1 Greatest Hits

    "it doesn't have any of Battlecraft, Golems, Crash RPG, Zone Control, Cat and Mouse?"
    The games I chose to remake are those I had played often, enjoyed them, and know their basic ins and outs such that recreating them would be intuitive. The games you listed are indeed popular, but unfortunately I rarely play competitive maps, but rather cooperative vs computers. Cat and Mouse was originally on the agenda, but after VietMan release his remake, I realized that I don't enjoy the C&M genre enough to recreate one with the improvements a fan would have. I don't plan any RPG because they are taxing on the limited terrain available. For the other games, BC, Golems, and ZC, those are already available if you search the battle.net list.

    If later I find it necessary to add a popular game, even if it's not my favorite, to garner more attention to the map, then I perhaps I will make one of the games you listed.


    "its in us" If after patch 1.3 is released and I still can't get a community to form, then I plan to release the map as open source so anyone can edit and improve it by themselves. My intention in remaking these games is afterall, to be able to play them with others.

    And thank you progammer and Sixen for featuring the map :)


    If anyone is curious how I implemented something in the map, I am enthused to help.

    Posted in: Project Workplace
  • 0

    posted a message on bank does not work properly - signature and values

    You should enable signature right after opening the bank, don't edit the bank before doing so. Your string did not match the signature because you stored it before the Set Bank Option action, which generates a signature based on the values currently in the bank.

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