• 0

    posted a message on What kind of Trigger would this be..?

    Instead of choosing the variable, go on "Functions" and choose "Arithmetic Integer", then you can add the variable, choose a mathematical operation ("+" in this case) and add another value (1 in this case)
    These arithmetic things come in useful when you want to change integer/real number variable depending on what the variable was before, or you somehow want to refer to any number in game but dont want the exact number but use mathematics instead.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Blizzard Contest] Custom Maps

    Yea, but im pretty sure that they will count previously published things... Unless you of course pull it down from every website and battle.net 2 minutes before you submit it.

    Posted in: Project Workplace
  • 0

    posted a message on [Blizzard Contest] Custom Maps

    One question... Some of you might know my map "Gates of Darkness" i have published here. Were it possible to rename it "Prison's heaven", change a few models, use a different tileset, change some descriptions to fit the new setting, and just spam doodads and claim its another map?
    If not, i have an idea on how to heavily simplify and modify all my triggers. If i do that in addition, can i claim its a different map? Because after that, the *only* thing that's the same as before is the data editor and unit placements, and some triggers. i also have the right to use triggers i made in previous maps, since they are mine, right? And if that won't work, can i stuff everything i did in the data editor into a mod (ugh... so much copy pasting...), then remove all of it from the data editor and add my mod?
    If i do all that, i'm pretty sure that it can be considered a new map since i changed basically everything :p and if there's problems with the triggers, i'll simply make them library and import it xD What an easy way to officially change your map, yet keep it the same :p
    And after that, i will still have my map "Gates of Darkness", in case blizzard tries to pull off some of that legal crap on me some people here mentioned. Gates of darkness uses the very long unsimplified triggers, doesnt use the mod, and doesnt use the library, and has a different terrain, so they cant claim i stole it from them. i can test my entry by testing gates of darkness, since i will only create my "new" map in the last week before the contest and Gates of Darkness is not my entry, yet gameplaywise identical.

    Anyone think what i wrote will work? and ive gotta check what countries are eligible...

    Posted in: Project Workplace
  • 0

    posted a message on Editing Hero Stats / Non B-Net Unit Stats

    If you want the Sc2 campaign units you have to add the campaign dependency... File -> Dependencies -> Add Standard -> LibertyCampaign, and then move it to the top (this is very important)

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Library] Hero Selection v3.0.1 Final

    SweetZombieJesus, YOU dont have to localize it since it already is localized for you... everyone who's not in EU does >.< If the localizer has the option for different locales, then you could create a localized version for each region and upload every one of them, which would take a lot of time... I think its easier to just put a link to a localizer wherever you put a link to the map :p

    Anyway, keep working on it, same reason as you said :) This could turn out extremely useful and be used in a lot of maps!

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] Hero Selection v3.0.1 Final

    No problem :) glad to help.

    Also, what i forgot to say, i like Shendoos idea about the icons. My map will most probably have 16+ heroes so icons will come in VERY handy. If SweetZombieJesus wont do this, i'll do my best to figure out how he specified which hero is being looked at and make all that myself and am gonna post it here (dont expect it anytime soon though if i am to make it)

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] Hero Selection v3.0.1 Final

    To everyone who gets blank triggers... its called "Localization". As you all know, all maps from different regions are f*ed up when it comes to text. I think localizing the map will make everything work again (get a localizer), or anyone not EU is seriously screwed. For me it all works perfectly cause i believe im in the same region as the SweetZombieJesus. This problem also happened when i helped a US friend with his map, and when he got his map back his triggers were also all blank. I DLed Shrink TD from here in phase 1 of beta and when i checked the triggers, they were also blank. Dont blame the maker, blame blizzard for being retards in this aspect...

    So, as i said, search for a localizer, there are 2-3 here on mapster, and follow the instructions to localize this map, then hopefully your triggers will work. If not... Try giving each trigger and variable (including local variables) a random name, maybe it will get it to work.

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] Hero Selection v3.0.1 Final

    Thanks! havent tested it out in multiplayer yet, but i will later once i re-upload the map with some fixes, etc. If you wonder which map it is, its Gates of Darkness, its uploaded here. Gonna add you into the credits right away... hope that blizzard wont kill me for your username xD

    Anyway, one problem is taht you have the wrong order for the if then else functions when selecting a hero. It will first set the varible "hero taken" to true, and THEN try to pick the hero, which will fail because of the condition... Moving the second if then else up makes it work again though :)

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on [Library] Hero Selection v3.0.1 Final

    Really nice! I just put it into my map, took a lot of tweaking of the camera angle and such, but it finally works just how i want it.

    Just one question... Is it possible to limit the choice of heroes, so that if 1 player picks a hero, it is removed from the selection? Cause in my map i dont want 2 players to be able to have the same hero :( If you can't answer this, i'll try and play around with it a bit...

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on Ability Create Unit At Target

    Make the ability to be the type "effect - target", and give it range, then make sure the effect targets a point/unit and not the caster. That's it.

    Posted in: Miscellaneous Development
  • 0

    posted a message on problems with time window and learn passive abilitys

    can you copy paste a trigger so that we can see what you did and maybe see what you mightve done wrong?

    And about passive abilities... I haven't tried this yet, but i had an idea which goes like this:
    Create the behavior which does what the passive ability does, create 3 requirements which check the level of your ability(1 for level 1, one for lvl 2, one for lvl 3, and make sure each excludes the other levels), then create 3 dummy effects and add them to your ability, give the ability to the hero, add 3 buttons to your command card, give each one of the requirements, set them as passive, then add the behavior for the matching requirement (dont put any buttons for the ability itself!)
    Theoretically, when your ability reaches level 1, the requirement will enable the first button and behavior, when it gets to level 2 it will disable the first button and behavior and enable the second ones, etc.
    Hope this helped.

    Posted in: Miscellaneous Development
  • 0

    posted a message on X Amount Of Y To Kill Z Script

    Or that. It's just that every time up to now i have used "last created units", something went wrong (definetely my own mistakes) and "pick all units" always worked for me, so i kind of always forget about the first and go over to the one that never failed me :p

    Posted in: Galaxy Scripting
  • 0

    posted a message on Collectors Edition Portraits

    Theres no difference between a CE and non CE installed game :p the difference is only the cd-key on the battlenet account. Non-CE people can see my uber awesome thor model as well!

    And Tauren Marine portrait is definetely in game as well... It even has a unit that uses that portrait :p
    Btw, does anyone know whether there is an actual "Night Elf banshee" and "Diablo Marine" unit model in-game?

    Posted in: General Chat
  • 0

    posted a message on Tutorial Request

    @Joeness: Go

    Joeness, create a new map, open the triggers window, copy the "Melee initialization" trigger (or whatever its called. Theres only 1 trigger, you cant miss it), and paste it into your map. i believe that should be it (if you placed all starting locations, etc.)

    Posted in: Tutorials
  • 0

    posted a message on X Amount Of Y To Kill Z Script

    im not sure how you mean the "destroy" part. When they are spawned, or when they reach Location B?

    Basically you need a "periodic event", and set it's time to 120 seconds.
    Then make an action to "Create (X) (Unit type) at (Location A)
    Pick all units in unit group (Units in region matching condition(Units(Any unit) in (Location A) for player (Any player/Specific player) excluded (Bla bla bla defaults), with at most (any amount))) Then do
    Actions:
    Issue order to (picked unit) (attack (Location B))

    As i said, i dont know what you mean with destroy target. Once i open my editor later i'll make the trigger and copy paste it so that it's more exact that this one.
    For destroying, just add an action that kills the unit you want to destroy if you want to destroy it just as all units spawn, or if you want to destroy it when the unit reaches it just make an event "Any unit enters region (Location B)" or "Any unit comes within X range of unit (the one you want destroyed)" and make a condition that checks whether the owner of the triggering unit is the one you want, and then just make "Kill (The one you want destroyed)" as an action.

    For the 120 second spawning event, you might want to set up a timer instead of a periodic event if you want people to be able to see when the next wave comes. If you want it that way, i'll post again with the details for that.

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