Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, ozgur), 1,421 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. #292786
10/07/09 01:48
10/07/09 01:48
Joined: Oct 2009
Posts: 33
A
AlexH Offline OP
Newbie
AlexH  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 33
The example that comes with the Lite-C Workshop 22 lesson doesn't work properly.

It's a very simple script so I find it odd that it is failing. The model is supposed to walk continuously, when space is held it is supposed to rotate the turret on its underside back and forth.

When space is pressed, the model seems to stop completely, the turret rotates to it's angle limit then resumes walking, sometimes randomly spazzing out. Also, while the turret moves the right leg lifts up until walking resumes.

I suggest someone else try this?

Note: I have the trail version, but I assume all the workshops should work with it since it is the commercial level.

Last edited by AlexH; 10/07/09 01:49.
Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: AlexH] #292803
10/07/09 07:30
10/07/09 07:30
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
I have just tested both workshops that deal with bones using the download link at the bottom of the "Online Tutorial". Everything works fine.

Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: George] #293053
10/08/09 23:11
10/08/09 23:11
Joined: Oct 2009
Posts: 33
A
AlexH Offline OP
Newbie
AlexH  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 33
I just redownloaded and it seems to function differently (maybe I was missing something before).

However, the model functions fine for about 30 seconds, then starts bugging out. Wait at least 30 seconds see if it does the same to you, I will post a video to better illustrate if you need it.

Edit:
I just noticed it is playing all scenes of the mdl. Instead of just playing "walk", it plays all 3 sequentally.

The weird thing is, it plays "walk" for about 3 cycles then literally decides to ignore that argument and start playing all animations. Is this some weird trail-related trick?

Last edited by AlexH; 10/09/09 02:16.
Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: AlexH] #293074
10/09/09 07:11
10/09/09 07:11
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
Are you sure that you have an action attached to the model? Also, make sure that you are using the latest engine version.

Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: George] #293161
10/09/09 16:23
10/09/09 16:23
Joined: Oct 2009
Posts: 33
A
AlexH Offline OP
Newbie
AlexH  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 33
Please try this yourself. I'm using the exact code and model from the litec_samples.zip file.

I am using the trail version of the engine from the downloads page.

I'd also like to note: it is using a function (not by my design, this is how the code came) with a wait(1).

It has nothing to do with bones, the same problem occurs if you simply try to loop the animation, it fails after 2 loops or so.

I tried this on both my laptop (Vista 64x) and Desktop (XP 86x).

Last edited by AlexH; 10/09/09 16:27.
Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: AlexH] #293166
10/09/09 17:46
10/09/09 17:46
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Its unlikely that the workshops work for everyone but you, so there must be some other explanation:
Originally Posted By: FAQ
Q: Help! Your Gamestudio software is very buggy. The camera behaves strange, collision detection doesn't work properly, and WED often can't start my level.
A: You might be the proud owner of a certain beta version that leaked to the warez scene: 6.20 or 7.05. Both were early beta versions and don't work reliably as you probably noticed. Sometimes the version number is patched for letting them appear as different versions (such as 7.07 or 7.70) . Please contact Support for getting a working, legal Gamestudio version. We won't prosecute you as long as you don't distribute the illegal version further, or publish anything created with it. If you do, it can become expensive ($900 per distributed copy, plus legal fees). If you're short on money, just download Gamestudio / lite-C - it's legal and free.


Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: Spirit] #293172
10/09/09 18:11
10/09/09 18:11
Joined: Oct 2009
Posts: 33
A
AlexH Offline OP
Newbie
AlexH  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 33
1. Download the trail from the downloads page.

2. Download the litec workshops from the download page.

3. Open the workshop 22 script.c

4. Run it in the SED.

I have tried this 3 times, on 3 different computers with the same, exact results.

It is the workshop + trail, not me.

Last edited by AlexH; 10/09/09 18:14.
Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: AlexH] #293198
10/09/09 21:08
10/09/09 21:08
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Did you try to run this with the free Lite-C version, too?
Just an idea.

Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: Pappenheimer] #293222
10/09/09 23:42
10/09/09 23:42
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline
Senior Member
sadsack  Offline
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Hi,
I just tryed c-lite file22 and 23, ran both file for 5 min.
I had no problem with them at all. Wrok just like they should.
here is the code from lesson22 paste that in and see if it works.
Code:

Code:
////////////////////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////////////////////

var walk_speed;
var turn_speed;

////////////////////////////////////////////////////////////////////////////////////

function bones_test()
{
	my.pan -= 180; // face the player
	while(1)
  	{
  		ent_animate(my, NULL, 0, 0); // reset all the animations
  		walk_speed += 1.5 * time_step; // increase walk_speed; 1.5 sets the speed
  		ent_animate(my, "walk", walk_speed, ANM_CYCLE); // animate the model (use "walk")
		if (key_space && (turn_speed < 100)) // space was pressed?
  			turn_speed += 10 * time_step; // then increase turn_speed
		if (!key_space && (turn_speed > 0)) // space isn't pressed?
  			turn_speed -= 10 * time_step; // then decrease turn_speed
  		if (turn_speed > 0) // got to turn?
  			ent_animate(my, "turn", turn_speed, ANM_ADD); // animate the model (use "turn")
   	wait(1);
  	}
}

function main()
{
	level_load ("");	// load an empty level
	wait(2); // wait until the level is loaded
	// and then now create the robot model at x = 400, y = 0, z = -50 quants
	ent_create("robot.mdl", vector(400, 0, -50), bones_test); 
}



I don't know what to tell you, that is very odd.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: Lite-C Workshop Tutoral #22 and 23 (Bones) is Broken. [Re: sadsack] #293242
10/10/09 02:22
10/10/09 02:22
Joined: Oct 2009
Posts: 33
A
AlexH Offline OP
Newbie
AlexH  Offline OP
Newbie
A

Joined: Oct 2009
Posts: 33
Thank you for the replies, however, I have to ask: What is so hard to understand about what I'm saying?

You have to download the trail and test with that

How can it not work on 3 of my fully updated separate computers? (Vista 64, WinXP 32 Gateway, and another WinXP 32 HP).

Originally Posted By: Pappenheimer
Did you try to run this with the free Lite-C version, too?
Just an idea.

No I have not, I will try that, although if it does in fact run, that would indicate a problem with the trail.


Problem Confirmed
It works 100% with the free version, the trail version however has an issue with ALL calls to ent_animate after a certain amount of time. This should be looked at by a dev unless this was intentional to prevent people from using the trail as a product.

Last edited by AlexH; 10/10/09 03:14.
Page 1 of 2 1 2

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