3rd Person move script

Posted By: tuschcarsten

3rd Person move script - 08/16/05 21:17

Hi all

I thought I could post this script. I think it's useful for 3DGS beginners and
users having not enough time to write their own script.

Here the features:

- animated player
- jumping
- camera doesn't go into walls
- new collision system (c_move, ect...)

and here the link:
http://rapidshare.de/files/4053094/player3rd.wdl.html

-------------------------------------------------------

Hallo zusammen!

Ich dachte, ich könnte mal dieses Script posten. Ich denke, dass es für 3DGS-Anfänger und User,
die keine Zeit haben, um ein eigenes script zu schreiben nützlich sein könnte.

Hier die Features:

- animierter Player
- Springen
- Kamera hängt nicht in den Wänden
- neues Kollisionssystem wird verwendet (c_move, ect...)

und hier der Link:
http://rapidshare.de/files/4053094/player3rd.wdl.html



mfg tuschcarsten
Posted By: Tempelbauer

Re: 3rd Person move script - 08/16/05 21:49

danke
...nochmal
Posted By: Guardian

Re: 3rd Person move script - 08/17/05 02:38

Thank you.
Posted By: tuschcarsten

Re: 3rd Person move script - 08/17/05 07:51

No problem

lg tuschcarsten
Posted By: Brute

Re: 3rd Person move script - 08/19/05 23:35

do you think you could modify it so you can move with a joystick or the arrow keys (not wasd)?
Posted By: tuschcarsten

Re: 3rd Person move script - 08/20/05 07:09

Sure, just replace this lines
Code:
			player_dist.x = (key_w-key_s)*8*time+joy_force.y*4*time;

player_dist.y = (key_a-key_d)*4*time;

myangle.pan =-7* (key_e - key_q)*time+joy_force.x*2*time;
c_rotate(player,myangle,ignore_passable+glide);


by this lines:
Code:
			player_dist.x = (key_cuu-key_cud)*10*time+joy_force.y*4*time;//8


if(key_ctrl == 1)
{
player_dist.y = (key_cul-key_cur)*4*time;
}
else
{
myangle.pan =-7* (key_cur - key_cul)*time+joy_force.x*2*time;
c_rotate(player,myangle,ignore_passable+glide);
player_dist.y = 0;
}




greets tuschcarsten
Posted By: Brute

Re: 3rd Person move script - 08/20/05 17:55

thanks
Posted By: eternalyouth

Re: 3rd Person move script - 09/18/05 23:03

How do you make it so that the jump animation loops infinitely - but only until the character lands? This is the challenge I've never been able to... it seems the jump animation only lasts for a certain amount of time until it changes to walking/running/standing animation. Like when jumping off cliffs for example, I need the jump animation to keep looping... but only until I land on the ground.
==================
The script works if on a flat surface... you'll always land at the calculated distance... is there anyway... anyhow... cause I'm making a Sonic game... and after jumping, it is necessary to remain in the jump state at all times and only go back to normal if you land.... else... remain in jump state.
Posted By: tuschcarsten

Re: 3rd Person move script - 09/19/05 18:42

please don't doublepost, look here:
http://www.coniserver.net/ubbthreads/showflat.php?Cat=0&Number=570123&Main=564189#Post570123
© 2024 lite-C Forums