So, maps?

You think of something which could be added to TA3D post here! /
Vous pensez à quelque chose que l'on pourrait ajouter à TA3D, postez ici!
Post Reply
MattyWS
Posts: 146
Joined: Sat Jan 23, 2010 12:46 pm

So, maps?

Post by MattyWS » Mon Nov 29, 2010 12:37 pm

I can't get into the maps and mods sections of these forums so I dunno what's happening over there but, are you planning on a different map format from the normal TA one? It's too limited, not enough colours and TA can't get a good perspective on behind mountains so the textures look stretch and ugly on the back of them. Not saying to scrap the old map format, but a new one could be useful too. Something more up to date maybe?

Durand
Posts: 74
Joined: Thu Nov 04, 2010 11:13 am

Re: So, maps?

Post by Durand » Mon Nov 29, 2010 6:42 pm

Actually, i have some ideas of multi-player team maps, but i don't understand how to do a map. I know you can do a map with 'toshop & co (a layer for the graphic, a layer for eights, or something like that), but that's all.

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: So, maps?

Post by Balthazar » Mon Nov 29, 2010 7:09 pm

Not yet. Xpoy wanted to create new map format for TA3D, but it is not published yet, so I don`t know how the progress is going.

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: So, maps?

Post by xpoy » Tue Nov 30, 2010 10:00 am

so I'm still working in this, although long time no progresss going, but still work on, and format isn't point, point is clean format design and directly code. well I think I know what todo at now. /:^P
I will read code, and try to track where the crash are and collect info for map format's work.

MattyWS
Posts: 146
Joined: Sat Jan 23, 2010 12:46 pm

Re: So, maps?

Post by MattyWS » Tue Nov 30, 2010 10:51 pm

I was wondering if it were possible just to make it as simple as in a .TGA file with the normal layer being the texture and the alpha channel being the height map? And then maybe some way of setting values such as starting positions in a .txt file like;

Code: Select all

Starting position 1;
x=300
y=300
And on a map where the image is about 600x600 pixels, the starting positions would be in the middle. If you get me? maybe even make a special mode in TA3D where you can place features down, like maybe when you start the game up and go to main menu/single/feature builder/choose map, then it loads a map and you then have a side menu with all the features and you click what you want and click on the map where you want it to go, kinda just like normal buildings in TA. Then when done, there should be a 'save map' option that once saved, all the features are saved in place in a text file the same kind of way as shown above.

Personally I think this would be the most efficient way to work with maps, because then it could be as simple as these files going into a map folder;

Test map.tga
test map.txt

That said, normal TA maps work in a very similar way, only difference being the change in image file type

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: So, maps?

Post by xpoy » Sat Dec 04, 2010 2:07 am

It's possable to make a way, or said in small tool to make a map from some spec picture file+ start pos. And when load game, this tool can make a TA3D map format from your files, and load it in game as normal map, and in seriouse, must make sure ppl used same map. /:^P

I think map format should be really extending, I will think in this basic.

MattyWS
Posts: 146
Joined: Sat Jan 23, 2010 12:46 pm

Re: So, maps?

Post by MattyWS » Sat Dec 04, 2010 2:29 am

The idea is to be basic, a format that anyone can make a map in, using gimp and notepad or notepad++ (or the TA3D engine to place features). Right now, you guys want more people modding this engine, so that even more people can be interested. I'm drunk right now so excuse me if I don't make sense, but Ta3D isn't popular but needs to be, map making is the easiest way of modding a game. Seriously anything more complicated than my idea needs to be suggested first to see if it's even needed.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: So, maps?

Post by zuzuf » Sun Dec 05, 2010 10:36 pm

I really like this idea :). Features can already be added/removed dynamically and a standard image format would be easy to use outside the engine. We have mostly all the tools to do it but there is still something to think of: medium and big maps will require a huge texture, bigger than lots of video cards can support so we'll need an intelligent way of splitting the data and packing it all together into a few files when saving the map. Maybe one big texture file (RGB data) in any image format (you could select jpeg, png, tga, ... when saving) that would be split into several smaller textures to fit hardware constraints, one gray image to store the height map and a TDF file to store objects positions, game victory conditions, etc ... (we can already parse it and make it compatible with some OTA files - i am thinking of mission files).
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: So, maps?

Post by Balthazar » Mon Dec 06, 2010 3:28 pm

I thought the idea was a little different:
- tga image is used for height map - so it don`t have to be big.
The terrain textures are should be generated automatically within map editor (for example you can chose - grass, snow, rock) and so on....

DOT
Posts: 151
Joined: Sat Sep 19, 2009 11:56 am

Re: So, maps?

Post by DOT » Fri Dec 24, 2010 9:48 am

using Images as heightmaps wouldn't that not limit the terrain height?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: So, maps?

Post by zuzuf » Fri Dec 24, 2010 11:52 am

Well, if we support HDR image formats it won't but it won't be as convenient as 8bits channels because software support for those formats is less developed.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: So, maps?

Post by Balthazar » Sat Dec 25, 2010 8:01 am

Well, 24 bit height is more than enough as it seems to me. 16 millions of height values are quite precise )

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: So, maps?

Post by zuzuf » Sun Dec 26, 2010 11:48 am

If you encode a 24bits height into a RGB color with 8bits per channel, it won't be easy to edit with external tools.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: So, maps?

Post by Balthazar » Mon Dec 27, 2010 8:07 am

zuzuf wrote:If you encode a 24bits height into a RGB color with 8bits per channel, it won't be easy to edit with external tools.
Yes, you are right... But you can do some tricks, like 8 bit the green channel corresponds all height that above sea level, and the blue channel - corresponds height levels that are below sea level ) that`ll give you already 512 height values that can be easilly modified through any image editor and are easy to understand.

Flashbang232
Posts: 155
Joined: Tue Aug 03, 2010 6:59 pm
Location: Behind LOIC

Re: So, maps?

Post by Flashbang232 » Fri Dec 31, 2010 5:54 pm

Lol can't you make a map in annihilator and put it in ta3d directory? :P
When you cannot trust your government to lead the nation to better times is when you know the ship is sinking

MattyWS
Posts: 146
Joined: Sat Jan 23, 2010 12:46 pm

Re: So, maps?

Post by MattyWS » Fri Dec 31, 2010 11:12 pm

.. The idea is to break from this shoddy way of making maps and create a way that looks good in 3D.

Flashbang232
Posts: 155
Joined: Tue Aug 03, 2010 6:59 pm
Location: Behind LOIC

Re: So, maps?

Post by Flashbang232 » Sat Jan 01, 2011 10:47 pm

How about we use something like wings3d for heightmaps, the actual wings files, and in the map editor we use high-quality textures to texture the faces?
This might create problems though; i must think it over some more i guess. will try to edit post if necessary.
When you cannot trust your government to lead the nation to better times is when you know the ship is sinking

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: So, maps?

Post by Balthazar » Sun Jan 02, 2011 8:38 am

Flashbang232 wrote:How about we use something like wings3d for heightmaps, the actual wings files, and in the map editor we use high-quality textures to texture the faces?
This might create problems though; i must think it over some more i guess. will try to edit post if necessary.
Wings 3D is not suited for this kind of tasks.

Flashbang232
Posts: 155
Joined: Tue Aug 03, 2010 6:59 pm
Location: Behind LOIC

Re: So, maps?

Post by Flashbang232 » Sun Jan 02, 2011 8:02 pm

alas, i have been foiled by the coding of ta3d. :idea:
When you cannot trust your government to lead the nation to better times is when you know the ship is sinking

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests