Author Topic: Please Help Meh!!  (Read 2257 times)

Xenom

  • Guest
Please Help Meh!!
« on: July 17, 2011, 07:52:58 pm »
Awe Shucks.. I have a major problem!

Before I post it, I would like to say that, yes I have read posts before this one and they just haven't changed the problem one teeny tiny bit..

Oki Doki, Here's the Problem: Whenever I put in a new mesh in the OM, the material comes up basewhite, now. I have a .jpg image in the My_Objects folder along with the mesh and I will type in (example) littlehouse.jpg (Yes, I name the jpg image the exact name of the mesh) and click add New, and nothing happens! So I go back, and put up the mesh, and enter the material but this time, I push update on the object Im attepmting to change, and Nothing changes.

I really, cannot fix this problem.. I tried reworking everything for 2 hours, and nothing

+++++++++++++++++++

Now there is another problem! And Ogre Error when I attempt to open my FH! (Oh Joy.)

This is what it says when trying to open the FH screen with the Cute little music.

ORGE EXCEPTION(6:FileNotFoundException): Cannot locate resource resources/orge/script/materials/base.material in resource group General or any other group. in ResourceGroupManager::openResource at c:\OgreMain\src\OrgeResourceGroupManager.cpp (line 753)


Yes, I have uninstalled FH, then Re installed it.

Yippee! 2 Major problems! If ANYONE CAN PLEASE HELP ME I  WOULD BE FOREVER GRATEFUL!!! XD
« Last Edit: July 17, 2011, 08:43:31 pm by Xenom »

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #1 on: July 17, 2011, 09:40:09 pm »
Hiya! Thanks for replying, I wasn't able to test the materials tutorial you put up yet, but I tried the Ogre one. I deleted all my custom maps (Eh, I don't use them. lol) and the Ogre exception still came up when I tried to open FH...

Anymore suggestions? Anyone?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Please Help Meh!!
« Reply #2 on: July 17, 2011, 10:12:57 pm »
When you uninstall, you need to delete the entire FH folder. Tried that?

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #3 on: July 17, 2011, 10:39:55 pm »
Thanks Ruby! That fixed my Ogre!! *huggles*

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #4 on: July 17, 2011, 11:04:08 pm »
The material thing isn't working. I copied and did this in Notepad and then, once I saved it and I changed the .txt to
material

material cg_house_B.material (This is THIS file correct? Once I change it to .material it reads this whole coding as the Material)
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture cg_house_BTex.jpg
         }
      }
   }
}

But everything still comes up basewhite once I update...

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Please Help Meh!!
« Reply #5 on: July 18, 2011, 02:36:08 pm »
^
Could be that.
But I have something for you to try.
Try this material code:
Code: [Select]
material CGHouseBMat
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture cg_house_BTex.jpg
}
}
}
}
So once you replace that code, (or make a new material file for it,) load your mesh and then in the second blank, type
CGHouseBMat
and then Update that. If that doesn't work, then it may be what Connie said. ;)

And also, are you saving these as material files, or just notepad files?

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #6 on: July 19, 2011, 06:22:39 pm »
I save them at first, as a .txt file, then, I go and rename the file and remove the .txt and put .material.

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #7 on: July 19, 2011, 06:47:54 pm »
Now, when I redid the coding for the material, (I have it in My_Objects folder, with the .material ending) it says that CGHouseBMat.material cannot be found...

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #8 on: July 19, 2011, 10:14:21 pm »
Bumpity Bump post goes up.
« Last Edit: July 20, 2011, 10:07:37 pm by Xenom »

Xenom

  • Guest
Re: Please Help Meh!!
« Reply #9 on: July 20, 2011, 10:08:40 pm »
Bumpity Bumb. Post goes up. (Again.)