The Endru changes - not yet ported to Unity.
---------
Unitybe - terrain
Beérkező levelek
Mézes Zerotouch <zerotouchsystems@gmail.com>
2022. máj. 18., Sze 7:58
címzett: én
TerrainJoinFile:
getSurroundingTileIDsToSearchFor
splitByteKey
Mézes Zerotouch <zerotouchsystems@gmail.com>
2022. máj. 20., P 22:17
címzett: én
---------------------
findMatchingByteTileRelTileID:
//Endru1241: to check with groups
Integer tileIDtoCheck = surroundingTileTypeIDs;
if (tileIDtoCheck == null) tileIDtoCheck = 0; //replace by 0 if null to avoid crash with comparison
//Endru1241 end: to check with groups
---------------------
ugyanott:
//if (!isTileInGroup(value, valueInKey)) {
if (!isTileInGroup(tileIDtoCheck, valueInKey)) { //Endru1241: changed to check real tileID
-------------------
getreplacementtile:
calling új paraméterrel
Mézes Zerotouch <zerotouchsystems@gmail.com> ezt írta (időpont: 2022. máj. 18., Sze, 7:58):
TerrainJoinFile:
getSurroundingTileIDsToSearchFor
splitByteKey
Mézes Zerotouch <zerotouchsystems@gmail.com>
2022. máj. 22., V 21:05
címzett: én
new:
getreplacementtile: (also changing parameter to arraylist)
ArrayList<Integer> reversedSurroundingTileTypeIDs = new ArrayList<Integer>();
for (int i = 0; i < surroundingTileTypeIDs.length; i++) {
reversedSurroundingTileTypeIDs.add(0, surroundingTileTypeIDs);
}
newTile = findMatchingByteTileRelTileID(b, idsToCheck, reversedSurroundingTileTypeIDs); //Endru1241: passing real surrounding tile ids for non-master like tiles to work with groups
Mézes Zerotouch <zerotouchsystems@gmail.com>
2022. máj. 23., H 9:37
címzett: én
isTileInGroup ciklus bele:
if (id.contains("..")){
String[] splittedId = id.split("\\.\\.");
Integer idMin = Integer.valueOf(splittedId[0]);
Integer idMax = Integer.valueOf(splittedId[1]);
for (int idInner = idMin; idInner <= idMax; idInner++){
if (idInner == tileID)
return true;
}
} else {
//Log.e("tilejoin", "id:" + id + " vs tileID:" + tileID);
if (ZTSPacket.cmpString(id, String.valueOf(tileID)))
return true;
}
Mézes Zerotouch
2022. máj. 23., H 9:48
whole splitbykey to be copied (i changed things also)
Mézes Zerotouch <zerotouchsystems@gmail.com>
2022. jún. 6., H 16:26
címzett: én
a legjobb ha az egész terrain filet hozod...
Mapeditor - Auto-Terrain feature for slopes maybe?
-
- Site Admin
- Posts: 15754
- Joined: Fri Apr 25, 2014 9:28 pm
Return to “Android->Unity missing ones”
Jump to
- Forum rules
- Age Of Strategy
- ↳ FAQ
- ↳ More Q&A
- ↳ Suggestions and Ideas (Design leader: Endru1241)
- ↳ New upgrades (unit, structure, technology, effect)
- ↳ VOTING
- ↳ Voting
- ↳ Old Votes - ARCHIVED
- ↳ Unit - melee infantry
- ↳ Unit - ranged (like archers)
- ↳ Unit - mounted
- ↳ Unit - supportive (buff, heal, repair etc.)
- ↳ Unit - water (ships)
- ↳ Unit - siege engines / machines
- ↳ Techs
- ↳ Structures
- ↳ Neutrals (animals, buildings etc)
- ↳ Unit balancing
- ↳ Closed ones
- ↳ Graphics
- ↳ Maps, campaigns
- ↳ Gameplay & UI
- ↳ Implementeds
- ↳ Main menu
- ↳ New game types in the game (like capture the flag)
- ↳ Others
- ↳ Needs, priorities - Which way would you like the roadmap?
- ↳ ARCHIVED - Implemented suggestions
- ↳ IMPLEMENTED - Infantry
- ↳ IMPLEMENTED - Ranged
- ↳ IMPLEMENTED - Mounted
- ↳ IMPLEMENTED - Water
- ↳ IMPLEMENTED - Siege
- ↳ IMPLEMENTED - Structure
- ↳ IMPLEMENTED - Neutrals
- ↳ IMPLEMENTED - Technologies
- ↳ IMPLEMENTED - Redesigns
- ↳ IMPLEMENTED - New Game Types
- ↳ ARCHIVED - Answered suggestions
- ↳ Reporting Issues
- ↳ Game
- ↳ Solved/Answered
- ↳ Units/techs/effects
- ↳ Implemented/Answered
- ↳ Maps
- ↳ AI
- ↳ Map Editor
- ↳ Main Menu
- ↳ Implemented/Answered
- ↳ Performance problems
- ↳ Crashes
- ↳ Implementeds
- ↳ Documentation
- ↳ Others
- ↳ Implementeds/Answered/Closed
- ↳ Campaign map discussions
- ↳ Multiplayer discussions
- ↳ Dev asks for Help
- ↳ Implemented/Closed
- ↳ Other discussions about the game
- ↳ Unity version workbench
- ↳ Android->Unity missing ones
- ↳ Other ideas
- ↳ Issues - Critical
- ↳ Issues - Normal
- ↳ Issues - Nice to have
- ↳ Issues - Performance
- ↳ IMPLEMENTEDs
- ↳ DEVELOPER version changes
- ↳ Hall of Fame
- Other Age of Strategy variants
- ↳ Age of Fantasy
- ↳ Introduction (AOF design leaders: Savra, Makazuwr32)
- ↳ FAQ
- ↳ AoF Votes and Polls
- ↳ Unit list to vote
- ↳ Subraces and Subfactions
- ↳ Subraces - Humans
- ↳ Subraces - Orcs
- ↳ Subraces - Undeads
- ↳ Subraces - Elves
- ↳ Subraces - Dwarves
- ↳ Subraces - Scalefolks
- ↳ Units & Structures (See Races for accepted Unit Races)
- ↳ Human
- ↳ Orc
- ↳ Undead
- ↳ Elf
- ↳ Dwarf
- ↳ Scaledfolk
- ↳ Technologies, Spells & Abilities
- ↳ Human Technologies
- ↳ Orc Technologies
- ↳ Undead Technologies
- ↳ Elf Technologies
- ↳ Dwarf Technologies
- ↳ Scalefolk Technologies
- ↳ Other asset ideas: terrain, sound, skins
- ↳ Skins for AoF
- ↳ Archive — Skins for AoF
- ↳ Map & campaign ideas/issues
- ↳ Map units request
- ↳ Multiplayer discussions
- ↳ Balancing discussions
- ↳ Closed ones
- ↳ Dev asks for Help
- ↳ Others
- ↳ Reporting Issues
- ↳ DEVELOPER version changes
- ↳ Archive - AoF
- ↳ Archived - FAQ
- ↳ Archived - Subraces
- ↳ Archived - Votes and Polls
- ↳ Archived - Units and Buildings - General Forum
- ↳ Archived - Technologies, Abilities - General Forum
- ↳ Archived - Balancing
- ↳ Archived - Other ideas
- ↳ Archived - Other
- ↳ Archived - Reporting Issues
- ↳ Racial Archives
- ↳ Archived - Humans
- ↳ Archived - Human Units, Buildings
- ↳ Archived - Human Technologies and Spells
- ↳ Archived - Orcs
- ↳ Archived - Orcish Units, Buildings
- ↳ Archived - Orcish Technologies and Spells
- ↳ Archived - Undeads
- ↳ Archived - Undead Units, Buildings
- ↳ Archived - Undead Technologies and Spells
- ↳ Archived - Elves
- ↳ Archived - Elven Units, Buildings
- ↳ Archived - Elven Technologies and Spells
- ↳ Archived - Dwarves
- ↳ Archived - Dwarven Units, Buildings
- ↳ Archived - Dwarven Technologies and Spells
- ↳ Archived - Scalefolks
- ↳ Archived - Scalefolk Units, Buildings
- ↳ Archived - Scalefolk Technologies and Spells
- ↳ Hall of Fames
- ↳ Age of World Wars
- ↳ Introduction (AOW design leader: Samuel & Professiona_Gamer)
- ↳ Nations
- ↳ Factions
- ↳ Units & Structures (See Nations for accepted Unit nations)
- ↳ Implemeteds
- ↳ Tanks (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ Italian tanks
- ↳ German tanks
- ↳ Russian Tanks
- ↳ France Tanks
- ↳ US Tanks
- ↳ British Tanks
- ↳ Japan Tanks
- ↳ Guns (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ German Guns
- ↳ US Guns
- ↳ JP Guns
- ↳ Russian Guns
- ↳ British Guns
- ↳ France Guns
- ↳ Italien Guns
- ↳ Infantry (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ US Infantrie
- ↳ Russian Infantrie
- ↳ German Infantrie
- ↳ Japan Infantrie
- ↳ Franch Infantrie
- ↳ British Infsntrie
- ↳ Italie Infantrie
- ↳ Other Nation inf
- ↳ Vehicles (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ US Vehicles
- ↳ GB Vehicles
- ↳ Russian Vehicles
- ↳ German Vehicles
- ↳ Italin Vehicles
- ↳ France Vehicles
- ↳ Other Vehicles
- ↳ Ships (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ Planes (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ German Planes (last cleanup: 20240130)
- ↳ US Planes (last cleanup: 20240130)
- ↳ Russian Planes (last cleanup: 20240130)
- ↳ Japan Planes (last cleanup: 20240130)
- ↳ British Planes (last cleanup: 20240130)
- ↳ Italian Planes (last cleanup: 20240130)
- ↳ France Planes (last cleanup: 20240130)
- ↳ Buildings (last cleanup: 20240130)
- ↳ Implemented/Closed ones
- ↳ Technologies
- ↳ Issues
- ↳ Implemented/Closed ones
- ↳ Balancing discussions
- ↳ Implemented/Closed
- ↳ Map & campaign designs
- ↳ Dev Asks for Help
- ↳ Others
- ↳ DEVELOPER version changes
- ↳ Hall of Fames
- ↳ Age of Modern wars
- ↳ Others
- ↳ DEVELOPER version changes
- ↳ Units & Structures ( See Nations for Accepted units Nations )
- ↳ Tanks
- ↳ UDSSR Tank
- ↳ US Tanks
- ↳ France Tanks
- ↳ China Tanks
- ↳ German Tanks
- ↳ British Tanks
- ↳ Israel Tanks
- ↳ Swedish Tanks
- ↳ Guns
- ↳ UDSSR Guns
- ↳ US Guns
- ↳ Infantry
- ↳ Vehicles
- ↳ Ships
- ↳ UDSSR Ships
- ↳ US Ships
- ↳ China Ships
- ↳ France Ships
- ↳ Planes
- ↳ UDSSR Planes
- ↳ US Planes
- ↳ British Planes
- ↳ French Planes
- ↳ Sweden Planes
- ↳ Italian Planes
- ↳ Helicopter
- ↳ UDSSR helicopter
- ↳ US helicopter
- ↳ italian helicopters
- ↳ Issues
- ↳ Balancing
- ↳ Map & campaign designs
- ↳ Hall of Fames
- ↳ Age of Galaxy
- ↳ Introduction
- ↳ Factions
- ↳ Units & Structures (See Factions for accepted Unit nations)
- ↳ Humans
- ↳ Space
- ↳ Planetary
- ↳ Archive
- ↳ Reptilians
- ↳ Space
- ↳ Planetary
- ↳ Archive
- ↳ Avian
- ↳ Space
- ↳ Planetary
- ↳ Archive
- ↳ Myconids
- ↳ Space
- ↳ Planetary
- ↳ Archive
- ↳ Insectoids
- ↳ Space
- ↳ Planetary
- ↳ Archive
- ↳ Technologies
- ↳ Humans
- ↳ Archive
- ↳ Reptilians
- ↳ Archive
- ↳ Avian
- ↳ Myconids
- ↳ Archive
- ↳ Insectoids
- ↳ Archive
- ↳ Map & campaign designs ideas
- ↳ Issues
- ↳ Archive
- ↳ Balancing
- ↳ Archive
- ↳ Others
- ↳ Archive
- ↳ Dev Asks for Help
- ↳ DEVELOPER version changes
- ↳ Age of Discovery
- ↳ Units n structures
- ↳ British
- ↳ infantry
- ↳ cavalry
- ↳ artillery
- ↳ ships
- ↳ structures
- ↳ agents
- ↳ French
- ↳ infantry
- ↳ cavalry
- ↳ artillery
- ↳ ships
- ↳ structures
- ↳ agents
- ↳ Mercenaries
- ↳ infantry
- ↳ cavalry
- ↳ artillery
- ↳ ships
- ↳ structures
- ↳ Technologies
- ↳ Unique techs
- ↳ Techs
- ↳ Issues
- ↳ Others
- ↳ OLDies
- ↳ units
- ↳ DEVELOPER version changes
- ↳ Age of Alder
- ↳ Units n structures
- ↳ Technologies
- ↳ Others
- ↳ DEVELOPER version changes
- ↳ Age of Civilization
- ↳ Era 1
- ↳ Units/buildings
- ↳ Techs
- ↳ Others
- ↳ General discussions
- ↳ DEVELOPER version changes
- ↳ Age of Revolution
- ↳ Units & structures
- ↳ Technologies
- ↳ Others
- ↳ Maps, Campaigns
- ↳ DEVELOPER version changes
- ↳ StarWars Strategy - PROJECT STOPPED
- ↳ FAQ
- ↳ Introduction (SWS design leader: Puss_in_Boots)
- ↳ Races
- ↳ Units & Structures
- ↳ Technologies
- ↳ Maps & Campaign designs
- ↳ Reporting Issues
- ↳ Others
- ↳ Others
- ↳ Developer version changes
- ↳ Age of Alerts - PROJECT STOPPED
- ↳ Introduction (AOA design leader: HokanPL)
- ↳ Races
- ↳ Units & Structures (See Races for accepted Unit Races)
- ↳ Technologies
- ↳ Abilities
- ↳ Map & campaign ideas
- ↳ Others
- ↳ New variant ideas
- Ao* Engine Knowledge base
- Modders lounge
- ↳ Under the Hood studies
- ↳ How-to's
- ↳ Game Definition .JSON
- ↳ Unit Design
- ↳ Map Design
- ↳ Terrains and Graphic Design
- ↳ Cosmetics
- ↳ Abstract
- ↳ Q&A
- ↳ Ask questions here
- Mapdesigners lounge
- App Growth
- ↳ App Growth (eg. Promotions)
- Tournaments
- ↳ Introduction
- ↳ FAQ
- ↳ Members
- ↳ News
- ↳ Championship
- ↳ Recruiting
- ↳ Other
- About the Forum
- ↳ Feedback about this forum
- Talent
- ↳ Talent
- ↳ Pixel Art
- ↳ Map Editors
- ↳ .json files
- OFF Topics
- ↳ Your creativity projects
- List of permissions for copyrighted content
- VAC