• 0

    posted a message on GalaxyParser

    (Hope it's the correct Forum, since no script/tool forum for sc2)

    Hey guys,

    I want to present a small project I'm working on, for all u guys who don't like working with the SC2 Script-Editor etc.

    First I should present my plan:

    It consists of 3 steps:

    • Step1: Programm a proper GalaxyParser (This is the step I'm currently working at)
    • Step2: Programm a properGalaxyXParser (GalaxyX is the custom language I'm working on, but priority is the GalaxyParser) http:userpage.fu-berlin.de/timoh1991/manual.html (Sorry, only the userpage provided by my university)
    • Step3: Releasing a all mighty Galaxy IDE (EditorX...the part where I assume to need help).

      So since I'm at step 1, I can present to you the first version of the GalaxyParser (0.1.0)!

    What the parser actually does:

    • Syntax/Semantik Check
    • Includes the includes if wanted (see in How-To)
    • Information about allocated Memory

    The whole thing is written in Java with the help of ANTLR (http://www.antlr.org/).

    FAQ:
    How do I use the parser?

    • U need the current Java JRE to be able to run this programm.
    • use commandline: java -jar "path of parser" "path of galaxy file" "options"
    • current available options:
      -o doesn't close commandprompt instantly
      -i imports the includes (File-Directories are currently not supported)
      -d debud mode
    • be happy!

    How can I help?

    Downloadlink: http://www.sc2mapster.com/assets/galaxyparser/files/

    Posted in: Third Party Tools
  • 0

    posted a message on How do you get player id.

    in general players in starcraft are integers from 1-x

    Posted in: Triggers
  • 0

    posted a message on [Library] ColorChooser v.0.3
    I've released v0.3 and added some new stuff :D Changelog:

    • Added new info-areas to the ColorChooser (RGB-%,RGB-Int,Hex)

    • One can now set the color value via chatcommand (!CC_rgb 255,255,255 / !CC_per 100,100,100 / !CC_hex ff0000 , the hex command isn't casesensitiv)

    • Added new function(Also GUI)

      • colorChooserTintDialogItem(int player, int dialogItem)

    • In addition I've added some functions for working with hexadecimal numbers, they are just available in raw galaxyscript


      • string decToHex(int num,bool fillUp)

      • int hexToDec(string hex)

      • bool isHex(string hex)




    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/lRYHrAlKz70?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lRYHrAlKz70?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>


    link still can be found in the first post :)
    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    @Sixen:

    that's possible and I'm allready working on, there will be 3 commands:

    !CC_rgb 255,255,255
    !CC_per 100,100,100
    !CC_hex FFFFFF (not casesensitiv)

    also I'm adding more info displayed and finally the dialogitemtint function ;)

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    So I've released v0.2

    v0.2
    - Added new functions:
    - colorChooserTintUnit(int player,unit u)
    - colorChooserSetBackground(int player, string path)

    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/GBk5KvCzadI?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GBk5KvCzadI?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

    link can be found in first post

    Some additional infos to the new function (colorChooserTintUnit);
    I use DataTable functions in there to make this MUI, those DataTable functions get called on colorChooserTintUnit call and when the window is closed, to save units in the DataTable I'm using strings which look like this in the end: "CC_1Ghost0.01" or "CC_COLOR1Ghost0.01",
    CC_/CC_COLOR are static strings which I just added for my library, so no one overwrites them
    1 is the playernumber
    Ghost is the unittype name
    0.01 is an unique fixed number , so that every unit saved to the DataTable gets an own number!

    e.g. a new Ghost is added for player1 as a 4th unit in total: "CC_1Ghost0.04", "CC_COLOR1Ghost0.04"

    this method isn't that efficient, but who cares :P

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    @progammer:

    ok, will work on this ;)

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    I easily could realize this by adding additional functions for DialogItems/Units etc.

    something like:

    colorChooserTintDialogItem(int player,int item)
    colorChooserTintUnit(int player,unit u)

    Those functions would include showing the ColorChooser and linking it to the chosen unit/dialogitem

    @programmer:

    you ment something like this?

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    @SouLCarveRR:

    if the color chooser is opened and you call the function to get the color, you will get the current color selected in the color chooser (you dont even have to accept with OK), if you accept with OK the function returns the last chosen color,

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    @SouLCarveRR:

    that is actually what it does

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ColorChooser v.0.3

    Hey guys, here I wanna present a new small library I've created.

    Like one can gues it features a simple color chooser, which might could be usefull to someone.

    The library features some functions which can be also used in GUI.

    The video quality isn't that good, sry :(
    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/MVbQWFdpxRo?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/MVbQWFdpxRo?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/GBk5KvCzadI?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GBk5KvCzadI?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>


    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/lRYHrAlKz70?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lRYHrAlKz70?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

    Any feedback or tips are welcome. May you wanna see some other stuff and I might add it.

    You can find the actual version which also includes a small testmap here:
    http://www.hiveworkshop.com/forums/starcraft-ii-408/library-colorchooser-xd-schurke-180722-post1730579/#post1730579

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ChatBox v.0.1

    Finally found some time to finish the v0.1

    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/PMhIVh4HrHw?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PMhIVh4HrHw?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ChatBox v.0.1

    @Mille25: Go

    I've tested it again and the minimum delay is 0.0625

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ChatBox v.0.1

    @s3rius: Go

    didn't find time to test on bnet so don't know about the delay in multiplayer. I think the delay on removing is 0.06..., I tried different ways but they all look the same ingame (actually I just clear the chat if a message is entered, before I tried to do it with timers, but seemed to be less efficient running a timer the whole time), sometimes the messages occur, sometimes not.

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] ChatBox v.0.1

    I wanna present you one of my newer systems for my map project Power of Chaos - Xel'Shin.
    It's called ChatBox! I actually try to release the finished library this week, there are just some small things left (like documentation and GUI support).
    Like one can guess it mainly focuses on interacting with the chat and creating a player customized Chat.
    To give you a short preview I uploaded a Youtube-Video:

    <object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/PMhIVh4HrHw?fs=1&amp;amp;hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PMhIVh4HrHw?fs=1&amp;amp;hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

    Features which I plan to include in v.0.1:
    - Minimize/Maximize
    - Playercolor support
    - Playerteam support (Teamchat)
    - Move window support
    - Clear chat support (Also includes a maximal number of messages shown)
    - Full color support (Player can write with different colors)
    - Timestamps

    Upcoming stuff:
    - Emoticons
    - Channels

    If you got further ideas on things that could be added, tell me so. Feedback in general is welcome.

    You can find the actual version here:

    http://www.hiveworkshop.com/forums/starcraft-ii-408/library-chatbox-xd-schurke-179849/#post1719862

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Project] Power of Chaos RPG

    so I'm back from spain and continued working on the project.

    Actually I'm doing some new textures for the UI and also working on skillsystem and combatsystem concepts.

    Here a new terrain screenshot for you guys so that we have something new to show.

    On the screenshot you can see the tempel area which is is second region you will play in. It contains some spots where terrans excavating some relicts (more infos to come since hardly affecting the story)

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