Aces High Bulletin Board

General Forums => Terrain Editor => Topic started by: croduh on February 22, 2008, 03:42:23 AM

Title: I am getting so tired
Post by: croduh on February 22, 2008, 03:42:23 AM
Of all the bugs that don't show in TE and show in game.

Please help me if you know.
So, coast tiles.I set them all to certain material, but some objects in game show completely black.They show up in te and oe just fine.i double checked all the objects, built them over and over and still have the same problem:cry

Please help me!
Title: I am getting so tired
Post by: Ghastly on February 22, 2008, 06:47:04 AM
I wish I could help - but I can't :(  

Title: I am getting so tired
Post by: Xjazz on February 22, 2008, 01:50:46 PM
Hi

I had back then a weird problems with AC3D and AH materials. They seem to some how corrupt sometimes.

Did you check the .ac file material assignments with text editor?  There should be a 'mat ' with number per object face:


(snip)
numsurf 28
SURF 0x30
mat 19
refs 4
0 0.010041 -0.089157
1 1.384997 -0.091469
2 1.372921 0.266267
3 0.020636 -0.014646
SURF 0x30
mat 19
refs 3
4 -0.175042 -0.393024
5 0.000000 -0.000000
6 -0.438140 -0.000000
(snip)


Check out the AH material predefinition list (256 lines) is at the beginning of the .ac file, between the 'AC3Db' and 'OBJECT world' lines.  

Also you could send a sample file to me. Check your PM.
Title: I am getting so tired
Post by: croduh on February 22, 2008, 03:44:53 PM
Actually, that's how i add the materials to the objects.I replace all "mat x" (where x is a mat number) with "mat 0" using wordpad or notepad and just add the material as a second line in file.

I don't know, it seems totally random, as i did the same procedure over and over with every object.
Title: I am getting so tired
Post by: Xjazz on February 22, 2008, 04:29:12 PM
ok

Then I can't help with problem :(

Instead of the Notepad or Wordpad, get the NotePad++. It is VERY POWERFUL freeware text editor, that I have been using a years as a default WinXP text editor.

http://notepad-plus.sourceforge.net/uk/site.htm

I have my own .ac definition in NotePad++, which helps a lot .ac file checking/editing with folding options.