|
gamecreator
|
 |
« on: August 02, 2009, 07:34:32 PM » |
|
how to create an hover cracft floation over the tracks like Wipeout 
|
|
|
|
|
Logged
|
|
|
|
|
Ron
|
 |
« Reply #1 on: August 02, 2009, 09:24:57 PM » |
|
I'm not familiar with that game, but you could probably just start with the vehicle script. Once you get that up and driving around the track, you can make the wheels invisible to make it look like a hovercraft. Further down the line, you can even add stuff like body roll, tilt and different hover heights.
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #2 on: August 02, 2009, 10:08:19 PM » |
|
I go try that tks:)
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #3 on: August 03, 2009, 09:22:55 AM » |
|
how to put the wheels invisible?
Im nobbyHere:(
|
|
|
|
|
Logged
|
|
|
|
|
pixel_legolas
|
 |
« Reply #4 on: August 03, 2009, 10:20:49 AM » |
|
You can do it with script but you can also do like this:
Open the model in MODEL VIEWER, you have the viewer in the top right corner. Open the .opr and not the model itself. There should be something with sub objects there where you can hide the wheels.
Now save the .opr file and when you open the stage again the wheels will be invisible.
It should be possible to delete wheels and have a offset instead. So the body will always "hover" a certain distance in the air, I don't know the details
|
|
|
|
|
Logged
|
|
|
|
|
Squat
|
 |
« Reply #5 on: August 03, 2009, 10:37:40 PM » |
|
I haven't yet tried to reimport a vehicle since BV actually, so I'm not sure what hiding the wheels will do to the scripts. Most likely you're safe doing it that way as the ground contact scripted elements will probably be based off the main hull.
However, if there are issues with making them hidden, you can also try changing the surfaces of them to fully transparent in the surface editor...which would be quick and easy to do and should stay safe.
|
|
|
|
|
Logged
|
|
|
|
|
Ransom
|
 |
« Reply #6 on: August 04, 2009, 07:21:43 AM » |
|
I think "hidden" objects no longer support physics, so if you're planning on using the wheels to drive, you'll want to go with Squat's suggestion of setting the material surface to transparent.
You could also just cast a ray toward the ground and keep the craft floating based on the distance of the ray, then you could just delete the wheels entirely.
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #7 on: August 04, 2009, 10:11:49 AM » |
|
Yep, don?t work hidde the wheels.
I think the bater way is make an new script for hover carft from zero.
Any idea?
|
|
|
|
|
Logged
|
|
|
|
|
zknack
|
 |
« Reply #8 on: August 04, 2009, 12:18:41 PM » |
|
Just construct it the same way as you would a person (which is fairly well documented), and set the collision mesh (which is invisible) below the model.
Shouldn't be too difficult, I would think.
|
|
|
|
|
Logged
|
|
|
|
|
LutinMalefique
|
 |
« Reply #9 on: August 04, 2009, 12:31:27 PM » |
|
i think that using a RayCast may be a solution to keep an object above the ground (take a look at the network_character script).
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #10 on: August 04, 2009, 07:09:24 PM » |
|
here is My files of the project content:
Terrain. track. and One HoverCraft whit physics.
May be whit physics Box simulate an HoverCraft.
I need an script to move the craft. the problem of the doc.online is slow and some pictures dont apears. More information and tuturials need.
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #11 on: August 04, 2009, 07:10:08 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Ron
|
 |
« Reply #12 on: August 04, 2009, 07:49:35 PM » |
|
I'm looking at it now... to others, watch out for that pop up window from MegaUpload. It tricks you into thinking their adware is what you were looking to download - almost got me.
|
|
|
|
|
Logged
|
|
|
|
|
gamecreator
|
 |
« Reply #13 on: August 04, 2009, 07:57:55 PM » |
|
 tks.
|
|
|
|
|
Logged
|
|
|
|
|
Ron
|
 |
« Reply #14 on: August 04, 2009, 08:31:25 PM » |
|
I could not get the fbx file to load and I do not have a 3d modeler program that supports fbx so I just had to substitute the lego car in. I jacked the body way up, made two of the wheels semi-transparent (like squats suggestion) and made the two other wheels invisible in the opr with LoadObject simplewheel.lwo ObjectName FrontRightWheel ObjectPosition -0.7500 -0.2500 -0.8500 ObjectRotation 180 0 0 ObjectVisibility 0 Both worked well.  Here is the download: www.caliwampus.com/HoverCraft1.zipPS - keep at it, look forward to seeing this come together for you 
|
|
|
|
« Last Edit: August 04, 2009, 08:33:54 PM by Ron »
|
Logged
|
|
|
|
|