Forums Gallery LOGIN |REGISTER

rotating wheels

Topics on creating any sort of animation or cinematic using Sandbox 2 should be posted inside this forum.


 

User avatar blackhorizon
Producer
Producer
 
Posts: 1234
Member since: 10.04.2010, 22:50
Location: In front of a computer
Likes: 13

rotating wheels

Postby blackhorizon » 31.07.2010, 22:18

I am trying to animate a scene where an amphibious apc is driving by the camera... how would I make the wheels spin?
User avatar tentaris1337
Just getting started
Just getting started
 
Posts: 66
Member since: 19.06.2010, 21:29
Likes: 0

Postby tentaris1337 » 31.07.2010, 22:29

I think, that the easiest way is to add AI to amphibious and make path for it... (i don't know if it work as you want - i never tried it, but i think it'll work).
sorry for my bad english :)
User avatar blackhorizon
Producer
Producer
 
Posts: 1234
Member since: 10.04.2010, 22:50
Location: In front of a computer
Likes: 13

Postby blackhorizon » 31.07.2010, 22:31

Originally posted by tentaris1337
I think, that the easiest way is to add AI to amphibious and make path for it... (i don't know if it work as you want - i never tried it, but i think it'll work).



how would I use ai in the track view?
User avatar JMLfin
Regular Dev
Regular Dev
 
Posts: 529
Member since: 06.06.2010, 22:27
Location: Turku, Finland
Likes: 2

Postby JMLfin » 31.07.2010, 22:32

Yup, just make an AI enter the vehicle and make him follow an AI path. This can be done with Flow Graphs really easily. :)
User avatar Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Postby Talvipakkanen » 31.07.2010, 23:16

AI can't use multiplayer vehicles, like amphibious APCs.

Rotating the wheels would need some serious effort regardless of how it actually would be made.

Using a singleplayer vehicle with AI might be a practical solution.
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
User avatar blackhorizon
Producer
Producer
 
Posts: 1234
Member since: 10.04.2010, 22:50
Location: In front of a computer
Likes: 13

Postby blackhorizon » 31.07.2010, 23:46

What am I doing wrong? The vehicle just stands still (yes I generated navigation)
Last edited by blackhorizon on 31.07.2010, 23:47, edited 1 time in total.
User avatar Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Postby Talvipakkanen » 31.07.2010, 23:51

Use the 'succeed'-output instead of 'done'..
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
User avatar blackhorizon
Producer
Producer
 
Posts: 1234
Member since: 10.04.2010, 22:50
Location: In front of a computer
Likes: 13

Postby blackhorizon » 01.08.2010, 01:39

still not working (yes I generated navigation again) but the engine is running
User avatar Ruan
Has seen it all
Has seen it all
 
Posts: 11736
Member since: 11.07.2008, 20:25
Location: Nottingham, UK
Likes: 96

Postby Ruan » 01.08.2010, 01:45

You need to tell the vehicle to follow the path, not the driver.
Out now! CryENGINE Game Programming with C++, C#, and Lua
Ex-Crytek, now with Deep Silver Dambuster Studios
User avatar Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Postby Talvipakkanen » 01.08.2010, 01:47

Hey... you have the grunt assigned for 'AIFollowPath'-node, whilst it should be the vehicle. I didn't notice it at first, but should have.

In Wiki is lot of samples about this, just search for a 'vehicle'.
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
User avatar Eternal-Dreamer
Producer
Producer
 
Posts: 1200
Member since: 21.06.2009, 02:00
Likes: 0

Postby Eternal-Dreamer » 01.08.2010, 02:51

The AIs won't drive the amphibious APC for some reason, I think it's because the vehicle is for multiplayer use only. But I could be wrong. I've never been able to get them to drive it.
User avatar tentaris1337
Just getting started
Just getting started
 
Posts: 66
Member since: 19.06.2010, 21:29
Likes: 0

Postby tentaris1337 » 06.08.2010, 15:36

Well, yeah amphibious won't work with AI, maybe you should use other vehicle like normal APC? :)
sorry for my bad english :)
User avatar RaZoR-FIN
Producer
Producer
 
Posts: 2851
Member since: 19.09.2009, 09:30
Location: Finland
Likes: 203

Postby RaZoR-FIN » 06.08.2010, 20:19

Originally posted by tentaris1337
Well, yeah amphibious won't work with AI, maybe you should use other vehicle like normal APC? :)


The normal APC was used in Warhead but not in the original Crysis, so i bet it doesn't work.
User avatar tentaris1337
Just getting started
Just getting started
 
Posts: 66
Member since: 19.06.2010, 21:29
Likes: 0

Postby tentaris1337 » 06.08.2010, 20:31

Well, i'm not using crysis editor, i'm using crysis wars editor, so i don't know what work and what not :) All i can say is that APC (not amphibious) work in crysis wars editor.
sorry for my bad english :)
User avatar Olli.
Executive Producer
Executive Producer
 
Posts: 4713
Member since: 16.12.2007, 16:07
Location: Finland
Likes: 13

Postby Olli. » 06.08.2010, 20:49

Originally posted by Talvipakkanen
AI can't use multiplayer vehicles, like amphibious APCs.

Rotating the wheels would need some serious effort regardless of how it actually would be made.

Using a singleplayer vehicle with AI might be a practical solution.


remove wheels in vehicle editor, save new wheel-less vehicle as new entity.

export the APC as .obj (file>export selected as .obj), open it up in a 3d program, apply UV modifier and check if UV's are intact, remove everything from vehicle except one wheel, re-check UV to make sure its still intact (or atleast the wheel portion of it) export the wheel in the crysis as a static object, place 6 wheels as basicentities in your map, link them to your APC hull, move them to their appropriate places, then just make them spin in the trackview.

easy eh?
http://www.TriangulateMesh.com
(10:36:53 PM) puppy: crymono?
(10:37:00 PM) puppy: is that some sort of illness