Closed riverajusko closed 12 months ago
trySwapRetreat
https://github.com/hachchch/-GeneCiv-
Side note: Maybe we should add a RulesetValidator warning when too many game* texture atlantae exist and point them to the wiki on how to actively distribute textures... (found it - @hachchch hint for you)
The Unit is UnitType "Cell", "movementType": "Land", and Terrains seem unchanged, Lakes are still "type": "Water"... No embarkment allowed but tried by retreat anyway?
That Mod is hilarious. The squeaky 80es-game-style music, the Art throughout, well done. But also in need of results of the discussion about untyped Uniques.
Is it a problem in geneciv that game.png is larger than 2048,2048? I'm a noob so I don't really understand the Unciv github pages. P.S. It fixed with xy2048,2048 now
Read that link - has something to do with graphic chips, texture loading into them (because even for 2D the 3D engine is used) and so on. Performance impact depends very much on the actual chip, so we give just general guidelines that textures often used close to each other should go into the same atlas. It's by no means certain our distribution is optimal, but we tried.
Wait - larger than? ~Nope~ only a few, one is 6400x100? Waaaait - those aren't done using Unciv itself as packer - you have some with dimensions that aren't a power of 2, and the numbering would also be different. Did your tool not warn that such sizes may not load on all graphic chips? Anyway, not a game breaker, and no chip off my block. Feel free to read up or not, and to think about whether your images have some structure as in which will most frequently be used at the same time... Or not. Having a good grip on your tools may be more important than performance going down the drain on older devices.
I'll look into it. It would be very nice if you could add the save game. I have seen this type of error before but I thought I had solved them.
Okay, something must be wrong within the movement.canSwapTo/swapToTile.
if (unit.movement.canUnitSwapTo(swapTile)) {
unit.movement.swapMoveToTile(swapTile) <-------
return true
}
This should not be causing a problem if I directly call a method that is responsible for determining if the other method that is causing problems is valid or not. This might take me a day or two to figure this out.
Are you still having this problem? If so could you send the save game file? I have ran some simulations on Vanilla G&K but I haven't found anything yet.
Closing as researched, inactive and unworkable
Platform: Android Version: 4.8.15 (Build 925) Rulesets: [Unciv Religion Plus, Ark s UNCIV Evolved, Civ V - Vanilla, =GeneCiv=, Ark s UNCIV Expansion, Uncivilized Enhancer, Unciv Rebalance Mod Beta, A Religion For Everyone, Ancient Civilizations, Advance Wars Mod, Civ V - Gods & Kings, Warframe Civs, AquaExtension GAK] Last Screen:
com.unciv.ui.screens.worldscreen.WorldScreen
Device Model: Infinix X6835B API Level: 33
Message:
Save Mods:
Save Data:
Show Saved Game
```I can't next turn