Alexandra wrote:anyways if your scenarios are played on a bigger scenario you could keep a new system for unit location in mind
aoe2 uses x coordinate + y coordinate
You could use Map ID + X + Y-Coordinate
Else if your system could handle it: Giga coordinates like 4721, 12117
I was using this coordinate system (or rather system of coordinate systems) but then i realized for distance measure and path finding i need one big system, so yes, now i'm using giga coordinates - every small tile square is 100x100 in real coordinates.
Alexandra wrote:@blejdac:
Before doing anything I would know if it is possible to:
> load a data file as complex as aoe's so I can stick to genie engine style
> will it be data or text
> do you want all existing attack types, unit classes and all other that kind of related things remain the same or be rewritten in an updated order.
> do you want one big data file or one Base data file with base settings for the game and "Player Datafile that has all custom settings from the player like researched technologies, etc. and a third datafile for each player that holds all data of what they built, where they are, movements, resources etc etc.
Currently I done some research on the terrain restrictions on aoe2 and found it out to be very interesting.
It has headers and data containing data about which terrain ID's can be accessed by the restriction type and which cannot, also data like how projectiles die, if they fall in water it gives a splash, dust could give a little cloud and ground gives a decaying arrow.
also misc data is linked like what terrain ID gives what foot/wheel whatever other track graphics when units walk over them.
You better start a new thread in Concepts called "Unit data" or similar where we can discuss anything related to this. System i'm using now for storing some data looks like this:
text data compiled to
binary data merged together into one
big data file (looks like AoK's one, hmm?)
Keep the terrain knowledge you've researched in mind (or better on a paper), it will be very useful soon.