|
|
#1 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: England
Posts: 5,264
Reputation: 748
|
If you set one of the material indexes invisible (color 0x00FFFFFF) the rest of the object becomes very dark. Could this please be fixed?
|
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2011
Location: The Netherlands
Posts: 724
Reputation: 138
|
This problem didn't occur to me. I used this:
Code:
SetDynamicObjectMaterial(objectid, 1, 0, "none", "none", 0); I'm sure the normal version works pretty much the same. |
|
|
|
|
|
#3 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: England
Posts: 5,264
Reputation: 748
|
Perfect, thanks so much. There's still major problems with the 'color' parameter though. It doesn't work as it should.
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2011
Location: The Netherlands
Posts: 724
Reputation: 138
|
It's just set up weirdly. Normal colors are RGBA, object colors are ARGB. The alpha is before the colors, instead of behind it.
|
|
|
|
|
|
#5 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: England
Posts: 5,264
Reputation: 748
|
I know that.
|
|
|
|
|
|
#6 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2011
Location: The Netherlands
Posts: 724
Reputation: 138
|
Well, I haven't experienced any problems with the material colors yet, so I'm not sure where these problems should be.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial] SetObjectMaterial Help | Drebin | Tutorials | 35 | 08/03/2013 12:13 PM |
| SetObjectMaterial | ikey07 | Bug Reports | 0 | 01/06/2012 02:32 PM |
| SetObjectMaterial help | AMEENAMEEN | Scripting Help | 5 | 05/05/2012 09:50 AM |
| SetObjectMaterial | tony_fitto | Scripting Help | 11 | 22/04/2012 07:53 AM |
| SetObjectMaterial - Possible Bug? | corne | Scripting Help | 2 | 11/04/2012 08:47 PM |