Author Topic: I am getting so tired  (Read 720 times)

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
I am getting so tired
« 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!

Offline Ghastly

  • Silver Member
  • ****
  • Posts: 1756
I am getting so tired
« Reply #1 on: February 22, 2008, 06:47:04 AM »
I wish I could help - but I can't :(  

"Curse your sudden (but inevitable!) betrayal!"
Grue

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
I am getting so tired
« Reply #2 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.

Offline croduh

  • Gold Member
  • *****
  • Posts: 2509
I am getting so tired
« Reply #3 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.

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
I am getting so tired
« Reply #4 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.