Posted By: DAVIDMORETON
lite_c, help please - 10/29/09 09:26
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
Posted By: ozziedave
Re: lite_c, help please - 10/31/09 05:54
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.
Posted By: Spirit
Re: lite_c, help please - 10/31/09 07:57
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
Posted By: DAVIDMORETON
Re: lite_c, help please - 10/31/09 09:13
Hi Ozziedave, like the name!!,
Many thanks for suggestion re intence X, looks interesting, will give it a try, David.
Posted By: DAVIDMORETON
Re: lite_c, help please - 10/31/09 09:17
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
Posted By: Spirit
Re: lite_c, help please - 10/31/09 09:34
Its described under "c_move" with an example of a player action.
Posted By: DAVIDMORETON
Re: lite_c, help please - 10/31/09 11:51
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.
Posted By: Spirit
Re: lite_c, help please - 10/31/09 12:16
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.
Posted By: DAVIDMORETON
Re: lite_c, help please - 10/31/09 13:25
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.
Posted By: DAVIDMORETON
Re: lite_c, help please - 11/02/09 08:14
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.