Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FX problem #471914
03/25/18 17:28
03/25/18 17:28
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hello fellow game constructers,
I have made a hollows box, put a player in it with a tree model – works fine.
I want to animate the tree, so added ‘mtlFX’ in the ‘includes’(as instructed in the manual)

////////////////////////////////////////////////////////////////////////
// Template main script:
// Created by WED.
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// entry: Start Level
// entry_help: Name of the level loaded at start
char* t_levelname = "t1.wmb";

////////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
#include "startup.h"
#include "t_player.h"

#include "mtlFX.c"

/////////////////////////////////////////////////////////////////
// The main() function is started at game start
function main()
{
// entry: Warning Verbosity (0,1,2,3,4)
// entry_help: Sets sensitivity of warnings (0 = none, 1 = some, 4 = all).
warn_level = 2;

#ifndef startup_h
// load the level
level_load(t_levelname);
#endif
}

When I try to run it, I get error message ‘included mtlFX file not found’, although the file is in line 17. The ‘behavior’ panel shows up, and I can select an action, but it will not work when I rebuild and run the scene.
What am I doing wrong?
Kind regards, David

Re: FX problem [Re: DAVIDMORETON] #471915
03/25/18 19:06
03/25/18 19:06
Joined: Aug 2003
Posts: 118
Deutschland
E
Ezzett Offline
Member
Ezzett  Offline
Member
E

Joined: Aug 2003
Posts: 118
Deutschland
Did you try using angular brackets #include <mtlFX.c>?

Re: FX problem [Re: Ezzett] #471917
03/26/18 07:47
03/26/18 07:47
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Thanks Ezzett,
In the past I have tried <> ,"", and nothing !! - it still wouldn't work, BUT when I changed it again just now - it did !!
Maybe it's something to do with this being the 'trial' version?
Anyway, thanks for you help.
Kind regards, David.

Re: FX problem [Re: DAVIDMORETON] #471918
03/26/18 11:02
03/26/18 11:02
Joined: Aug 2003
Posts: 118
Deutschland
E
Ezzett Offline
Member
Ezzett  Offline
Member
E

Joined: Aug 2003
Posts: 118
Deutschland
I don't think it has something to do with the trail version.

Sometimes problems happen. If I encounter strange behavior while I am programming and if I can't solve this problem I just shutdown my computer. After restarting everything works fine again.

Maybe this solved your problem, too.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1