Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AbrahamR), 717 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Tutorials in .PDF? #268315
05/28/09 16:04
05/28/09 16:04
Joined: Dec 2008
Posts: 22
Ohio, US
A
Anthus Offline OP
Newbie
Anthus  Offline OP
Newbie
A

Joined: Dec 2008
Posts: 22
Ohio, US
So, I downloaded the Lite-C tutorial from the downloads section, and it is just a bunch of files that I can't open. There is no actual document or anything.

I was wondering if A) This was my computer's fault. I have Windows 7, and B) If there was another tutorial presented in an easier to read/ open format, such as a .PDF?

EDIT: Sorry, I have one more off topic question. Can I make models in a program and import them into WED? Like, for example, if I make models in Sketch-Up Pro, and save them as .MDLs?

Thank you.

Last edited by Anthus; 05/28/09 16:06.

~Anthus

-= No Sig Yet smirk =-
Re: Tutorials in .PDF? [Re: Anthus] #268321
05/28/09 16:53
05/28/09 16:53
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
first question .chm files are windows help files, if you cant open it right click on it->properties->unlock. Then you can be able to open it.
if it doesnt work here is the online version http://tutorial.3dgamestudio.net/

2nd question, yes you can do that. export it as 3ds or fbx, then import in wed/med


3333333333
Re: Tutorials in .PDF? [Re: Quad] #268323
05/28/09 17:03
05/28/09 17:03
Joined: Dec 2008
Posts: 22
Ohio, US
A
Anthus Offline OP
Newbie
Anthus  Offline OP
Newbie
A

Joined: Dec 2008
Posts: 22
Ohio, US
Thank you :]

I didn't know the solutions would be so easy. I'm glad.


~Anthus

-= No Sig Yet smirk =-
Re: Tutorials in .PDF? [Re: Anthus] #268514
05/29/09 19:09
05/29/09 19:09
Joined: Dec 2008
Posts: 22
Ohio, US
A
Anthus Offline OP
Newbie
Anthus  Offline OP
Newbie
A

Joined: Dec 2008
Posts: 22
Ohio, US
I've been going through the tutorial that was linked to (awesome, and informative, btw :]), and in part five, it tells you to open up "script05_2.c" -
Quote:
We have to define a variable and a window - use the code from script05_2.c:

which is not in the "workshop_5" folder where it was supposed to be. I re-downloaded the "litec_example" package from the tutorial, and from this site, and it's not there either. Long and short of it, it is missing, and I was wondering if anyone has it, since I'd like to do this tutorial without missing anything important.

Thank you~

EDIT: Also, in Sketch up, the only thing it lets me export it as is a kmz file.

Last edited by Anthus; 05/29/09 21:05.

~Anthus

-= No Sig Yet smirk =-
Re: Tutorials in .PDF? [Re: Anthus] #283788
08/10/09 06:07
08/10/09 06:07
Joined: Aug 2009
Posts: 2
Seattle, WA
L
LarryJ Offline
Guest
LarryJ  Offline
Guest
L

Joined: Aug 2009
Posts: 2
Seattle, WA
I encountered the same problem, couldn't find script05_2.c. Did you ever get an answer on this, or the code text?

Thanks.

Re: Tutorials in .PDF? [Re: LarryJ] #283793
08/10/09 07:25
08/10/09 07:25
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Here:
Click to reveal.. (script25_2.c)
Code:
////////////////////////////////////////////////////////////////////////////
// simple lite-C online game
////////////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

function on_client_event() // terminate client when server disconnects
{ 
   if (event_type == EVENT_LEAVE) sys_exit("Disconnected!"); 
}

function player_remove() // remove player when client disconnects
{ 
   if (event_type == EVENT_DISCONNECT) ent_remove(me); 
}

action player_move() // control the player on its client, move it on the server, animate it on all clients
{ 
  my.event = player_remove;
  my.emask |= ENABLE_DISCONNECT;
  my.smask |= NOSEND_FRAME;
   
  var walk_percentage = 0;
  VECTOR my_last_pos;
   
  while (1) 
  {
    if (my.client_id == dplay_id)  // player created by this client?
    {
      if (key_a-key_d) {
        my.pan += (key_a-key_d)*5*time_step;   // rotate the entity directly on its client
        send_skill(my.pan,SEND_UNRELIABLE|SEND_RATE);
      }

      if (connection == CONNECT_CLIENT)
        my.smask |= NOSEND_ANGLES;

      if (key_w-key_s != my.skill1) { // if the key state changed
        my.skill1 = key_w-key_s; // forward/backward
        send_skill(my.skill1,0); // send skill1 to the server
      }
    }

    if (connection & CONNECT_SERVER) // the following line runs on the server only
      c_move(me,vector(my.skill1*5*time_step,0,0), NULL, GLIDE); // move the entity using its skill1
    
    walk_percentage += vec_dist(my.x,my_last_pos);  // calculate the distance for animation
    vec_set(my_last_pos,my.x);	
    ent_animate(my, "walk", walk_percentage, ANM_CYCLE); // animate the entity

    wait (1);
  }
}

function main() 
{
  if (!connection) { // not started with -cl / -sv -cl?
    if (!session_connect(app_name,"")) // no client found on the localhost?
      session_open(app_name); // start as server
  }

  do { wait(1); }
  while (dplay_status < 2); // wait until the session is opened or joined

  dplay_entrate = 1; 
  dplay_localfunction = 2;
  level_load ("multiplayer6.wmb");
  vec_set(camera.x, vector (-600, 0, 100)); // set a proper camera position

  if (connection & CONNECT_SERVER) { // this instance of the game runs on the server
     video_window(0,0,0,"Server");
     ent_create ("redguard.mdl",vector(100,50,40),player_move); // then create the red guard!
  } else { // otherwise, it runs on a connected client
     video_window(0,0,0,player_name);
     random_seed(0); // allow random player positions
     ent_create ("blueguard.mdl",vector(-100+random(200),-50+random(100),40),player_move); // create the blue guard
	}
}



Re: Tutorials in .PDF? [Re: Anthus] #283827
08/10/09 09:49
08/10/09 09:49
Joined: Jul 2009
Posts: 7
Spain
A
alahuin Offline
Newbie
alahuin  Offline
Newbie
A

Joined: Jul 2009
Posts: 7
Spain
Quote:
EDIT: Also, in Sketch up, the only thing it lets me export it as is a kmz file.


I use Sketchup 5 and the 3d export looks like this...




&#8220;EVERY TRUTH HAS TWO SIDES;
IT IS WELL TO LOOK AT BOTH,
BEFORE WE COMMIT OURSELVES TO EITHER&#8221;

Aesop (circa 620-560 bc.), Greek fabulist.

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