Author Topic: _a.txt file question...  (Read 493 times)

Offline TexMurphy

  • Silver Member
  • ****
  • Posts: 1488
_a.txt file question...
« on: February 07, 2005, 12:23:35 PM »
What does the value in it represent?

Tex

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12398
      • http://www.hitechcreations.com
_a.txt file question...
« Reply #1 on: February 07, 2005, 12:26:43 PM »
Pallet index i.e. 0 - 255 number, that pallet entry will be considered transparent.

HiTech

Offline TexMurphy

  • Silver Member
  • ****
  • Posts: 1488
_a.txt file question...
« Reply #2 on: February 07, 2005, 12:45:40 PM »
Thanks.

Another question on transparency and on rendering.

In the object editor the transparency is renderd so that the terrain tile is shown through the transparency not the object behind it. Meaning, if there is another surface (of the same object) and/or another object behind the transparent surface its not shown.

Is this due to the OE having a simplified rendere or is this something that is the case in game as well?

Tex

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12398
      • http://www.hitechcreations.com
_a.txt file question...
« Reply #3 on: February 07, 2005, 01:17:14 PM »
Set the
StencilAlpha=1
flag on the objects with transparency. This stops Z writes when transparent which is causing the your problem.

HiTech

Offline TexMurphy

  • Silver Member
  • ****
  • Posts: 1488
_a.txt file question...
« Reply #4 on: February 07, 2005, 02:23:37 PM »
where do I set this?

Tex

Offline TexMurphy

  • Silver Member
  • ****
  • Posts: 1488
_a.txt file question...
« Reply #5 on: February 07, 2005, 04:27:57 PM »
Ok got it set...

here is from the .ac file

OBJECT poly
name "Bleaf17"
StencilAlpha=1
texture  "aut_oran.bmp"
crease 45.000000
numvert 10
-12.8641 24.1044 3.7533
1.99693 24.1044 -10.1049
-12.1022 15.6743 1.50902
2.7589 15.6743 -12.3492
-11.4783 10.0409 1.85872
3.38273 10.0409 -11.9995
-9.5776 5.24125 3.89704
5.2835 5.24125 -9.96118
-7.6796 0.397949 5.93242
7.1815 0.397949 -7.92583
numsurf 8

Still doesnt help at all.......

Tex

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12398
      • http://www.hitechcreations.com
_a.txt file question...
« Reply #6 on: February 07, 2005, 05:02:42 PM »
It dosn't go in the AC file directly.

It is put under the object Properties in tools menu of ac3d.


HiTech