Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / [Tutorial] Easy collision system using sparky’s dll, with jumping, movement, including first and third person viewing.

Author
Message
APC
17
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 27th Jan 2008 20:00
How would i change the distance of viewing the map and stop it when looking down.
Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 27th Jan 2008 22:59
play with the code in the camera controls -


That was a little vague, but its quite simple if you look at it
for a while. =)

APC
17
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 29th Jan 2008 01:44
I was talking about both views like you can see far out in the distance like hills and such.
jeffhuys
18
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 3rd Feb 2008 16:54
Hey, I am the one who did put the Timer Based Movement in, but still have'nt got any clue on how to implement that in the jumping...
Any ideas? This is the code I have:




Jumpheight# is always 1.

It works, but when the framerate gets low, it jumps like 10,000 feet in the air. (which is logically right, following the code, but not what I want it to do .)

Any ideas on how to implement it in the jumping? Thanks!

-Jeff


You're the 'th to view this signature!
Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 4th Feb 2008 09:06
Maybe try changing the jumpheight# amount? hmm

jeffhuys
18
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 4th Feb 2008 09:22 Edited at: 4th Feb 2008 09:23
That can be... When the game is on speed the t# is always 30... I will try it!

EDIT: No that is not what i mean, i want it to jump as fast as it needs to be, so it seems smooth, and to fall exactly the same. This will only let him jump higher when the game gets slower, which makes no sense. Any ideas?

-Jeff


You're the 'th to view this signature!
Seboolek
17
Years of Service
User Offline
Joined: 2nd Oct 2007
Location: POLAND
Posted: 4th Feb 2008 17:14
That's Good Aralox!
But this is a vector move. How change a move speed? Walk/Run...
Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 5th Feb 2008 08:12
Try playing with the variables
sorry if this isnt helpful

Seboolek
17
Years of Service
User Offline
Joined: 2nd Oct 2007
Location: POLAND
Posted: 5th Feb 2008 09:28
OK. I make this

WALK AND RUN

1.
Add this on start


2.
This is walk and run. L.Shift - RUN


Not hard...
Aralox
17
Years of Service
User Offline
Joined: 16th Jan 2007
Location: Melbourne
Posted: 6th Feb 2008 07:00
good work =)

APC
17
Years of Service
User Offline
Joined: 6th May 2007
Location:
Posted: 7th Feb 2008 23:08
Ok, well got nothing.
But how cann you make the hud wider
Markp7
16
Years of Service
User Offline
Joined: 1st May 2008
Location:
Posted: 1st May 2008 08:57
No one's read this thread in a while.

I crash to a black screen when using the tutorial code.
I'm trying to load a .dbo file.

Any ideas?

Anyone still out there?

Login to post a reply

Server time is: 2024-11-25 09:21:15
Your offset time is: 2024-11-25 09:21:15