Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
A good project set-up? #160159
10/10/07 12:59
10/10/07 12:59
Joined: Oct 2007
Posts: 5
W
wicked_mind Offline OP
Newbie
wicked_mind  Offline OP
Newbie
W

Joined: Oct 2007
Posts: 5
hey everyone,

I recently downloaded A7 Gamestudio and the c-lite workshop, but to me it seems as if the workshops were written for a whole different 'thing', which is the reason I am in your forum posting my thread.

At this moment I have downloaded the trail-version, and since I have about 30 days to find out whether I like this engine or not I decided to start a little game-project with a couple of friends... The "problem" is that I am the only one of my group who has any expierence in programming(C++), so I will probably do most of the coding and they will be working on the models.

How to keep this as structured as possible? When I open the project-manager in the WED it starts to create *.wdl files and such, however you never see those in the workshops (which only uses *.c files).

Could some of the more-expierenced people post some advice here regarding project-management, or perhaps make up a quick-guide (if that's not asking too much)?

Stuff so far:
*use the .h files for declarations, function "prototypes", etc
*use the .c files for the actual code
*use .wdl files for what?
*create entity's in the map(and give them behavior) or do everything in code?


Thanks for reading and I hope to get a reply soon =)


Wicked Mind

Re: A good project set-up? [Re: wicked_mind] #160160
10/10/07 13:09
10/10/07 13:09
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
The wdl files are c-script, you just have to make sure not to generate a new file in WED, but assign your own .c file (or just test it from the code). To keep it structured you will have to place most of the entity's in WED, but new enemy's during runtime should be spawned using ent_create.

Hope it helps


BASIC programmers never die, they GOSUB and don't RETURN.
Re: A good project set-up? [Re: bstudio] #160161
10/10/07 23:20
10/10/07 23:20
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

When you are in SED and you save your file a .wdl is added.
but if you write "title.c" the .wdl will not be added because you
have specified that you want a .c file .

Hope this helps.

Michel in Ottawa

Re: A good project set-up? [Re: Ottawa] #160162
10/11/07 08:09
10/11/07 08:09
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
You can add a lite-C setup to the project manager. Create a file "A7_lite_C_project.c" with a simple default content, like this:

Code:

///////////////////////////////
#include <acknex.h>
#include <default.c>

///////////////////////////////

function main()
{
level_load("%NAME%.WMB");
wait(2);
printf("Press [0] to move the camera!");
}



and copy that file into your template_6 folder. Now the next time you create a script for your level in "Map Properties", you'll have a new option "A7_lite_C_project".

There are no lite-C templates yet. However they'll soon go into beta test.

Re: A good project set-up? [Re: jcl] #160163
10/11/07 08:26
10/11/07 08:26
Joined: Oct 2007
Posts: 5
W
wicked_mind Offline OP
Newbie
wicked_mind  Offline OP
Newbie
W

Joined: Oct 2007
Posts: 5
Thanks for all the helpfull reply's =)

however, it still generates a *.wdl file when I make a new lite-c template

Last edited by wicked_mind; 10/11/07 08:40.
Re: A good project set-up? [Re: wicked_mind] #160164
10/11/07 08:53
10/11/07 08:53
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Your file must be named "A7_lite_C_project.c" and not "A7_lite_C_project.wdl". Then it will create a .c file for your script.

Re: A good project set-up? [Re: jcl] #160165
10/11/07 15:21
10/11/07 15:21
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi Jcl!

Thanks for the info. I will use it.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: A good project set-up? [Re: jcl] #160166
10/11/07 18:00
10/11/07 18:00
Joined: Oct 2007
Posts: 5
W
wicked_mind Offline OP
Newbie
wicked_mind  Offline OP
Newbie
W

Joined: Oct 2007
Posts: 5
Quote:

Your file must be named "A7_lite_C_project.c" and not "A7_lite_C_project.wdl". Then it will create a .c file for your script.




I did gave it a *.c extension, yet it creates a *.wdl...

But perhaps I did something wrong:
*Made the "A7_lite_C_project.c" file and putted in the template_6 folder
*opened the WED, and created a new map
*saved the map as game.wmp in my project's folder
*File->project manager
*...and it magicly creates a game.wdl file

This is quite annoying, since when I rename the wdl it will give a pop-up on start, I can't include .c files in a .wdl, and as far as I have seen so far you can't give your models any behavior without having the project-manager set up right...

Re: A good project set-up? [Re: wicked_mind] #160167
10/11/07 18:42
10/11/07 18:42
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
well, it works here

Re: A good project set-up? [Re: ello] #160168
10/11/07 21:23
10/11/07 21:23
Joined: Oct 2007
Posts: 5
W
wicked_mind Offline OP
Newbie
wicked_mind  Offline OP
Newbie
W

Joined: Oct 2007
Posts: 5
Strange....Could I perhaps ask somebody to upload an empty lite-c project/map file which takes a *.c file as its "main script file".

Page 1 of 2 1 2

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