View unanswered posts | View active topics It is currently Thu Dec 26, 2024 8:45 am



Reply to topic  [ 25 posts ]  Go to page 1, 2  Next
 A problem with materials 
Author Message
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 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?


Fri Jun 22, 2007 3:52 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
I take it you are trying to use a custom mat.


Fri Jun 22, 2007 3:55 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
yes... is that bad?


Fri Jun 22, 2007 3:56 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
Is the material defined prior to being used?


Fri Jun 22, 2007 3:57 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
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


Fri Jun 22, 2007 3:58 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
It helps to actually make a material if you want to use it...


Fri Jun 22, 2007 4:01 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
does it matter which number I use?


Fri Jun 22, 2007 4:06 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
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...


Fri Jun 22, 2007 4:10 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
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?


Fri Jun 22, 2007 4:12 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
Do you have any idea what you are doing?


Fri Jun 22, 2007 4:13 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
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


Fri Jun 22, 2007 4:14 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
It's not exactly difficult, Data posted it himself, a number between 0 and 255 that is not already in use.


Fri Jun 22, 2007 4:15 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
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


Fri Jun 22, 2007 4:21 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 
1.) That index is taken.

2.) That color is taken.

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


Fri Jun 22, 2007 4:29 pm
Profile
User avatar

Joined: Fri Apr 06, 2007 12:27 pm
Posts: 181
Location: Ireland du nord
Reply with quote
Post 
It has to have diff color aswell?! And index 4 is undefined. According to Data


Fri Jun 22, 2007 4:31 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.576s | 16 Queries | GZIP : Off ]