|
Trouble opening levels
#319549
04/15/10 19:29
04/15/10 19:29
|
Joined: Mar 2010
Posts: 56 Hertfordshire, England
Panda_Dude
OP
Junior Member
|
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? 
|
|
|
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
OP
Junior Member
|
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: Pappenheimer]
#319570
04/15/10 20:41
04/15/10 20:41
|
Joined: Mar 2010
Posts: 56 Hertfordshire, England
Panda_Dude
OP
Junior Member
|
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. 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: Widi]
#319612
04/16/10 07:22
04/16/10 07:22
|
Joined: Mar 2010
Posts: 56 Hertfordshire, England
Panda_Dude
OP
Junior Member
|
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
ENTITY* plane = "mig.mdl";
and then added the action to it with inside the action. Is that the right way of doing it?
|
|
|
|