Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, Ayumi, AndrewAMD), 1,092 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
3rd Person move script #52025
08/16/05 21:17
08/16/05 21:17
Joined: May 2005
Posts: 961
Bremen, Germany
tuschcarsten Offline OP
User
tuschcarsten  Offline OP
User

Joined: May 2005
Posts: 961
Bremen, Germany
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


Bit Happens!
Re: 3rd Person move script [Re: tuschcarsten] #52026
08/16/05 21:49
08/16/05 21:49
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
danke
...nochmal

Re: 3rd Person move script [Re: Tempelbauer] #52027
08/17/05 02:38
08/17/05 02:38
Joined: Oct 2001
Posts: 1,285
USA
Guardian Offline
Serious User
Guardian  Offline
Serious User

Joined: Oct 2001
Posts: 1,285
USA
Thank you.


Guardian

Game Models
Re: 3rd Person move script [Re: Guardian] #52028
08/17/05 07:51
08/17/05 07:51
Joined: May 2005
Posts: 961
Bremen, Germany
tuschcarsten Offline OP
User
tuschcarsten  Offline OP
User

Joined: May 2005
Posts: 961
Bremen, Germany
No problem

lg tuschcarsten


Bit Happens!
Re: 3rd Person move script [Re: tuschcarsten] #52029
08/19/05 23:35
08/19/05 23:35
Joined: Aug 2005
Posts: 41
Brute Offline
Banned
Brute  Offline
Banned

Joined: Aug 2005
Posts: 41
do you think you could modify it so you can move with a joystick or the arrow keys (not wasd)?

Re: 3rd Person move script [Re: Brute] #52030
08/20/05 07:09
08/20/05 07:09
Joined: May 2005
Posts: 961
Bremen, Germany
tuschcarsten Offline OP
User
tuschcarsten  Offline OP
User

Joined: May 2005
Posts: 961
Bremen, Germany
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


Bit Happens!
Re: 3rd Person move script [Re: tuschcarsten] #52031
08/20/05 17:55
08/20/05 17:55
Joined: Aug 2005
Posts: 41
Brute Offline
Banned
Brute  Offline
Banned

Joined: Aug 2005
Posts: 41
thanks

Re: 3rd Person move script [Re: Brute] #52032
09/18/05 23:03
09/18/05 23:03
Joined: Sep 2005
Posts: 67
E
eternalyouth Offline
Junior Member
eternalyouth  Offline
Junior Member
E

Joined: Sep 2005
Posts: 67
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.


Respect is earned, not granted. Same goes for religion
Re: 3rd Person move script [Re: eternalyouth] #52033
09/19/05 18:42
09/19/05 18:42
Joined: May 2005
Posts: 961
Bremen, Germany
tuschcarsten Offline OP
User
tuschcarsten  Offline OP
User

Joined: May 2005
Posts: 961
Bremen, Germany


Bit Happens!

Moderated by  adoado, checkbutton, mk_1, Perro 

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