Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, OptimusPrime, AndrewAMD), 14,882 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Trouble opening levels #319549
04/15/10 19:29
04/15/10 19:29
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
I don't know why, but for some reason, when I go to run my program it won't open the level. 2 messages appear. They both say
"TEST.WMB: Can't open file"
One is "Malfunction W1301" and the other is "Error E1100".
How can I solve this problem? confused

Re: Trouble opening levels [Re: Panda_Dude] #319558
04/15/10 20:09
04/15/10 20:09
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Did you build a test.wmb from the test.wmp?
Is this file in the same folder as the script?
Is it build with the same engine version?
Did you try it with a different wmb as well?
...

Re: Trouble opening levels [Re: Pappenheimer] #319566
04/15/10 20:26
04/15/10 20:26
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
I am still doing the tutorials. What I did was I copied a .wmb file from one of the sample folders and modified it as a test, hence the name "test.wmb". So it is not built from a wmp file, I don't think (not my modified version).
It does work with other .wmb files and yes to the other two questions.

Last edited by Panda_Dude; 04/15/10 20:26. Reason: lack of clarity
Re: Trouble opening levels [Re: Panda_Dude] #319567
04/15/10 20:29
04/15/10 20:29
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
You can't modify a wmb on its own, you can only change a wmp in WED, and build the wmb from that anew. (Hm, not sure, whether this is explained properly.)

Re: Trouble opening levels [Re: Pappenheimer] #319568
04/15/10 20:30
04/15/10 20:30
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
ok. But once I build the wmp, where does the wmb go?

Re: Trouble opening levels [Re: Panda_Dude] #319569
04/15/10 20:32
04/15/10 20:32
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
You mean, in which folder?

Re: Trouble opening levels [Re: Pappenheimer] #319570
04/15/10 20:41
04/15/10 20:41
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
don't worry about that, I've sorted it out. Thanks. But there's another problem to do with moving an entity. It won't move when I press the keys I have set. Here's the code.
Quote:
action move_plane ()
{
plane = me;
my.ambient = 100;
while (1)
{
if (key_a)
my.pan += 3*time_step;
if (key_d)
my.pan -= 3*time_step;
if (key_w)
c_move (me,vector(0,15*time_step,0), nullvector, GLIDE);
wait (1);
if (key_s)
c_move (me, vector(0,-15*time_step,0), nullvector,GLIDE);
wait (1);
}
}


Re: Trouble opening levels [Re: Panda_Dude] #319572
04/15/10 20:55
04/15/10 20:55
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Do you add this action to the Entity at WED?

Re: Trouble opening levels [Re: Widi] #319612
04/16/10 07:22
04/16/10 07:22
Joined: Mar 2010
Posts: 56
Hertfordshire, England
Panda_Dude Offline OP
Junior Member
Panda_Dude  Offline OP
Junior Member

Joined: Mar 2010
Posts: 56
Hertfordshire, England
no. I'm trying to add this action to the entity using script. I've defined the entity with
Code:
ENTITY* plane = "mig.mdl";


and then added the action to it with
Code:
plane = me;

inside the action. Is that the right way of doing it?

Re: Trouble opening levels [Re: Panda_Dude] #319639
04/16/10 10:40
04/16/10 10:40
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
ENTITY* plane;
function my_action()
{
...
}
plane = ent_create(....,my_action);

Page 1 of 2 1 2

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

Gamestudio download | 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