Support Fire

Just some quick feedback - support fire seems quite well balanced already, not too much or too little and really makes you think about stack attacks which is good (you actually need some tactics to successfully attack a city) and gives defenders good support. I think it takes off the right amount of damage already and im glad that there is a stack limit on units - makes it much better. :)
 
yea support fire is one of the coolest additions to WHFB, we need a programmer :( for more such creative little features.
 
The only wierd thing about support fire is that it works on units inside cities aswell - when you attack from out of a city surely the other units you have inside the city are well fortified and if you attack it's only your one unit that vunerable but still it seems that all your units suffer damage.

I just think that units inside cities, not fighting but defending/fortified cant get hit by support fire because they will be too well covered and shielded.
 
The only wierd thing about support fire is that it works on units inside cities aswell - when you attack from out of a city surely the other units you have inside the city are well fortified and if you attack it's only your one unit that vunerable but still it seems that all your units suffer damage.

I just think that units inside cities, not fighting but defending/fortified cant get hit by support fire because they will be too well covered and shielded.

That makes sense.
 
Well, ive started learning about programming, but have hit a dead end :( i followed one of the tutorials on how to get all the necessary programs etc, but i must have done something wrong and they dont work as described. im waiting for a response to my last post. once i get that little thing fixed ill check out the suppor fire stuff as my first assignment (just to ease myself in :p) but it may be a while till im competent.
 
Well isn't this thread a blast from the past :P

The only wierd thing about support fire is that it works on units inside cities aswell - when you attack from out of a city surely the other units you have inside the city are well fortified and if you attack it's only your one unit that vunerable but still it seems that all your units suffer damage.

I just think that units inside cities, not fighting but defending/fortified cant get hit by support fire because they will be too well covered and shielded.

If you guys can compile it, I think this change would work. It's in the CvUnit.cpp file under the updateCombat function. Add the emboldened lines.

Code:
// Gerikes / Warhammer Mod / 8th August 2006
			// Support Fire

			[b]// If the plot is not a city, SF is ok. Prevents SF against a city.
			if (!plot()->isCity())
			{[/b]

			// Check for a unit that can be a support fire unit.
			CvUnit* pSupportFireUnit = pDefender->plot()->getBestSupportFireDefender(pDefender);

			// If we've found one, start supporting fire.
			if (pSupportFireUnit != NULL)
			{
				// Have that defending unit do collateral damage on this unit's attack-from plot
				pSupportFireUnit->supportFireCollateralCombat(plot(), this);
			}

			[b]}[/b]
			// Gerikes / End
 
Back
Top Bottom