[Code] Fast Roping Workshop

Making or wanting help making your own asset? Check in here
UberWazuSoldier
Posts: 82
Joined: 2008-08-08 06:23

Re: [Code] Fast Roping Workshop

Post by UberWazuSoldier »

Well, I hate to be the bearer of bad news, but you can't spawn grappling hooks from vehicles. It crashes very messily.

I don't like saying "no way", but I can't see any situation where a real rope could be put on the vehicle. It's possible without the animations and rope, but those are the key graphical cues and it would be a shame not to have them.
Image
ShockUnitBlack
Posts: 2100
Joined: 2010-01-27 20:59

Re: [Code] Fast Roping Workshop

Post by ShockUnitBlack »

What if the fastrope wasn't attached to the helo but instead is either -

A - A completely seperate, independent entity spawned in the same manner FOB's are that acts as a temporary ladder? This theoretically works because under the above concept, as the player is falling immediately after leaving the helo, not going off the ladder, and therefore can "enter" the fastrope entity.

B - Anchored to a stationary dummy vehicle, located where the real helo is, giving the impression the fastropes are attached to the helo when they in fact are not?
UberWazuSoldier
Posts: 82
Joined: 2008-08-08 06:23

Re: [Code] Fast Roping Workshop

Post by UberWazuSoldier »

Well, you can't spawn the rope in any way other than a weapon fired by a soldier; neither vehicles nor python can spawn it.

So that means you'd have to do a static rope, which would be pretty cheesy, but I have an idea.

A. Can't work because ladders cannot be created in realtime (which is surprising, but crippling).

B. The player couldn't grab on to a specific line.


However, I see where you're going with those ideas, so I guess here's C (a combination of Python, ForceObjects and your A and B)

When you bail out and have specified you want to fastrope, python can spawn a dummy bundle with no collisionMesh. The bundle would be a rope, fully extended (basically a thin black cylinder). Python would then move the rope along with the vehicle, making sure the top lines up with the helicopter, but the back is able to dangle down. ForceObjects kick in on the player to reduce their falling speed so they don't die when they touch down, and Python moves them along the rope. When Python detects they've hit something (which it can do because the Player will suddenly stop being able to be moved down), the Python will delete the rope object, reset the forceobjects, and let the player move on their merry way.

Problems: No climbing animation and players can shoot (which is basically stemmed from the same thing).




So yes, with that idea the rope would technically pass through buildings, but that's not a dreadful limitation, and the system is quite implementable. Perhaps I'll try make this system some time next week if I get a chance.
Image
ShockUnitBlack
Posts: 2100
Joined: 2010-01-27 20:59

Re: [Code] Fast Roping Workshop

Post by ShockUnitBlack »

I'm convinced a static could be made to work. However, you could avoid the process of having to do this Python would then move the rope along with the vehicle, making sure the top lines up with the helicopter, but the back is able to dangle down, by forcing the helo to hover above the ground, otherwise wholly inmobile, for X seconds after fastropes are deployed.

I really think we've stumbled on something here. :-o

Edit - I agree, the problem with the ropes going through buildings probably wouldn't be that big considering that any enemies inside the building the ropes are deployed to (and sticking through the roof) would be well-aware of the fact a helo is above them, due to the the noise.

Well, you can't spawn the rope in any way other than a weapon fired by a soldier; neither vehicles nor python can spawn it. Can you spawn a static ladder?
Last edited by ShockUnitBlack on 2010-10-31 02:27, edited 1 time in total.
Imchicken1
Posts: 512
Joined: 2008-11-08 05:09

Re: [Code] Fast Roping Workshop

Post by Imchicken1 »

I know what Shock is getting at. It's just alot harder to explain on the internet than it is IRL (imo)

When he explained it to me, it made total sense, but its just different when reading it, rather than listening/debating about it in realtime
Image

I won't cluck for you
UberWazuSoldier
Posts: 82
Joined: 2008-08-08 06:23

Re: [Code] Fast Roping Workshop

Post by UberWazuSoldier »

Well, for whatever reason BF2 has a hissy fit when you try to spawn any ladder in-game, haha. I suppose forcing the heli into a hover would be one way to avoid the tricky trigonometry and it would simplify it nicely, which is always a good thing.

I think I'll start having a go at it this afternoon.


EDIT: Just had an idea to eliminate the problem of the ropes going through buildings, and it will look good if it works too. Definitely gonna work on this a bit, it seems interesting.
Last edited by UberWazuSoldier on 2010-11-01 06:52, edited 1 time in total.
Image
Imchicken1
Posts: 512
Joined: 2008-11-08 05:09

Re: [Code] Fast Roping Workshop

Post by Imchicken1 »

YouTube - Project Reality chopper action and fastroping.

Just thought i'd share that

Very glitchy, and from an early version of PR, but thought i'd just put it out there ;-)

Sorry if i stole anyones vid
Image

I won't cluck for you
UberWazuSoldier
Posts: 82
Joined: 2008-08-08 06:23

Re: [Code] Fast Roping Workshop

Post by UberWazuSoldier »

Looks like regular grappling hooks haha.
Image
Imchicken1
Posts: 512
Joined: 2008-11-08 05:09

Re: [Code] Fast Roping Workshop

Post by Imchicken1 »

They are. Which is what makes them so great :razz:
Image

I won't cluck for you
Archerchef
Posts: 196
Joined: 2008-10-05 22:05

Re: [Code] Fast Roping Workshop

Post by Archerchef »

Soo... how bout we make fast rope only deployable under certain speeds so it forces the pilot to hover to deploy them and prevents people from falling out of chopper because its hovering.
Vista
Posts: 1282
Joined: 2011-04-30 10:36

Re: [Code] Fast Roping Workshop

Post by Vista »

Archerchef wrote:Soo... how bout we make fast rope only deployable under certain speeds so it forces the pilot to hover to deploy them and prevents people from falling out of chopper because its hovering.
Awsome thread necro lol

So, is this still being worked on?
Doc.Pock
Posts: 2899
Joined: 2010-08-23 14:53

Re: [Code] Fast Roping Workshop

Post by Doc.Pock »

dont tink it is...
User avatar
Zrix
Posts: 4425
Joined: 2005-12-02 14:25

Re: [Code] Fast Roping Workshop

Post by Zrix »

The dream will never die!
Image
Post Reply

Return to “PR:BF2 Community Modding”