One Time PU Capture For Certain Events
-
@ff03k64 said in One Time PU Capture For Certain Events:
Could you use us a whencapturedchangesinto? Make it change into a slightly different factory (name only) so that it can only be captured once?
What you said actually gave me a different idea…
Is there any known way to convert units into PUs? (i.e. like salvaging damaged material or something similar)
If so, I could create a hidden, immovable unit in each city and with each factory that could potentially be triggered into converting to PUs if owned by the opposite side. That would at least take care of it only happening once.
-
@RogerCooper said in One Time PU Capture For Certain Events:
When designing scenarios, you often need to modify what you want to work within the constraints of the TripleA engine. To give a bonus or penalty using the original factory locations is not hard. Covering newly-built factories is either impossible or requires elaborate workarounds.
Yeah, I hear you on designing scenarios for the TripleA engine. Unfortunately what I’m working on already exists real-world so I’m trying to backwards cram it in to TripleA in order to make it more available to people.
I had no idea how things worked when I started, so it was basically just a “let’s give this a try and see how far we get”. But now that I’ve gotten 90% of the way I’m just trying to get as close to the real thing as possible.
I think I’m going to put the PU capture on the backburner for now to spend time on lower hanging fruit. Unless you have any ideas on converting units to PUs, since I feel like that might be a breakthrough.
At least with this one it’s something that the user can handle easily with edit mode, although I’d prefer to avoid that if I can.
-
-
Most of this is (reasonably) achievable. The only real complicated part is the negative PU's to the looser.
It becomes fairly complex to try and subtract PU's from a player who's not actively playing (their own turn).
Moreover... it also becomes a question of how drastic this measure is as it relates to the game... it seems to me that loosing a territory which contains a factory is already a significant loss... stripping a nation of more PU while also rewarding your opponent for capturing it seems a fairly steep penalty.
-
It’s meant as a replacement for the PU transfer when taking capitals. I wanted my map/mod to be without capitals, such that, powers can continue with income and purchasing so long as they retain one major city. So, instead of getting one large transfer of cash for taking a capital, you get several smaller ones as a reward for aggression. It's not quite as steep when balanced against the loss of the capital capture ability and knocking out all of the opposing nation's future income.
Here’s where I’m at with this now:
The positive side of the cash transfer is 100% handled with something similar to the loot in the Warcraft map @Frostion made.
For the negative side I’m creating a trigger for each territory that begins the game with a factory or a city that will give the original holder -PUs one time if they lose it.
So, the only gap currently is that any newly created factory after the start of the game would not trigger the lost PUs, only the positive ones.
-
@Contango You could make one's capital uncapturable by putting it in an impassable territory and then normal game mechanics will reward a player for capturing TTys and still allowing the opponent to collect PUs and build.
Actually this may be done different now but you should still be able to do it.
Ahh...you want part of the entire purse captured, not just the TTy value. Hmm...yea...Idk. You could trigger an arbitrary extra amount if a certain TTy was captured. 5 bucks or something or whatever would average out to most likely. Have it trigger a PU loss to the owner as well.
Idk, seems a bit sloppy, but might work.
Sorry a bit slow tonight
You just need the negative PUs to kick in ? I think I did that somewhere at one time. Ahh I remember now. I made an objective. Actually I think Hepps already explained it. Only works for negative when it's your turn. 
At any rate, you should be able to come close to what you want.
-
@Contango said in One Time PU Capture For Certain Events:
So, the only gap currently is that any newly created factory after the start of the game would not trigger the lost PUs, only the positive ones.
You could make 2 types of Factory.
Unconquered Factroy would be all your existing factories at game start as well as any newly built ones by players. This is the unit that would be in the production frontier for every player.
Conquered Factory would be what the above turns into if captured. It cannot be bought and would be what all Unconquered Factory is turned into if and when they are captured.
You could then also have the Unconquered Factory produce a unit (at the time it is captured) that has a maintenance cost of 2 PU and is removed automatically at the end of the players next turn.
You could do the exact same thing with Victory Cities... just have an unmovable "Dummy" unit in each City that when the territory is captured turns into the same unit as the factory.
-
The uncapturable capital thing is a good idea... I actually stumbled upon that previously. I have a trigger that will turn the owner of these fake capitals over to a different owner if all of that nation's cities are captured. (in order to make them no longer collect an income)
I also made triggers for PU penalty for all territories with a factory, and similarly with cities. The only down side is that those need to be known before the game starts, so it can't handle factories created mid-game.
So yup, pretty close to what I wanted.
-
@Hepps said in One Time PU Capture For Certain Events:
@Contango said in One Time PU Capture For Certain Events:
So, the only gap currently is that any newly created factory after the start of the game would not trigger the lost PUs, only the positive ones.
You could make 2 types of Factory.
Unconquered Factroy would be all your existing factories at game start as well as any newly built ones by players. This is the unit that would be in the production frontier for every player.
Conquered Factory would be what the above turns into if captured. It cannot be bought and would be what all Unconquered Factory is turned into if and when they are captured.
You could then also have the Unconquered Factory produce a unit (at the time it is captured) that has a maintenance cost of 2 PU and is removed automatically at the end of the players next turn.
You could do the exact same thing with Victory Cities... just have an unmovable "Dummy" unit in each City that when the territory is captured turns into the same unit as the factory.
Yup, this is nearly exactly what I did, with the exception of the bit about the maintenance cost... I used "createsResourcesList" to create the positive cash flow for the attacker. The dummy units are then removed at the end of the turn.
-
@Contango You can tailor that to ensure both your goals are achievable.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login