Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Lite-C or C script? #264743
05/07/09 21:25
05/07/09 21:25
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Okay Im not actually that new, I've been using 3dgs for over a year but I suddenly ran across this problem, which is that I have no idea what the difference is between lite-c and c script, and, to make matters worse, I don't even know which I'm using! This is a pathetic situation so it deserves to be in the newcomer section. Someone put out my misery and clarify their differences. Thank ye!

EDIT: Is lite-C more powerful and is it hard to unlearn c-script and learn lite-C?

Last edited by sydan; 05/08/09 07:58.

For some reason, my ambition always seems to beat my ability.
Re: Lite-C or C script? [Re: sydan] #264755
05/07/09 23:22
05/07/09 23:22
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

Well if your script starts with

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

your in Lite-C

Ottawa smile

Re: Lite-C or C script? [Re: Ottawa] #264770
05/08/09 03:44
05/08/09 03:44
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
u better stick to lite-c if u r new. Since thats the way further. The latest engine uses lite-c.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook
Re: Lite-C or C script? [Re: delinkx] #264792
05/08/09 07:58
05/08/09 07:58
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Well the thing is ive been using what I thought was c-script for about a year now but I got A7 and find it's mostly based upon lite-c. How long will it take to learn lite-c? Is it more powerful? NO my scipts don't start with
#include <acknex.h>
#include <default.c>
so then it must be c-script still.


For some reason, my ambition always seems to beat my ability.
Re: Lite-C or C script? [Re: sydan] #264794
05/08/09 08:07
05/08/09 08:07
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
its every easy to learn and easier if u already doing scripting with any language (e.g. c-script).

it has more functions. u can go through the lite-c workshops to have a look at it.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook
Re: Lite-C or C script? [Re: delinkx] #264946
05/08/09 23:25
05/08/09 23:25
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

Also, Lite-C files have the extention .c and
C scritp have .wdl

The transfer is worth it. It may take some time to
transfer every thing but it's worth while.

Ottawa smile

Re: Lite-C or C script? [Re: Ottawa] #265204
05/11/09 07:56
05/11/09 07:56
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
When I save my files they are wdl's but I am writing from the 3d gamestudio help file which tells me I am using lite-c, or atleast so I thought. This system confuses me. I can write lite-c script and save it as a wdl but it still works. Im not new to coding but this whole c-script/lite-c thing is really confusing me.


For some reason, my ambition always seems to beat my ability.
Re: Lite-C or C script? [Re: sydan] #265206
05/11/09 08:00
05/11/09 08:00
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
What I don't get is the conversion. The code:

ent_create("mdl",vector,action)

what would that look like in lite-c. Surely its the same? So whats the difference.

I know you use

set(flag1,flag2..)

for flags in lite-c and

my.flag1 = on

in c-scrpit, but what about everything else? What can you do in lite-c that you can't in c-script?


For some reason, my ambition always seems to beat my ability.
Re: Lite-C or C script? [Re: sydan] #265314
05/11/09 23:01
05/11/09 23:01
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

Your information is correct smile

Lite-C in the new thing in town smile

Things will move according to this language now.

So if your starting ...go the Lite-C route.

Ottawa

Re: Lite-C or C script? [Re: Ottawa] #265370
05/12/09 11:20
05/12/09 11:20
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
When you save it in WDL, its C-Script. Lite-C files must be saved in .c or they wont work.

The difference between lite-C and C-Script is listed in a long list in the manual, under "Game Programming", and in detail under "C-Script to lite-C", so just read it, theres no need to repeat it here.

Page 1 of 2 1 2

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