SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Snake on April 28, 2013, 12:53:32 PM

Title: [HELP] Sinking Skiff
Post by: Snake on April 28, 2013, 12:53:32 PM
Can anyone that understands the spring body and stuff more than I do come up with something that will fix this?:

(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fi414.photobucket.com%2Falbums%2Fpp226%2Faatcfett%2F127979023-3_zps2ca3f8e5.jpg&hash=21458eec38b9edce482bf82ad9a667b308a8d887) (http://s414.photobucket.com/user/aatcfett/media/127979023-3_zps2ca3f8e5.jpg.html)
Title: Re: [HELP] Sinking Skiff
Post by: Sereja on April 28, 2013, 01:30:58 PM
Stock spring body, usualy is ok. Perhaps, you need to add some of this collision lines to skiff odf:
BuildingCollision   = "CollisionMesh"

BuildingCollision    = "p_vehiclesphere1"
BuildingCollision    = "p_vehiclesphere2"


Or, maybe better fix floor collision...
Title: Re: [HELP] Sinking Skiff
Post by: Phobos on April 28, 2013, 02:55:46 PM
Try making these values higher

SetAltitude     = 0.5
GravityScale        = 4.0
LiftSpring      = 10.0
LiftDamp        = 3.0

I use this for my air skiff but it should probably work on normal skiff.
Title: Re: [HELP] Sinking Skiff
Post by: Snake on April 28, 2013, 05:38:43 PM
Well, the collision worked but now the skiff just stays just kind of rocks back and forth when you try to go forward. I will try increasing the speed and see if that helps. Also, the AI pilot will only move the skiff when it's completely full, which rarely happens. Is there a way to either make all the AI want to be in the skiff, or to allow the AI pilot to go with only one or two spots filled?
Title: Re: [HELP] Sinking Skiff
Post by: Phobos on April 28, 2013, 06:03:17 PM
Theres an odf code that makes ai wait for players or full passengers before moving vehicles, i dont remember it though but it has a 0/1 setting.
Title: Re: [HELP] Sinking Skiff
Post by: RepComm on April 28, 2013, 09:46:57 PM
Quote from: Phobos on April 28, 2013, 06:03:17 PM
Theres an odf code that makes ai wait for players or full passengers before moving vehicles, i dont remember it though but it has a 0/1 setting.
ReserveOneForPlayer     = "0"  it's used in Rep_fly_gunship odf.
If you set it to one, then you get the issue you have, but if that doesn't work, it's probably a deeper problem.

I also think that sinking effect could be a collision bug, which is why I'm still working on a better platform (which is coming along slower, but nicer than I expected), it doesn't have too many bugs, but lots to do until I can finish it.
Title: Re: [HELP] Sinking Skiff
Post by: Snake on April 29, 2013, 05:35:14 PM
Alright, I couldn't find the line in the Skiff .odf so I added it and put "0" but it still does it.. Maybe its just because the skiffs can't do anything except roll around out of control, trying to get out of some invisible tractor beam.. Any ideas? The building collision keeps it above the platform but it can't move correctly. Should I lessen gravity? Increasing the speed didn't seem to help.
Title: Re: [HELP] Sinking Skiff
Post by: RepComm on April 29, 2013, 05:38:25 PM
I know this might seem like a dumb idea, but perhaps re-set the ODF to stock and see what happens. (Unless thats what was causing issues in the first place.)
Title: Re: [HELP] Sinking Skiff
Post by: Snake on April 29, 2013, 06:01:09 PM
No, that's just the problem we started out with. Here's some videos of what happens with the skiffs:

http://www.xfire.com/videos/5f5c9f
http://www.xfire.com/videos/5f5c9e
http://www.xfire.com/videos/5f5c9c
http://www.xfire.com/videos/5f5c9b
http://www.xfire.com/videos/5f5c99

This is so weird.. I may just give up on the skiff. I made such a cool skin for it, though..  :(
Title: Re: [HELP] Sinking Skiff
Post by: RepComm on April 29, 2013, 06:51:28 PM
LOL, leave it in the map, DO IT :D:D
It will be the one new thing that people think is totally awesome!
Title: Re: [HELP] Sinking Skiff
Post by: Snake on April 29, 2013, 07:04:19 PM
What's awesome about it? It just makes me dizzy! I kept the model, and invented a new turret along the way so I could keep my skiff.  :)

(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fi414.photobucket.com%2Falbums%2Fpp226%2Faatcfett%2F127988725-3_zpsc25c6904.jpg&hash=d6f0a8936d92829f33a5a89c14ad5ea63e5c136b) (http://s414.photobucket.com/user/aatcfett/media/127988725-3_zpsc25c6904.jpg.html)
(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fi414.photobucket.com%2Falbums%2Fpp226%2Faatcfett%2F127988724-3_zps7664d112.jpg&hash=a47947e8d56bbce41017a54609dc2e0763f8df55) (http://s414.photobucket.com/user/aatcfett/media/127988724-3_zps7664d112.jpg.html)

As you can see, there is no driver, so it's just a turret "nest" with three turrets. I also made the turrets more like turrets should be..
Title: Re: [HELP] Sinking Skiff
Post by: RepComm on April 29, 2013, 07:06:21 PM
Sweet, can't wait for it, Snakesta!
Title: Re: [HELP] Sinking Skiff
Post by: Helios on April 29, 2013, 07:08:46 PM
Same it looks dope!


You a gangster RepCom? Home Slice i cant wait for this map either!
EhPortal 1.34 © 2025, WebDev