Data Realms Fan Forums
http://forums.datarealms.com/

A problem with materials
http://forums.datarealms.com/viewtopic.php?f=8&t=5708
Page 1 of 2

Author:  aracanid [ Fri Jun 22, 2007 3:52 pm ]
Post subject:  A problem with materials

At the moment im making a scene. Its my first one and ive spend alot of time making it, however.... I keep getting errors about trying to use a material that isnt in use or something along those lines. It comes up as material #183 but when I searched the scenes.ini I couldnt find what was causing it. Any ideas?

Author:  Alenth Eneil [ Fri Jun 22, 2007 3:55 pm ]
Post subject: 

I take it you are trying to use a custom mat.

Author:  aracanid [ Fri Jun 22, 2007 3:56 pm ]
Post subject: 

yes... is that bad?

Author:  Alenth Eneil [ Fri Jun 22, 2007 3:57 pm ]
Post subject: 

Is the material defined prior to being used?

Author:  aracanid [ Fri Jun 22, 2007 3:58 pm ]
Post subject: 

im guessing you mean have I defined it first... I so, I cant find where it defines it because when i search I get no results. As soon as the map loads it crashes with that error

Author:  Alenth Eneil [ Fri Jun 22, 2007 4:01 pm ]
Post subject: 

It helps to actually make a material if you want to use it...

Author:  aracanid [ Fri Jun 22, 2007 4:06 pm ]
Post subject: 

does it matter which number I use?

Author:  Alenth Eneil [ Fri Jun 22, 2007 4:10 pm ]
Post subject: 

Not unless you try to put two mats on teh same index.

I really really have no idea how to confuse a scene into loading a non-existant material...

Author:  aracanid [ Fri Jun 22, 2007 4:12 pm ]
Post subject: 

this happened to my bloodguard mod aswell but I set the index number to 10000 or something and it worked. Maybe I can do the same. But how do I add a custom index number to the mat?

Author:  Alenth Eneil [ Fri Jun 22, 2007 4:13 pm ]
Post subject: 

Do you have any idea what you are doing?

Author:  aracanid [ Fri Jun 22, 2007 4:14 pm ]
Post subject: 

everything works fine apart for that index number... and no. Im very confused by these new material index things... I dont understand em at all

Author:  Alenth Eneil [ Fri Jun 22, 2007 4:15 pm ]
Post subject: 

It's not exactly difficult, Data posted it himself, a number between 0 and 255 that is not already in use.

Author:  aracanid [ Fri Jun 22, 2007 4:21 pm ]
Post subject: 

right, where abouts do I put this in the scenes code?

Code:
AddMaterial = Material
   Index = 4
   InstanceName = BunkerConcrete
   Bounce = 0.6
   Friction = 0.9
   StructuralIntegrity = 100
   DensityKGPerVolumeL = 2.3
   GibImpulseLimitPerVolumeL = 20
   GibWoundLimitPerVolumeL = 0.2
   Priority = 6
   Color = Color
      R = 165
      G = 165
      B = 165

Author:  Alenth Eneil [ Fri Jun 22, 2007 4:29 pm ]
Post subject: 

1.) That index is taken.

2.) That color is taken.

3.) Before you try to load it into anything...

Author:  aracanid [ Fri Jun 22, 2007 4:31 pm ]
Post subject: 

It has to have diff color aswell?! And index 4 is undefined. According to Data

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/