Thank you for clarifying!
G40 Redesign (currently taking suggestions)
-
@waxfingers said in G40 Redesign (currently taking suggestions):
Actually, do you know how to load purchases into peoples existing purchases at game setup?
Hmm…yea Idk. I think something can be done where everyone auto gets it but it’s not placed . Have to look into it.
You might wanna ask at the triplea site under Map Making
-
I got another play test in today. Found out an issue, kind of. My save game thing I discovered I have to save at the German phase otherwise all of the map options turn off again haha. Loaded a game saved at Changer and my setup hulls, purchase window for hulls, and French BB were all there so I thought the game was good to go. It wasn’t until Vichy did not happen that we were like huh.
Checked map options and they were all turned off. I think there is something different with my code of when it loads into the game because I make the Changer add the stuff or it loads on game initiation. I was able to turn off some other map options and then reload and they turned off before German start.OK… wait I just tested and the same thing happens with other code (e.g. escort carriers), it seems that code loads it permanently into the game after German turn. What I did to test was loaded a game with Escort carriers, then saved and turned it off. They did not appear for Germany. Then did it again but this time saved after German turn, turned off. Loaded for Russia, they were still there locked into game purchases. I guess mine just was done during Changer or game initiation vs German phase. Not sure if you want to change that. Really this is not an issue for a fresh game, it was just something discovered for me saving a game right after loading it. I noticed the 2 hit cruisers/BBs also make more units appear into the game at the start of Germany rather than game initiation. I can dig into the code and set to German player, etc if you think it would be better.
-
@waxfingers ok yea some options get activated during Changer and others during Germany and some Country specific. It’s all kinda sloppy as I didn’t really know what was up when I did it. Just kept trying stuff till it worked . The old throw spaghetti at a wall thing lol
So if you save before German Purchase will it work ? Or only some ? Yea if you change “when” in the triggers to "before:germansPurchase then that might work. Have to be careful because some stuff needs to fire before others but yea if you want to mess with it go ahead.
Idk when I’ll be able to look at it. Maybe later tonight if i don’t get to drunk watching football lol
Also the Vichy thing is kinda touchy for when it fires if I remember right. Is it basically the ones Changer activates ? As long as it’s not “Tech” activated only, it should be ok to change to Germans turn i’d think. There’s quite a few of em
-
If you are fine with it, I am too haha. That looks like it might be quite the project.
Someone approached me about a new option. They want income for territory to be paid at start of round instead of end of round, but NOs paid at end.
For example, game starts with 0 bank, but then pays everyone their starting moneys. Germany takes Nov from Russia, but then Russia takes it back. Neither then gain 2 bucks from owning it at the end (and neither own at beginning of their turn either), but Germany does gain its 5 bucks from NOs. It isn’t until Germany then holds Nov for a whole turn that it then gains the 2 bucks.
As a consequence there would be less money generated for both sides between countries with tug of wars. That will just be a drain on your economy, but for both sides. For example, taking Yunnan from China as Japan, well you both don’t get the 1 PU from the territory, but china does get its NO so it is much better for it to continue at it.
Anyways, it seemed like it would be easy enough to implement, however I have no idea how to dig into things that are built in, like the purchase phase. Do you have any idea?
-
yea I’ll play around with it a bit in the future. I haven’t loaded a save to the lobby yet, so be a while till I figure it all out.
i don’t think triplea can do that. You can manipulate the phase order somewhat. It’s towards the start of the xml. “Game Sequence”. I think collecting PUs is hardwired after End Turn. Not sure. You could ask at triplea site
-
Another issue with the game setup is the axis vs allies buttons on the right hand column. They don’t match up with the actual factions.
-
@waxfingers yea that would be an engine issue. You should file a bug report
https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report
Does that happen when you load the saved game ? Doesn’t if you just fire it up normally ?
-
No it happens with any new game, local or bot. It seems that the Changer faction is messing it up since it it was missing all of the alliances would work out. Can you maybe make Changer be at the bottom?
-
@waxfingers right on so we need to keep changer 1st in Turn order but move to last in Alliances. That what you thinking ?
Because Changer needs to go first in turn order. Should be able to fix it either way.
You wanna swap it out and test ? I’m not much of Lobby guy : ) Usually I just end up crashing the game lol Not good at PBF either lol
-
@barnee Hmm… this might have something to do with Changer not having the full phases as the other players. Have to think on it if that don’t work
Edit
Actually I think Changer does have all the phases, so yea, probably not that -
@waxfingers this is what I get in Local
-
Yeah, I played around with it. Local seems fine I guess. I changed around the alliances, and the turn order, and saved game. Went to lobby and it still had the issue on the bot.
-
OK I found a fix. I made them Axis (could also be allies), and then it populated correctly. I think there is something about the bots or some code not recognizing your “Changer” alliance, and so because it is blank it bumps up the other alliance buttons.
-
@waxfingers right on I might need to add something to the Changer Alliance then because it has to be buddies with everybody
Seems odd well probably don’t matter maybe idk changer being his own alliance
-
@waxfingers maybe Changer needs to be optional = “true” like Mongolians ?
-
This is seeming more like a bug but Idk, lots of games with other Alliances out there.
-
@waxfingers said in G40 Redesign (currently taking suggestions):
Another issue with the game setup is the axis vs allies buttons on the right hand column. They don’t match up with the actual factions.
so Changer is listed as Axis here that seems not right. Maybe it’s auto loading axis first regardless of Alliance. Hmm I’m gonna post at triplea see if anybody has experienced this.
Probably have : )
-
@waxfingers Idk what’s up so i posted at triplea.
-
If you read the whole list of those alliances they line up if Germany was at the top. The list has been shifted upwards because of Changer being at the top. What I think is happening is the programming wants to start with an alliance at the top, but since Changer doesn’t have a button for an alliance (same as Dutch, Mongolians, etc.) then it shifts the buttons upwards and starts at the first player, which is now Changer. If you throw in the alliance (Axis/Allies) for Changer then it forces a button to be there and keeps the list lined up.
-
@waxfingers yea i’ll look at this some more today. Changer has to go first and it has to be Allied to everybody. Although I wonder if changing the Alliance actually affects Changer ? Relationships should override Alliance anyway