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
0 registered members (), 18,561 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
Trouble with using tutorial samples? #75757
05/28/06 04:38
05/28/06 04:38
Joined: Apr 2004
Posts: 18
M
Mike Offline OP
Newbie
Mike  Offline OP
Newbie
M

Joined: Apr 2004
Posts: 18
Hello,

Having an odd problem that's cropping up alot...

I'm in the process of doing tutorials to learn 3DGS from the utter basics so I can eventually roll that knowledge/experience over into my own project..

But I'm hitting a bit of a brick wall along the way. It seems that tutorials I'm trying that come with sample levels that are used.. either in the steps, or as reference, refuse to run. I usually end up with a message about a script or scripts not being found, etc. I'm not sure why this is happening.

Has anyone else experienced this.. and.. how did you get it to work? What am I doing wrong?

Thanks in advance for your time/help...

Mike

Re: Trouble with using tutorial samples? [Re: Mike] #75758
05/28/06 05:17
05/28/06 05:17
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
What tutorial(s) are causing these error messages? Also, what version and edition do you have?


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Trouble with using tutorial samples? [Re: ulillillia] #75759
05/28/06 05:26
05/28/06 05:26
Joined: Apr 2004
Posts: 18
M
Mike Offline OP
Newbie
Mike  Offline OP
Newbie
M

Joined: Apr 2004
Posts: 18
Well, can't remember each one, but one example is the House/Interior tutorial series created by Dan Silverman. Steps in that series won't compile for the above-mentioned reasons.

As for version, I have 6.40.5 Extra (though I could have sworn I've upgraded to Commercial Edition at some point.. hmmm... need to find that info)..

I think it might have to do with the paths setup; how 3DGS manages assets. Perhaps the paths aren't matching up to what the Authors' used in their creation?

Re: Trouble with using tutorial samples? [Re: Mike] #75760
05/28/06 07:28
05/28/06 07:28
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
As you guessed its probably an issue with the pathes.
Just check the .wdl file which is linked to the level (WED -> Map Properties) and look for the path setup.
If there no pathes set, make sure you have all scripts in the same folder as the level.

Re: Trouble with using tutorial samples? [Re: Xarthor] #75761
05/28/06 07:52
05/28/06 07:52
Joined: May 2006
Posts: 7
S
StickZer0 Offline
Newbie
StickZer0  Offline
Newbie
S

Joined: May 2006
Posts: 7
I'm having a problem too. I looked at the bomb tutorial, Code:
//BOMB

action timer
{
my.skin = 2;
my._DAMAGE = 200; // set different damage values for different timers
my.enable_click = on;
my.event = start_timer;
}

function start_timer()
{
wait (1);
second_counter = 10; // explodes after 10 seconds
while (my != null)
{
second_counter -= 1;
my.skin = 2;

waitt (14);
my.skin = 1;
waitt (2);
if (second_counter < 1)
{
range = my._DAMAGE * 2;
damage = my._DAMAGE;
temp.pan = 360;
temp.tilt = 180;
temp.z = range;
indicator = _EXPLODE; // not a friendly scan
scan_entity (my.x, temp);
morph (explo_sprite, me);
my.oriented = on;
my.pan = 0;
while (my.frame < 7)
{
my.frame += 3 * time;
wait (1);
}
actor_explode(); // remove the explosion sprite
}
}
}



saved it in template_6/codes, added the script to my level, attached the timer action to something, and errors such as
parameter _DAMAGE not found
parameter secondtimer not found and etc
please help? hopefully a step-by-step guide would be useful


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