• 0

    posted a message on Kill Count not working

    Try using Owner of (Killing unit) instead of Killing player, think it may help.

    Posted in: Triggers
  • 0

    posted a message on Giving units Point Defense Lasers

    You should check point defense drone better. It has no abilities but attack, all you need to do is modify it's attack, change cost/allow during movement etc and add it with a turret to phoenix.

    Posted in: Data
  • 0

    posted a message on [triggers] how to run a trigger when the selected units energy changes

    Make event: Unit - Any unit energy changes, and add condition to your trigger checking if triggering unit is currently selected by player you want.

    Posted in: Triggers
  • 0

    posted a message on Variable Help

    You may have not noticed. You cannot use any variables in the events. Just leave event as you made it and add conditions, checking if triggering player ==your desired player, and unit type of triggering unit == barracks.

    Posted in: Triggers
  • 0

    posted a message on scv build photon cannon

    Building photon cannon is one of commands for build - probe. You must either give your SCV probe's build ability or edit SCVs build ability and add photon cannon as one of the options. You may also want to remove photon cannons Power User behavior if you want to put it without pylons.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Replay -> Video

    If you're trying to record it on the same physical hard-drive where sc2 is installed you will experience big performamce drop. Don't know if there's any magic to it.

    Posted in: General Chat
  • 0

    posted a message on [?] Array question: How do you set one up

    You must remember to make arrays 1 size larger than number of players because they start as 0.

    Create a global variable, for you purpose you can set it's type to byte, and make it an array of size number of players+1.

    In the trigger you make, in conditions add comparison if Variable[Triggering player] == 0, (replace triggering player with anything that will fit your events and return that players number). That way it'll check the value you need. And at the beggining/end of the trigger set variable[triggering player]==1, so next time the checks will fail and trigger won't start for that player.

    Posted in: Triggers
  • 0

    posted a message on Changing cost of upgrades?

    Cost of upgrades is found in the ability that does the upgrade, on the ability tab you edit each ability command and their cost should be there.

    Posted in: Data
  • 0

    posted a message on How to make a building generate minerals?

    That's what i meant by adding it - creating it.

    1.When you're in the data editor at behaviors, right click on the list and "create new object". type behavior name ans suggest ID, then from Behavior type select Buff and hit OK.

    2.Edit behavior you created by changing "Period" value on statistics tab (that's how often it'll generate minerals).

    3.In data editor open Effects tab and create new object, name it suggest ID etc. and set effect type to Modify Player then OK.

    4.Edit this effect by going to it's effect tab and changing resource values (how much resources it will generate per period).

    5. Go back to the behavior tab in data editor, edit behavior you made in step 1 by going into it's effects tab and changing periodic effect into the one you made in step 3.

    6. Go into pylon/building you need and add the behavior from step one.

    I hope i made it a bit clearer how i made this. You may want to hide the behaviour/change icon/disable it under construction if you understand what you just did.

    Posted in: Data
  • 0

    posted a message on Adding effect to an existing weapon?

    @jerberson12: Go

    First off you should take a look at marauders, they do damage and slow.

    2nd the way to do this: create an effect that applies the slow behavior, and a "set" effect which will combine both the slow-applying effect and gauss rifle (damage) effect. Then at weapons tab at marine's gauss rifle chenge effect from gauss rifle(dmg) to the set of effects u made.

    Attaching map with this done coz im a bro.

    Posted in: Data
  • 0

    posted a message on How to make a building generate minerals?

    @Eijsvogel: Go

    I attached map with this done in data editor.

    Basically, u need to add behavior, (cant say what type coz my editor's not english), on statistic tab change period, and at effects add periodic effect (you may also want to check Disable during costruction under Behavior/behavior/behavior flags).

    Periodic effect should be based on ModifyPlayer or sth like that, under effect/resources choose amount u need.

    wish i had english editor >.>

    Posted in: Data
  • 0

    posted a message on Armor and Armor Reduction?

    @jerberson12: Go You got armor reduction thing wrong. It is NOT the amount of armor attack would penetrate, it is how much damage would be reduced per armor point,

    In your examples:

    Case 2: 5 damage 0 reduction on 1 armored target - will still take 2 hits to die.

    Case 3: 1 reduction at 1 armor so unit takes 4 damage.

    Case 4: 300 damage at 50 reduction and 50 armor = reduces damage your attack deals by 250, which gives you five 50 dmg shots to take 250 damage.

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