Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,187 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
lite_c, help please #296026
10/29/09 09:26
10/29/09 09:26
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Folks,
Maybe I'm getting too old, or just plain thick!

I have A7.8 com. and script in C_script. Just about everyone says "use Lite_C, it's much better", so I downloaded it and had a go. Been through the workshop but when I tried to build a scene I hit trouble.

Made a room, added a player, called scene 'lc_test' and saved it. But when I looked for player action could only find 'fx' actions.

I then added the normal 'actions' I use in C-script but the program won't run. Added the '#' sign to the 'includes', but still no luck.
How do I get the player action to work please?
The workshop does not mention 'player action', so no help there. Would be very greatful and pleased if someone could put me right.

yours hoprfully, David

Re: lite_c, help please [Re: DAVIDMORETON] #296349
10/31/09 05:54
10/31/09 05:54
Joined: Mar 2006
Posts: 59
O
ozziedave Offline
Junior Member
ozziedave  Offline
Junior Member
O

Joined: Mar 2006
Posts: 59
Hi David,

I know this is no help with your problem, but for a small cost this AddOn
will save you a lot of heartache http://www.intense-i.com/

It sets everything up for you with just a few mouse clicks.

I never liked programming in any of the scripting provided, but I have managed to get three Level's, all looking quit good, but this Addon is only good if you
are making an FPS Game.

Re: lite_c, help please [Re: ozziedave] #296357
10/31/09 07:57
10/31/09 07:57
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
When you are using the A6 templates, its C-Script. A6 had no lite-C. You can not mix both so you must stay with C-Script then.

For learning lite-C check out the tutorial. Only renaming your script to .c and adding a '#' here and there is not enough, there is a conversion help in the manual:

http://manual.3dgamestudio.net/litec_migration.htm

Re: lite_c, help please [Re: ozziedave] #296359
10/31/09 09:13
10/31/09 09:13
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Ozziedave, like the name!!,

Many thanks for suggestion re intence X, looks interesting, will give it a try, David.

Re: lite_c, help please [Re: Spirit] #296360
10/31/09 09:17
10/31/09 09:17
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Spirit,
Thanks for your reply re lite_c. I have gone through the tut. on lite_c, but can't find any data on how to put a player into the scene and have it move about.
How do you 'call up' a player and give it behaviour?
Hopefully, David

Re: lite_c, help please [Re: DAVIDMORETON] #296361
10/31/09 09:34
10/31/09 09:34
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Its described under "c_move" with an example of a player action.

Re: lite_c, help please [Re: Spirit] #296365
10/31/09 11:51
10/31/09 11:51
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Thanks Spirit,
That was the data I was looking for, sorry to be so thick. I know where I am in c_script and have ten levels up and running, but eveyone says Lite_c is better, so I'll have to change the coding - ug!
Do you consider Lite_c better than c_script? I would like to know from someone who is well versed in scripting.

I mistakingly thought there would be 'standard' actions one could apply in Lite-c, wonder why this is not so?

Thanks again, David.

Last edited by DAVIDMORETON; 10/31/09 11:53.
Re: lite_c, help please [Re: DAVIDMORETON] #296368
10/31/09 12:16
10/31/09 12:16
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
The reason why all people say that lite-C is better is that it does not contain all the restrictions of C-Script, like only 4 parameters per function and so on. So its easier for beginners. Also, I found that it runs almost 3 times faster than C-Script.

The other difference is that lite-C is a "real" programming language and you have access to all Windows API functions, and can also compile it with a real C compiler. So you can program just anything with it, not only games.

The disadvantage is that there are no templates in lite-C but as I heard George is working on them, he is publishing them in AUM, the last issues contained templates for car games.

Re: lite_c, help please [Re: Spirit] #296376
10/31/09 13:25
10/31/09 13:25
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Spirit,
Thanks for your reply - that's cleared up a few things!
Am looking forward to the 'Actions' when they appear!!

-in the mean time, I'll just have to write my own (gulp - gulp)

David.

Re: lite_c, help please [Re: Spirit] #296640
11/02/09 08:14
11/02/09 08:14
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Hi Spirit,
Sorry to trouble you again.
I have made a simple level in lite_c, addd player as per the code in the manual, but it is only third person and I need first person. Been through the manual but can't find anything refering to first person.
Any ideas how first person can be achieved?

hopefully, David.


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