Author Topic: couple questions  (Read 3081 times)

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
couple questions
« on: April 12, 2010, 08:10:35 PM »
I am still playing around with the TE and now have come across a couple of questions that I am having trouble finding the answer to in the wiki or anywhere else.

When applying elevation to the terrain how do you get the different elevations to show on the clipboard map?

For example in any of the maps currently being used in the MA's you can visually see by the colors on the clipboard map that there are elevation changes and where they are.

Also does anyone know how the new strat system effects the way they are laid out in the TE?


edit: one more question:  what is an average distance that a spawn would be from a base?
« Last Edit: April 12, 2010, 09:26:19 PM by dkff49 »
Haxxor has returned!!!!
Dave
        

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10908
Re: couple questions
« Reply #1 on: April 12, 2010, 09:28:48 PM »
<snip>
When applying elevation to the terrain how do you get the different elevations to show on the clipboard map?

For example in any of the maps currently being used in the MA's you can visually see by the colors on the clipboard map that there are elevation changes and where they are.

Load the elevation file, terrain.elv, into Photoshop. I'm not familiar enough with Photoshop to guide you. I think GIMP will also load the elevation file.

<snip>
Also does anyone know how the new strat system effects the way they are laid out in the TE?

For an MA terrain, you need to use the prebuilt cs groups. The old stand alone strat factories won't work for the MA.
Easy in-game again.
Since Tour 19 - 2001

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: couple questions
« Reply #2 on: April 12, 2010, 09:32:28 PM »
With the strats now, do you pick only one spot to put them on the larger maps? The reason I ask is with the retreating strats, I am not sure if we can choose the 2 locations for each side or does HT choose the forward location or the rear.
Haxxor has returned!!!!
Dave
        

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10908
Re: couple questions
« Reply #3 on: April 12, 2010, 09:37:46 PM »
The builder picks their locations. It's detailed in the Readme, or in this forum somewhere. Sorry, I don't build MA terrains, so I don't keep up with the details.
Easy in-game again.
Since Tour 19 - 2001

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: couple questions
« Reply #4 on: April 13, 2010, 06:47:13 AM »
dkff49 you don't load the .elv file in photo shop instead you use the exported elevation bitmap, as well as  your gndtype.bmp, and you can make
a really nice looking CBM.


 :salute
midi
« Last Edit: April 13, 2010, 06:56:06 AM by mrmidi »
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: couple questions
« Reply #5 on: April 13, 2010, 07:31:40 AM »
mrmidi  that is a pretty nifty little feature. i assume you use several elevation bmp's and layer them to get the elevation to show on the cbm.

i guess i would need to apply a slightly different shading to each layer to make it show the elevations.
Haxxor has returned!!!!
Dave
        

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10908
Re: couple questions
« Reply #6 on: April 13, 2010, 09:51:12 AM »
Thanks Midi, I forgot about that.
Easy in-game again.
Since Tour 19 - 2001

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: couple questions
« Reply #7 on: April 13, 2010, 12:54:59 PM »
Your welcome Easy...

dkff49 I use a couple different filters with the elevation bit map...emboss, invert the colors and so on with a couple copies of the
elevation, and opacity settings..

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: couple questions
« Reply #8 on: April 13, 2010, 01:11:33 PM »
i see now.

thanks midi
Haxxor has returned!!!!
Dave
        

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: couple questions
« Reply #9 on: April 14, 2010, 10:06:25 AM »
dkff49 you don't load the .elv file in photo shop instead you use the exported elevation bitmap, as well as  your gndtype.bmp, and you can make
a really nice looking CBM.


 :salute
midi

Now I know I am officially being a pain but is it normal for the elevation bitmap and gndtype bitmap to be off center when trying to use those to generate a cbm? Or maybe I just don't understand as well as I originally thought?

I used those to come up with a generic just to try it out and all my bases were off when comparing it to the features on the map. It seems that it shifts things up and to right a little.

I guess if that is normal I will need to just use paint or photshop to shift the pic back to a good position or the other thing i have been playing around with doing is to use the original map and taking the elevation bitmap and using stretch/skew in paint to make the elevation 200% then using photo editing software to lay that on top of the map in the right position. This seemed to work nicely so far but we'll see after I have had a chance to do it with more detail and a wider sample.
Haxxor has returned!!!!
Dave
        

Offline RamPytho

  • Copper Member
  • **
  • Posts: 103
