1 registered members (TipmyPip),
18,449
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Level will not run after compiling
#224906
09/01/08 21:14
09/01/08 21:14
|
Joined: Sep 2008
Posts: 11
Leon_Kennedy
OP
Newbie
|
OP
Newbie
Joined: Sep 2008
Posts: 11
|
Good afternoon all! I apologize in advance if this question has already been asked and answered.
I am new to GameStudio, as well as creating games. I have GameStudio Pro 7.05/WED v6.8291. I am working through the tutorial that is posted on the web, and I get to the part about compiling and running the level (well, the house, but go with me on this). So I compile the level just fine, and then I attempt to run it. When I click the "run" button, I get a screen with the following information in it:
first.wmb -nx 30
First is the name of the project, and I understand the nexus switch with 30 mb. So I click ok, and watch it.... not run. What? When I attempt to run the level, it looks as if the engine is going to produce a window with my level in it, but the window closes almost immediately.
Looking at the tutorial, it says that some people may have problems, and to set the Video Out to GXLBASE.DLL. I tried that, and I get the same thing - it appears that it will run, but the window closes immediately.
Here is what I have tried so far:
Running without the nexus switch Changing the video out to EVERY option available Adding a light source (even though the tutorial doesn't state to add one)
Can someone help me here? I love the ease of WED, and am a C programmer by trade (meaning that Lite-C should be a breeze for me when I get that far). I can't wait to get some of these ideas out of my head, but I can't get past this part. Does anyone have any ideas as to why I cannot get the level to run?
|
|
|
Re: Level will not run after compiling
[Re: Leon_Kennedy]
#224931
09/02/08 00:59
09/02/08 00:59
|
Joined: Jul 2008
Posts: 43
Angelus1818
Newbie
|
Newbie
Joined: Jul 2008
Posts: 43
|
I'm having the exact same problem! I even posted it here! (Not flaming you for posting to) Anyway I belive i know the answer!!!
You need to assighn a script to it from SED. I don't know what or how but thats the prob. Ask jpextreme on the forums here. He's actually going to write a PDF for me on how to do this...i think I would hold out for that, unless someone knows whats going on here, i'm shooting in the dark.
Good luck to you and if someone knows a fix please share!!!!!
:shock:
You have the forbidden copy of Gamesudio!!!!
Did..you..pay for it? sorry 7.05 was the beta version on the P2P network, that could very much be your problem as well as it's very buggy!!!! If you did pay email Conitech and ask for a real copy, they'll be glad to help if your legit. However i do not recommend talking to them if you got through a Torrent!!!!
Sorry to be so forward here....I'm really sorry to acuse of that it's just suspicious when someone has a 7.05 edition is all. My apologize in advance.
Last edited by Angelus1818; 09/02/08 01:07.
|
|
|
Re: Level will not run after compiling
[Re: Leon_Kennedy]
#225106
09/02/08 20:17
09/02/08 20:17
|
Joined: Sep 2007
Posts: 761 Hrvatska (Croatia ), Slavonski...
cro_games
User
|
User
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
|
Np man.. Now I just have to keep SED and WED open at the same time. You can add script file to the WED, go to: File->Map Properties I have one more question on this topic. When I run the level in SED using the provided script, I cannot move around in the level. I know that I have to set a movement script to the level, but the tutorial doesn't talk about that. In fact, the tutorial states that you should be able to move around and look at everything.
How would I set a movement script to the level in WED so that I can actually move around in there? Add this code in "function main()": def_moveset(); // default camera movement
Last edited by cro_games; 09/02/08 20:20.
|
|
|
Re: Level will not run after compiling
[Re: Leon_Kennedy]
#225220
09/03/08 11:38
09/03/08 11:38
|
Joined: Sep 2008
Posts: 11
Leon_Kennedy
OP
Newbie
|
OP
Newbie
Joined: Sep 2008
Posts: 11
|
Wow, am I a noob on this. And I am smarter than this - I should have been able to figure that out on my own. Thanks for the advice. I did what you said, and now things work fantastically.
Still have one question, though. When I have first.c (or is it first.wdl?) assigned as the script, I have no movement in WED. However, if I load the script first.c (or is it first.wdl?) in SED and run, I have movement. Why is this? Why would I be able to move in SED but not WED?
EDIT: Thought of another question. Once I am all done with the tutorials and start working on my own games, I am going to modify game.c to state "game_name" instead of "first". So I can then use that script in WED, which is no big deal. But, when I am all done, do I need to change the script over to game_name.c before distribution?
Last edited by Leon_Kennedy; 09/03/08 11:39.
|
|
|
Re: Level will not run after compiling
[Re: Leon_Kennedy]
#225235
09/03/08 13:50
09/03/08 13:50
|
Joined: Jul 2008
Posts: 43
Angelus1818
Newbie
|
Newbie
Joined: Jul 2008
Posts: 43
|
Hello, First off Leon_Kennedy I am so sorry that I accused you of piracy, that was wrong of me. I apologize for it. Also are you on the Silent Walk forums? Or is it just someone with the same username. Someone with your user name just registered there. Thats a fun site, great people, like this one. Well I hope you can forgive me  cro_games, I am having some trouble still making my levels run. I made the script file with the code you provided (with movement code) but in wed it says it fails to load game.c! I assigned it to to WED through the Map Properties so I have no idea whats wrong. All I can think of is that I pasted the movment code inside the () part of the function.main code. Does it go in there the () part or at the very end beside it? This is what my code looks like now: #include <acknex.h> #include <default.c> function main(def_moveset(); // default camera movement) { level_load("first.wmb"); wait(3); } Notice the line "def_moveset(); // default camera movement" is nestled inside function main's () is this what it should look like? #include <acknex.h> #include <default.c> function main()def_moveset(); // default camera movement { level_load("first.wmb"); wait(3); } Now notice it's beside it. Which way is correct? Or is either of them correct? Sorry i'm such a n00b here. Thanks for your help in advance. And LeonK, I'm sorry I don't know the answers to your questions 
|
|
|
|