Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,359 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using Templates and Lite-C #175165
12/28/07 22:00
12/28/07 22:00
Joined: Dec 2007
Posts: 13
N
NeoK Offline OP
Newbie
NeoK  Offline OP
Newbie
N

Joined: Dec 2007
Posts: 13
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/07 22:32
12/28/07 22:32
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
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.


smile
Re: Using Templates and Lite-C [Re: D3D] #175167
12/28/07 22:39
12/28/07 22:39
Joined: Dec 2007
Posts: 13
N
NeoK Offline OP
Newbie
NeoK  Offline OP
Newbie
N

Joined: Dec 2007
Posts: 13
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/07 22:42
12/28/07 22:42
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
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.


smile
Re: Using Templates and Lite-C [Re: D3D] #175169
12/28/07 22:48
12/28/07 22:48
Joined: Dec 2007
Posts: 13
N
NeoK Offline OP
Newbie
NeoK  Offline OP
Newbie
N

Joined: Dec 2007
Posts: 13
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/07 22:54
12/28/07 22:54
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
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.


smile
Re: Using Templates and Lite-C [Re: D3D] #175171
12/29/07 01:35
12/29/07 01:35
Joined: Dec 2007
Posts: 13
N
NeoK Offline OP
Newbie
NeoK  Offline OP
Newbie
N

Joined: Dec 2007
Posts: 13
Not sure how to convert, I'm very new to this..


Gamestudio download | 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