Re: couple questions
« Reply #10 on: April 14, 2010, 10:44:36 AM »
Now I know I am officially being a pain but is it normal for the elevation bitmap and gndtype bitmap to be off center when trying to use those to generate a cbm?

I'm having the issue of my elevation bitmap is off-center to up & right. Can't figure out what I'm doing wrong.
Being ~~The Killuminati~~ bait since tour 109

from the OP post, looks like proper grammar is perked and he's all out of perks.

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: couple questions
« Reply #11 on: April 14, 2010, 01:02:00 PM »
Two things to consider first are the elevation bitmap is size 1024 x 1024, and the ground type bit map is size 4096 x 4096.
Don't know if you already considered that or not but just pointing it out.

A screen shot of what you are looking at helps in figuring out the problem to.

Will try to look into this this evening when I get home.

And no your not being a pain in the but*  :)

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline dkff49

  • Silver Member
  • ****
  • Posts: 1720
Re: couple questions
« Reply #12 on: April 14, 2010, 01:53:33 PM »
I did notice that and tried it a few  different ways.

I left them both their original size
made them both 4096x4096 and both 1024x1024
resizing before mating them together
resizing after mating them together

and none of these methods worked. no matter what i did they came out up and to right of the center.
Haxxor has returned!!!!
Dave
        

Offline ghostdancer

  • Aces High CM Staff
  • Platinum Member
  • ******
  • Posts: 7562
Re: couple questions
« Reply #13 on: April 14, 2010, 04:33:26 PM »
There are several ways to tackle this. If you have photoshop this is how I do things.


GETTING THE SHAPE OF YOUR LAND FOR A CBM
===================================
1) Take the file you used to create waterc.bmp and use the eyedropper to select water black color. Remember for waterbmp black is water and white is land .. you should only have these two color but when you resize from 16384x16384 .

2) The on the tap nav bar in photoshop click on Select.

3) Change the fuziness to 100 then click okay. This should create a mask of your water areas (black colors).

4) Create a new layer and then fill the masked area you created with a color (blue for water .. remember you will have to change your image mode from indexed color to RGB color before you can actually start using colors again).

5) Resize the file you used to create waterc.bmp to 1024x1024.

Now you have a file that has one layer that is your water and the unfilled areas (which other layers will be seen through) as your land.


ELEVATION
========
There are couple affects you can do here.  But for simplicity sake lets just put the elevation in place.

1) Take your elevation map bmp file which is 4096 x 4096 and resize it to 1024 x 1024.

2) Do a select all and then copy it.

3) Go to the file you that you were working on where you created a water layer and just do a paste. This will create a new layer with the elevation image you copied.

When you copy this file it should fit exactly in place since it is 1024 x 1024 and you are placing it into a graphic that is 1024 x 1024.

4) Move the elevation image to be a layer below the water layer. You will see the elevation image only in place which are not filled in on the layer above it (the water layer).


Now you can do all sorts of fun stuff to start creating textures. You can create a layer under the elevation and fill the whole layer green. Then you could take the elevation layer and drop its transparency to say 20% so you can the green through it. You can then dupe the elevation layer (create a new layer with the graphic) drop its transparency and then offset it to give some relief highlights.

But the initial key is to work in 1024x1024 and to setup your water and land area correctly.
X.O. 29th TFT, "We Move Mountains"
CM Terrain Team

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: couple questions
« Reply #14 on: April 14, 2010, 05:55:42 PM »

ELEVATION
========
There are couple affects you can do here.  But for simplicity sake lets just put the elevation in place.

1) Take your elevation map bmp file which is 4096 x 4096 and resize it to 1024 x 1024.

2) Do a select all and then copy it.

3) Go to the file you that you were working on where you created a water layer and just do a paste. This will create a new layer with the elevation image you copied.

When you copy this file it should fit exactly in place since it is 1024 x 1024 and you are placing it into a graphic that is 1024 x 1024.

4) Move the elevation image to be a layer below the water layer. You will see the elevation image only in place which are not filled in on the layer above it (the water layer).


Now you can do all sorts of fun stuff to start creating textures. You can create a layer under the elevation and fill the whole layer green. Then you could take the elevation layer and drop its transparency to say 20% so you can the green through it. You can then dupe the elevation layer (create a new layer with the graphic) drop its transparency and then offset it to give some relief highlights.

But the initial key is to work in 1024x1024 and to setup your water and land area correctly.


Unless something has changed the "Exported" Elevation Bitmap should already be 1024 x 1024, the gndtype.bmp file is 4096 x 4096
at least all mine are...

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!