Author Topic: Custom objects  (Read 390 times)

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom objects
« on: June 30, 2005, 04:15:25 PM »
Hi

okey, I finally get it right...

Its enough to convert AC3D files in OE and then JUST copy those files from userlib-folder to certain terrain texsrc-folder.

I build a small testing air-race map with new objects

picture

Lot of work to do still with shapes and textures

BTW How to set transparent for objects?

Offline gatso

  • Silver Member
  • ****
  • Posts: 1279
Custom objects
« Reply #1 on: June 30, 2005, 05:03:49 PM »
There are three ways of making things transparent.

Set the properties directly in AC3D if the whole object is transparent. (why you'd want to do this I don't know)

or.

Alpha layers which allow you to set 256 levels of transparency from none to completely see through.  Make the image the same size as your original texture with the same name but with _a inserted. 256 colour greyscale.

Using truck.bmp as an example the alpha file would be called truck_a.bmp White will show the texture through completely, black will be completely transparent.

Or use the index system that HTC uses.  The first colour in your palette of colours should be magenta R255 G1 B255.  A .txt file then tells the program which colour on the texture is transparent.  again using truck.bmp the txt file would just have the number 1 in it and would be called truck_a.txt

I've found alphas to be the most flexible. This is a lapsed project that I haven't looked at for a couple of months all done on a single 256x256 texture and a 256x256 alpha texture.






Gatso

Offline SkyChimp

  • Parolee
  • Gold Member
  • *****
  • Posts: 2214
Custom objects
« Reply #2 on: June 30, 2005, 08:43:30 PM »
Quote
Originally posted by gatso
There are three ways of making things transparent.

Set the properties directly in AC3D if the whole object is transparent. (why you'd want to do this I don't know)

or.

Alpha layers which allow you to set 256 levels of transparency from none to completely see through.  Make the image the same size as your original texture with the same name but with _a inserted. 256 colour greyscale.

Using truck.bmp as an example the alpha file would be called truck_a.bmp White will show the texture through completely, black will be completely transparent.

Or use the index system that HTC uses.  The first colour in your palette of colours should be magenta R255 G1 B255.  A .txt file then tells the program which colour on the texture is transparent.  again using truck.bmp the txt file would just have the number 1 in it and would be called truck_a.txt

I've found alphas to be the most flexible. This is a lapsed project that I haven't looked at for a couple of months all done on a single 256x256 texture and a 256x256 alpha texture.






Gatso
:eek: Nice work

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Custom objects
« Reply #3 on: July 01, 2005, 03:15:31 AM »
Many thanks Gatso!

Could you give more detail info about this one?
“Set the properties directly in AC3D if the whole object is transparent. (why you'd want to do this I don't know)”

I like to try invisible and Can Collide object as ceiling above racetrack i.e. “hard Sky”.

BTW Very nice Eifel-tower :eek: