|
C-Script Outdated in A7?
#124936
04/19/07 03:52
04/19/07 03:52
|
Joined: Mar 2007
Posts: 677 0x00000USA
MrCode
OP
User
|
OP
User
Joined: Mar 2007
Posts: 677
0x00000USA
|
Hi. This is a really crucial question that I've been asking myself (and half-answering with "No, of COURSE NOT! But then again..." ). I've heard so much talk about this Lite-C business for A7. Is this going to be the primary scripting language, with C-Script being the underdog? Please reply, because I'm still learning C-Script and I'm just getting the hang of it, and I don't want to have to learn an entirely new syntax.
void main()
{
cout << "I am MrCode,";
cout << "hear me roar!";
system("PAUSE");
}
|
|
|
Re: C-Script Outdated in A7?
[Re: bstudio]
#124938
04/19/07 07:59
04/19/07 07:59
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
if you're getting A7 then I would got with lite-c, simply becasue it's not that much harder and will go a lot further if you want to code in langagues outside of 3dgs.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: C-Script Outdated in A7?
[Re: jcl]
#124941
04/19/07 15:10
04/19/07 15:10
|
Joined: Oct 2003
Posts: 702
zazang
User
|
User
Joined: Oct 2003
Posts: 702
|
So does that mean that C-script vars,functions like c_trace will also be gone ?
I like good 'views' because they have no 'strings' attached..
|
|
|
Re: C-Script Outdated in A7?
[Re: MrCode]
#124943
04/20/07 03:36
04/20/07 03:36
|
Joined: Oct 2003
Posts: 702
zazang
User
|
User
Joined: Oct 2003
Posts: 702
|
sorry to repost but does anyone know if C-script vars,functions like c_trace will also be gone when Lite-C evolves ?
I like good 'views' because they have no 'strings' attached..
|
|
|
Re: C-Script Outdated in A7?
[Re: zazang]
#124944
04/20/07 03:58
04/20/07 03:58
|
Joined: Sep 2001
Posts: 120 Chicago, IL
Marcus729
Member
|
Member
Joined: Sep 2001
Posts: 120
Chicago, IL
|
zazang, I don't want to totally expound on this but to give you a brief look I have copied the example from the Lite-C part of the manual showing you the C_Trace command: Quote:
Example: // test the floor texture vec_set(temp, my.x); temp.z -= 500; // trace downwards 500 quants below c_trace (my.x,temp,IGNORE_ME|IGNORE_PASSABLE|IGNORE_MODELS|IGNORE_SPRITES|SCAN_TEXTURE); // now TEX_NAME is set to the floor name below the MY entity ... // look if the YOU enemy can be shot at from my position, and if yes, hurt him c_trace (my.x,your.x,IGNORE_ME|IGNORE_PASSABLE|ACTIVATE_SHOOT); // if entity YOU was visible from MY position, its SHOOT event was triggered
You really should get the Lite-C free version and tutorial and look through them.
I think this should give you a better idea of what Lite-C is all about. A brief summary is the C-Script vars and commands are available in Lite-C.
Lite-C adds more variable types, arrays, structures and access to other software (COM components). Many of these additional features can be left alone until you are more comfortable with Lite-C overall.
Then you can explore these additional capabilities as your needs and time allows.
Don't let the name and capabilities scare you un-necessarily. Whether you believe it or not if you have been using C-Script you have been programming. The routines you created in C-Script have their exact counter parts in Lite-C for the most part.
So take it slowly and give it a shot. George's workshops are a great place to start.
So go grab the free version and have at it. Remember its free, so what do you have to lose?
Marcus
Last edited by Marcus729; 04/20/07 04:00.
|
|
|
Re: C-Script Outdated in A7?
[Re: Marcus729]
#124945
04/20/07 04:44
04/20/07 04:44
|
Joined: Oct 2003
Posts: 702
zazang
User
|
User
Joined: Oct 2003
Posts: 702
|
Thanks Marcus but I have been programming and making a living out of this engine for the past 7 years Thats why I am so bothered...I really love the engine functions and I just wanna now if they will remain in lite-c or they will phased out eventually !
|
|
|
|