• 0

    posted a message on Making the AI not attack something unless it's blocking them

    the unit you're using to check for a wall will usually go idle somewhere close to the region it is trying to move to. I would suggest to attach a large region to the invisible unit and kill all of the units that are the walling units in that area belonging to the player. works very effectively on making players both upset and helping them understand that they aren't able to wall on the map.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Changing damage taken variable

    I've gotten to the point where i can get the unit that takes damage to take no, minimal, full, or mega damage. I can also put in a number so that the "unit takes 150 damage", but i want to get "current damage x 1.5" more or less like a critical strike. I also need the multiplier to change based on what weapon the unit is using. So the way I want to do it is save the multipliers to an array with the corresponding weapons, but i can't find how to change the damage multiplier and save it to a variable. Any ideas?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Remove building requirements & modifying the cost?

    The only way I've found to completely bypass the build reqs and costs without the possibility of building a nexus or something was to create a new ability on the probe or drone called build cannon. to do this you go to the data screen and bring up the abilities tab. open protoss>build>right click and add object. name-build cannon id-build cannon ability type-build race-protoss your new ability should show up in the folder you opened before. next is to click on it and edit the data. first edit the field "info +" double click the first build option, build 01. change default button to warp photon cannon. then scroll all the way down and at the bottom you'll see the "unit"option, along with the "time" option change unit to photon cannon and time to .1 seconds and click ok. then make sure build 01 is selected and click ok again. open the units tab and open melee>protoss>units>probe or w/e you named it. then change the abilities of the probe to move and stop...i usually get rid of everything else. add a new ability by clicking the green x thing on the side and select for the ability the "build cannon" ability you made. it will be near the top if you named it the same. next double click the command card and remove everything except move and stop again and somewhere click an empty box and click the green x thing again. select the warp in photon cannon button. then command type- ability command reqs.-none ability-build cannon right at the top the other one should fill in like normal. all you need to do now is put the probe in the game and boom free photon cannons. you can also do this for the pylons as well... good luck

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