3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Swimming/Jump Character  (Read 1692 times)

« on: October 11, 2012, 05:51:50 PM »
Hi guys!  ;)

I'm making a first person game and i need two scripts without which i can't work:

1) Swim
2) Jump

P.S. I'm using a Character.  ::) Thank you in advance.  ;D
« Reply #1 on: October 12, 2012, 04:19:50 AM »
I hope you already know how to work with animations (etc bone based anim.) so you should just search the forum .
« Reply #2 on: October 12, 2012, 05:01:59 AM »
Thank you for the answer Le[X] ;D. Yes, I can work with animations, but i searched on the forum and i don't find a realistic scripts :-[ with which the character can jump or swim. Could you help me? ::)

BorekS

« Reply #3 on: October 12, 2012, 05:12:00 AM »
oups! wrong thread post, sorry  ::)
« Reply #4 on: October 12, 2012, 05:36:24 AM »
Thank you for the answer Le[X] ;D. Yes, I can work with animations, but i searched on the forum and i don't find a realistic scripts :-[ with which the character can jump or swim. Could you help me? ::)
Well try searching the forum. I remember that someone posted a script for jumping :) And yes, next time post into right thread :)
« Reply #5 on: October 12, 2012, 05:44:54 AM »
Thank you for the answer Le[X] ;D. Yes, I can work with animations, but i searched on the forum and i don't find a realistic scripts :-[ with which the character can jump or swim. Could you help me? ::)
Well try searching the forum. I remember that someone posted a script for jumping :) And yes, next time post into right thread :)
Yes i've already found this script on the forum but I can't make it work very well. So I tried the search button with the "swim" word, and/or "jump" word, but the button doesn't working. I'm really sorry for the inconvenience!! :'(
« Reply #6 on: October 12, 2012, 07:35:02 AM »
so... in other words... you don't wanna put any effort into this... you want someone to write a script for you... right?

is that what you're asking...

--Mike
« Reply #7 on: October 12, 2012, 08:03:32 AM »
I think I was misunderstood... :( I tried to create a script, but to no avail, also because the character is not floating but flying into nothingness.
« Reply #8 on: October 12, 2012, 08:29:23 AM »
first thing you need to do is determine EXACTLY what you want to do... seriously, best way to get somewhere is to know where you want to go...

lets look at the swimming first...

it sounds like you want a simple character that swims in water... ok, lets say that that is EXACTLY what you want to do...

next thing to do is determine how you're gonna do it... what, if anything, does 3DRAD give you to help you do this...

well... right off the top of my head i'd  the buoyancy object comes to mind... linking it to a rb and an animated mesh should get you going...

then you'll need to sync the swimming actions with movement and animation... this is where the logic comes into play... before you script write in plan language exactly what needs to happen for animastion and movement to work... do one at a time...

when you are satisfied with the logic, then start the scripting... one thing at a time...

you start this and i'll help you... it's not that hard... trust me... just take it one step at a time...


--Mike
« Last Edit: October 12, 2012, 08:44:11 AM by Mike Hense »

secondry2

« Reply #9 on: November 10, 2012, 12:15:15 AM »
Mike's got some pretty good advice there to help you get started.
As Le[X] said, try searching the forums for some tutorials aswell to
help you get started ;)
« Reply #10 on: November 10, 2012, 07:25:48 PM »
Hi guys!  ;)

I'm making a first person game and i need two scripts without which i can't work:

1) Swim
2) Jump

P.S. I'm using a Character.  ::) Thank you in advance.  ;D

If you want ur character to jump, just make an upward force on the cam1stperson, set the timer to 0.1 or something along those lines, and start it on input.

For swimming, make a buoy object for the cam1stperson, set it to recipient for the 1st person camera, and there you go.
Using 3D Rad v7.19
Specs:
OS: Windows 7 Home Premium 64-Bit
Processor: AMD Athlon(tm) II X4 640 Processor (4 CPUs), ~3.0GHz
8GB RAM
Graphics: NVIDIA GeForce GTX 550 Ti
DirectX Version: 11
Hard Drive Space: 465 GB
Pages: [1]