I have read the entire tutorial and lite-C primer and would like to start learning by making a simple game. I want my player entity to be a ball from the tutorials but i want to build my enemy entities using templates as I don't know how to make AI myself. My question is, is it possible to use Templates in WED and also some scripting from Lite-C? In the tutorials I noticed all the file extensions end with .c but when I make a map my scripts have .wdl file extension.
I tried to define a VECTOR ball_speed; in my .wdl file and I receive errors when trying to run the code it tells me keyword unknown VECTOR
Any help greatly apreciated.
Re: Using Templates and Lite-C
[Re: NeoK]
#175166 12/28/0722:3212/28/0722:32
On map properties you can also select A7 Lite-C project at map properties. I can't find the Project Wizard right now. Guess you need to install the T7 templates yourself if using the latest public release.
Re: Using Templates and Lite-C
[Re: D3D]
#175167 12/28/0722:3912/28/0722:39
I am still using the free trial, want to see if I'm capable of making anything useful before I buy. been doing nothing but reading for the last 6 days and playing around with different things. I like the templates, they make creating games easy but i want to be able to add some code myself so that I learn both aspects of making games. For now I just want to add a ball that rotates as i move the cursors and bounces around using physics and I seen a perfect example of it in workshop 19. but i want to make the rest of the level using templates.
Re: Using Templates and Lite-C
[Re: NeoK]
#175168 12/28/0722:4212/28/0722:42
If you want to use the templates that come with the trial if there are any in a Lite-C based project, you will have to convert the C-Script code first. I don't know if you can use the T7 templates on the trial, but it did contain simple AI for enemies and uses Lite-C code.
Re: Using Templates and Lite-C
[Re: D3D]
#175169 12/28/0722:4812/28/0722:48
I did not see Lite-C project in properties, just A6 template, car project, old a5 template, shooter project, walkthrough project and empty script. the version of my trial is 7
Re: Using Templates and Lite-C
[Re: NeoK]
#175170 12/28/0722:5412/28/0722:54
That could be true, because I can see this option in A7.07.5 which is a public beta. Your only option would be to either use the T7 on the trial if possible. Otherwise you have to convert the templates or code everything from start.
Re: Using Templates and Lite-C
[Re: D3D]
#175171 12/29/0701:3512/29/0701:35