|
4 registered members (clint000, TipmyPip, VoroneTZ, 1 invisible),
4,727
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
my.material stopped working after latest Gamestudio update8.10.3
#442853
07/04/14 23:24
07/04/14 23:24
|
Joined: Jun 2014
Posts: 97 Lagos, Nigeria
tolu619
OP
Junior Member
|
OP
Junior Member
Joined: Jun 2014
Posts: 97
Lagos, Nigeria
|
my.material = mtl_toon;
mtl_setup(200,20,50,50);
I had these lines of code within some of the actions run by some of my entities in my game. After I updated my gamestudio to version 8.10.3, I had to comment out all such lines because while the game still runs, the moment it tries to create any entity that has any material assignment within its code, I get an Error E1520 that says "Structs inconsistent - MATERIAL". The "mtlFX.c" file in my include folder has the following properties: Date modified: 12/22/2013 4:29pm Size: 26.8kb I have not tampered with this file in any way at all. Is there something I'm doing wrong?
|
|
|
Re: my.material stopped working after latest Gamestudio update8.10.3
[Re: tolu619]
#442854
07/04/14 23:54
07/04/14 23:54
|
Joined: Jul 2004
Posts: 785 Serbia
Iglarion
User
|
User
Joined: Jul 2004
Posts: 785
Serbia
|
I remember there exists some changes after version 8.10. For example, mat_model was used in earlier versions, but for newer version you must rename in mtl_model.
|
|
|
Re: my.material stopped working after latest Gamestudio update8.10.3
[Re: tolu619]
#442856
07/05/14 00:03
07/05/14 00:03
|
Joined: Jul 2004
Posts: 785 Serbia
Iglarion
User
|
User
Joined: Jul 2004
Posts: 785
Serbia
|
The "mtlFX.c" file in my include folder has the following properties This is C-Script/Wdl section, did you are trying mix C-Script with lite-C?
|
|
|
Re: my.material stopped working after latest Gamestudio update8.10.3
[Re: Iglarion]
#442857
07/05/14 00:21
07/05/14 00:21
|
Joined: Jun 2014
Posts: 97 Lagos, Nigeria
tolu619
OP
Junior Member
|
OP
Junior Member
Joined: Jun 2014
Posts: 97
Lagos, Nigeria
|
The "mtlFX.c" file in my include folder has the following properties This is C-Script/Wdl section, did you are trying mix C-Script with lite-C? No, I created a new topic and posted without checking/changing any of the defaults apart from selecting the "Add this thread to my Watched Topics." checkbox. It must have been automatically added to the C-Script section. How can I change that?
|
|
|
|