TheLopez said:
So far there are two:
1) Take shot, basically the player presses the "Take Shot" action button and they are allowed to select a unit to try to damage or kill. The XP they get depends on if the hit was successful, how far away the shot was and if they killed the unit in question or not. This fully consumes the unit's move.
2) Harass, basically it is like sentry but if an enemy moves into the snipers range they will automatically attack the enemy with a greatly reduced chance of hitting them.
As far as implementation goes, I am trying to make it as generic as possible so other people can add in their own type of snipers. I will embelish on that later once I am closer to releasing the mod.
Well, so in the scale of most mods, though, this doesn't make sense. Snipers don't take out entire companies of infantry. They harass. They do spotting. They work with other infantry to do coordinated actions.
What I had thought you might be thinking would be to model the arbitraged effect of a sniper. For instance, if you had a fortified sniper, any unit in his los-1, say, (or same stack if you prefer) might be able to get "Sniper Support", granting him a strength bonus on attacks.
You might also be able to set a sniper to demoralize a unit or attempt to pin a unit down, causing a unit to either take a strength penalty, or lose movement points.
Now, if you were using great generals, you could allow snipers to attempt to take out said GP, as they represent individuals. Also, you could model dueling snipers as saying that if a sniper unit attempts to use one of his active powers (pin down, demoralize, or assassinate SpecialUnit_Person) on a unit that has sniper cover, then a sniper duel occurs first.
Of course, working out the logic of all this for the AI is going to be a headache. But you have that same problem, really, in your version, just fewer options I suppose :/.
I don't just a few thoughts, but the best excuses for modelling snipers that I've come up with so far. I don't really feel it makes sense to have snipers taking out units at range. That just seems... I don't know... silly, I guess.