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
2 registered members (AndrewAMD, TipmyPip), 12,709 guests, and 5 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
Newb help #185659
02/25/08 17:12
02/25/08 17:12
Joined: Feb 2008
Posts: 27
kentucky
S
SpearBang Offline OP
Newbie
SpearBang  Offline OP
Newbie
S

Joined: Feb 2008
Posts: 27
kentucky
I just started trying to learn C-Light and well i have this one problem and im sure its my uber noobness is the problem. My problem is i can run scrips "code" that others have made but if i start new and lets say copy and paste some code that works to my new scrip and when i run it,i get errors all over parameter unknown PANEL * bad keyword in {} and like i said it works for the guy in the c-light workshop tutorials. ty

Re: Newb help [Re: SpearBang] #185660
02/25/08 17:21
02/25/08 17:21
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
SED still defaults to saving as *.wdl. Your script will then be interpreted as C-Script (the predecessor to Lite-C), so make sure your scripts are saved as *.c.

Re: Newb help [Re: Excessus] #185661
02/25/08 17:30
02/25/08 17:30
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Hi

I'm a newbie to and is making a blog of my learning.
You can find a detailed instruction of what you are asking
about on my webpage at Creating an empty game

Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: Newb help [Re: Excessus] #185662
02/25/08 18:22
02/25/08 18:22
Joined: Feb 2008
Posts: 27
kentucky
S
SpearBang Offline OP
Newbie
SpearBang  Offline OP
Newbie
S

Joined: Feb 2008
Posts: 27
kentucky
yes I tryed this and still no go. Do i need to set SED up first? or is saveing as .c enuff? and i have run as main script box checked.

Re: Newb help [Re: SpearBang] #185663
02/25/08 18:31
02/25/08 18:31
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
you have "#include <acknex.h>" at the top of your script?

Re: Newb help [Re: Widi] #185664
02/25/08 18:56
02/25/08 18:56
Joined: Feb 2008
Posts: 27
kentucky
S
SpearBang Offline OP
Newbie
SpearBang  Offline OP
Newbie
S

Joined: Feb 2008
Posts: 27
kentucky
this is the code i am useing
Code:

#include <acknex.h>
#include <default.c>
#include "mtlFX.c"
///////////////////////////////
PANEL* first_pan = //////////////////////////////
// my first pan
//////////////////////////////
{
digits(420,230,2, *, 1, sys_seconds);
flags = VISIBLE;
}

function main()
{
video_mode = 7;
}



Re: Newb help [Re: SpearBang] #185665
02/25/08 19:23
02/25/08 19:23
Joined: Feb 2008
Posts: 27
kentucky
S
SpearBang Offline OP
Newbie
SpearBang  Offline OP
Newbie
S

Joined: Feb 2008
Posts: 27
kentucky
ok i found that i saved it as wdl once and then save a .c from that same file witch it seams still thinks its a wdl so to end this post its working you must start new file and save as .c thank you guys for the help

Re: Newb help [Re: SpearBang] #185666
02/25/08 21:43
02/25/08 21:43
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i get mostly problems if there is a wdl white same name as the .c
workaround rename the .wdl


"empty"
Re: Newb help [Re: flits] #185667
02/26/08 06:38
02/26/08 06:38
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Hi again

This made me se a problem with my own starter project
as a lite-C project. This will make me rewrite the chapter
about 'Making an emty game' on my web-blog.

So ..thank's

Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: Newb help [Re: rstralberg] #185668
02/26/08 20:41
02/26/08 20:41
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Just for the record I have rewritten my 'creating an empty game'
on my web-log, so now it's a clean lite-C thing.


Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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