Page 1 of 1
Need some help with events...
Posted: Thu May 15, 2008 5:05 pm
by JAMiAM
Hi,
Here's the situation. I would like to set up a set of events to do the following:
Grant PP's to the defending regime, each time that a set of locations is attacked, whether by land, sea, or air. I want this to be proportional to the number of VP's that the locations are defined to have, so that if a 1 VP city is attacked, then the defending regime is granted 1 PP, a 2 VP city attacked grants 2 PP, and so on. Once the location has switched hands, then the new defender should receive the PP grants.
What's the cleanest, and easiest way to do this for a large scenario, with multiple regimes? For example, the WaW scenario?
RE: Need some help with events...
Posted: Thu May 15, 2008 5:19 pm
by von altair
CheckHexOwner( x , y)
Returns the number of the regime owning specified hex.
With this you can check if hex has changed ownership. If answer is
yes, you can grant pp to original owner. You can check my Roman
Empire mod. I am granting PP:s there the same amount than owner
has VP:s.
If you want to grant pp, just by someone attacked a hex, but didn't
conquer it... that would be harder thing to do.
CheckPowerPointsInArea( areaslot, areacode, regime )
Can be used in situation like that, but if a player moves units out
of hex by himself, it can then fool that event. So units have to
be static, so this can work. Mayby garrison units which can't move at
all.
RE: Need some help with events...
Posted: Thu May 15, 2008 5:39 pm
by JAMiAM
ORIGINAL: von altair
CheckHexOwner( x , y)
Returns the number of the regime owning specified hex.
With this you can check if hex has changed ownership. If answer is
yes, you can grant pp to original owner. You can check my Roman
Empire mod. I am granting PP:s there the same amount than owner
has VP:s.
If you want to grant pp, just by someone attacked a hex, but didn't
conquer it... that would be harder thing to do.
CheckPowerPointsInArea( areaslot, areacode, regime )
Can be used in situation like that, but if a player moves units out
of hex by himself, it can then fool that event. So units have to
be static, so this can work. Mayby garrison units which can't move at
all.
Thanks for the ideas, but that doesn't sound like it will work for my purposes. What I'm trying to do is grant PP's to defending regimes, for holding it under attack, and to dissuade the bombing of specific locations, due to the imbalance of resource/production lost versus PP gained by the bombed player. Thus, while it might make sense in an economic, productivity-decreasing sense to strat bomb a particular location, this will need to be balanced by the fact that the defending regime will be gaining political capital by such acts.
Obviously, this will also tend to make trying to hold onto strategic locations more palatable to a player who might otherwise abandon it without a fight, because he is overly concerned with losing some forces. Also, it will make the quick and decisive capture of the hex more important to the attacker, as this will minimize the political benefit to the defender that an extended siege will have.
So, in other words, it really needs to work based on how often the hex is attacked, rather than how often it changes hands.
RE: Need some help with events...
Posted: Thu May 15, 2008 10:55 pm
by Captain Cruft
There is no way to determine how many times a hex has been attacked using Events.
RE: Need some help with events...
Posted: Fri May 16, 2008 5:26 pm
by Vorsteher
Thanks for the ideas, but that doesn't sound like it will work for my purposes. What I'm trying to do is grant PP's to defending regimes, for holding it under attack, and to dissuade the bombing of specific locations, due to the imbalance of resource/production lost versus PP gained by the bombed player. Thus, while it might make sense in an economic, productivity-decreasing sense to strat bomb a particular location, this will need to be balanced by the fact that the defending regime will be gaining political capital by such acts.
mmh,why you don´t give your location a special value.Bomb the city.Determine with checkloctype the damage.Set this number into the relation to the damage let reduce the PP through an event.Or you can take a look to my barbarossa scenario.My factories have percent value.Strategic bombings bring with random factor damage.The production falls.
V.
RE: Need some help with events...
Posted: Fri May 16, 2008 6:39 pm
by tweber
You could give points based on number of hexes held, count of units remaining, count of location types remaining, number of enemy units lost. This might be a proxy for number of attacks.
RE: Need some help with events...
Posted: Fri May 16, 2008 8:36 pm
by JAMiAM
ORIGINAL: tweber
You could give points based on number of hexes held, count of units remaining, count of location types remaining, number of enemy units lost. This might be a proxy for number of attacks.
I'm looking for something that is a bit more 'targetted' than that.
What I'm trying to achieve is a more direct political gain/loss, due to the attacks against particular targets. Thus, a German siege of a Russian-held Leningrad, where the city is hit every turn with bombardments, would grant to the Russians some political capital for holding the city. It would put pressure on the Germans to either quickly take it, or bypass, and let rot, rather than to make it a
cause de celebre.
Strategic bombing attacks against targets in WWII generally caused a hardening resolve amongst the defenders, along with the real damage and loss of productivity. The latter aspect is covered in AT, but I want to be able to model the former.
With respect to WaW, by granting relatively higher VP amounts to targets in countries occupied by Germany, than natively owned cities, the higher political cost of bombing say Paris, versus Cologne, could be modeled. Historically, the Western Allies chose to generally not bomb targets in occupied territories until the lead up to Overlord, and even then, they were against transportation hubs and assets, rather than at population or production centers. There is no corresponding inhibition that I can currently see possible within AT.
Granting a PP value to the Maginot hexes and using my dream feature would dissuade the Germans in WaW from pursuing the normal (for WaW) yet completely ahistorical tactic of bombing and bombarding them each turn to whittle down the Western forces, before taking advantage of the Blitz card in the Spring. The PP's gained by the West in this case could contribute to the purchase of the Allies Prepared action card, making for a more reasonable cause and effect. Of course, another way of doing this, assuming that attacks could be tracked on a per hex basis, is to make an event reducing the cost of the Allies Prepared card, based on the number of attacks against hexes in France.
RE: Need some help with events...
Posted: Sat May 17, 2008 6:11 pm
by tweber
For the France issue, you may mark France with a slot, count the slot each turn, and give the West a pp bonus if they lose hexes prior to the play of the blitz card. You could also make it so the German's lose the Blitz card if they occupy the a single hex of France. Also, you could make the Maginot area a new, unattackable regime that joins the West when the Blitz card is played. Of course if you do this, you might as well also start the game in April 1940.