Aces High Bulletin Board

General Forums => Terrain Editor => Topic started by: croduh on October 30, 2006, 05:36:55 AM

Title: Stay away from trees
Post by: croduh on October 30, 2006, 05:36:55 AM
It's not safe:D
(http://img144.imageshack.us/img144/7935/thunderqn2.jpg)

Map name is dlake.Don't forget to download the arena.cfg file too for that fog effect.http://croduh.batcave.net/
Title: Stay away from trees
Post by: Denholm on October 30, 2006, 10:29:18 AM
Is the lightning random and strikes instead of staying there doing nothing?
Title: Stay away from trees
Post by: croduh on October 30, 2006, 11:50:52 AM
It is based on maxdist and mindist-  it will show up only for a short period when you are moving.There is also more of them placed around the map.
Title: Stay away from trees
Post by: Denholm on October 30, 2006, 12:23:57 PM
Ahh, very nice, I still don't know how to make an object using only a bitmap, and the editor makes the object's faces for you.
Title: Stay away from trees
Post by: Xjazz on October 31, 2006, 02:04:51 PM
Denholm,

You can tell to the OE/TE/game which color in object texture pallet will be a transparent.

Example
Export from OE the GRASS1 object. Open the 'export' folder and check what did you get this time.

There are three GRASS1 files
- GRASS1.ac
- GRASS1.bmp
- GRASS1_a.txt

Two first are clear but third is new. The text file contains the index number, which tells which 'GRASS1.bmp' texture color should tread as a transparent.

HTC seems to use the pink (R=255, G=0, B=255) for the transparent.
Title: Stay away from trees
Post by: Xjazz on October 31, 2006, 02:10:22 PM
And yes!

Duh,

Very nice effect.
Title: Stay away from trees
Post by: croduh on November 01, 2006, 05:28:07 AM
Actually, i find it more easy to use alpha texture instead of just "pink" .
When i used pink color as transparent in texture i would still get a hit when shooting on transparent part in game, but with alpha texture bullet would just pass trough, which is what you would want, of course.
Title: Stay away from trees
Post by: BlauK on November 01, 2006, 06:12:43 AM
I think the alpha txt and "pink" should work as well, as long as the object includes the "StencilAlpha=1" tag.
Title: Stay away from trees
Post by: Denholm on November 01, 2006, 12:06:20 PM
Thanks for that info guys, so I practically make one huge face, add the bitmap, make my background color the "transparent" color as is defined by the .txt file, then convert it in the OE?