what i'm trying to do, and would ultamantly like to do is to implement this into my king of the hill maps.
so in short,
when player A attempts to take the hill, the defenses target player A's units and fire. when player B-H attempts to take the hill, defenses target player's units and fire. when defenses are destroyed, they stay destroyed for 15 minutes before spawning.
but unfortunately i can't wrap my head around the iff statements and don't know enough about coding to do so. thus why i've been asking for help involving if anyone thinks they would be willing to help code the maps i've made. it's not that i'm lazy, i'm always trying to improve my maps, it's just i don't understand a lot of the back code, say if there is only one entrance or exit to a base, where's the back door go? if i want certain side to only use one kind of unit, how do i do that? if i only want them to get to a certain point and then attempt to hold it and contentiously reinforce that point how do i do that? in short i want the enemy to treat the hill as if it was their base but protect it a bit more than they would their own base.
the maps i make aren't AOD maps (wish i knew enough about programing to make them), they aren't casual play maps where its just destroy the other's base. it's get to the hill, and hold it. eventually i want to learn how to make it so every unit has a point value, so when the person holding the center destroys units, they gain points, and when they loose units they loose points. never going past zero though.
the game would end after they reached something like ten thousand points. infantry give you one point, light vehicles 5, heavy vehicles 10, seauge units 15, and unique units 25. air units would give 5 as well. but my delema is i don't know coding worth a damn so no matter my ideas and goal, without a coder i'm stuck just making maps and hoping that eventually down the line someone adds some king of the hill code to it. i know it can be done because i've seen it done in various maps. AOD in style but it was the subgoal to win the match that got me thinking. loose if counter reaches zero, win if it doesn't at the time of 15 minutes. got me thinking if you could add a point system and a tracking system to it so it kept and updated score.
i've tried my hand at coding AI before, it ends in disaster. it either flat out doesn't work, AI self destructs, or the workers go places but never build.