Rope interaction with wall when hog is next to it.

8 replies [Last post]
bender
bender's picture
User offline. Last seen 5 days 15 hours ago. Offline
Joined: 2010-11-30
Posts: 61

In old hedgewars version it was possible to fire rope with any angle set. Due to well known bug it had a side effect - possibility to leave hog on the wall or at other object where it shouldn't be possible (wall is the most common issue). Every old shopper know what i'm talking about.

New version makes it imposible to fire the rope with low angle. It practicaly solves the problem of leaving hogs on the wall (it's still possible but very hard and impractical). But it has another, very enoying, side effect - if you fly fast and hit something wall-like you just fall down. If this happens low from the ground it's basicaly imposible to react on time. I think i can speak for every shopper - we hate it.

So i was thinking if there is some good way to solve the issue. Here's two options i think should be relativly easy to implement:

1. Instead of bloking rope firing change the ange for high enough that securing the rope would become possible and secure it. Sure, changing angle might not be something unexperienced user expect but it's better than falling down.

2. Change the hog direction (from left to right or the opposite) and keep the angle. It would be like hog bouncing back from the wall. Except it might loose the speed. It will still cause unexpected fails but much less frequently. It could also speed up game a bit (easy way to turn the hog).

SteppenwolfVM
User offline. Last seen 11 weeks 2 days ago. Offline
Joined: 2011-05-10
Posts: 4

I would be glad when both the bug and the lower angel rope fixing came back again, it was so much more fun than shoppa is now.

sphrix
sphrix's picture
User offline. Last seen 1 day 17 hours ago. Offline
Joined: 2011-04-07
Posts: 207

i agree with the bounce idea !!
for the angle, it has to be 'realist' but yes sometimes it cause some death that make you feel crazy/bad....

the beachs hogs surfin hedgewars

nemo
nemo's picture
User offline. Last seen 3 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Just what version do you remember being able to set any angle in?
'cause that bug was a looooong time ago, and required setting alt weapon, at that.
It was not something you could use in shoppa where there weren't alt weapons.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

bender
bender's picture
User offline. Last seen 5 days 15 hours ago. Offline
Joined: 2010-11-30
Posts: 61

I'm not sure but i think the last version where it was possible is 0.9.14. Then you made a change where grabing barrels/hogs/crates became impossible in order to solve the hog merging with stuff (http://hedgewars.org/node/2603) and i think it has affected the wall too. Ataching hog to the wall was very easy then. You just had to catch the wall beeing next to it using relatively low angle (below 45 degree) and wait ~3s.It was working every time.

It was a bit abused at the begining but then shoppers have learned how to use it against player. It was possibile to hurt hog by flying straight down though attached hog with high speed. You could also push such hog so it fell down. So at some point it was only the way to troll noobs Smile

On the other side you cold hit the wall with full speed, atach and detach rope immediately and your hog was flying straight down beeing turned to the opposite side (very usefull at some maps). Also there was no way your hog will hit the ground or water just because of your aim angle.

If it would be usefull i can install old versions, test it and make some demo.

Anyway, whatever the history behind it is, it would be nice to have working rope at all conditions. Including when your hog is close to object or wall.

Radissthor
Radissthor's picture
User offline. Last seen 2 years 10 weeks ago. Offline
Joined: 2010-08-12
Posts: 56

I agree with Bender, and I think his second proposal of making the hog turn when hitting the wall is actually very nice and doable.

Pretty please, shoppa devs?

I only try not to die when I kill

nemo
nemo's picture
User offline. Last seen 3 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

bender allegedly wrote:

I'm not sure but i think the last version where it was possible is 0.9.14. Then you made a change where grabing barrels/hogs/crates became impossible in order to solve the hog merging with stuff (http://hedgewars.org/node/2603) and i think it has affected the wall too. Ataching hog to the wall was very easy then. You just had to catch the wall beeing next to it using relatively low angle (below 45 degree) and wait ~3s.It was working every time.

You said "set any angle for rope"

That sounds completely different from that part up there, which was why I got interested.
Yes, sheepluva went out of his way to fix the sitting-on-walls bug.

changeset: 5991:7f790689205c
user: sheepluva
date: Sat Sep 24 01:41:03 2011 +0200
summary: rope: CheezeMonkey (omg I mentioned your name :O) has pointed out that there is still a way to get stuck in walls. This should fix it.

changeset: 5820:812be8a96927
user: sheepluva
date: Sat Sep 10 04:08:15 2011 +0200
summary: actual rope fix for hogs getting stuck on walls

changeset: 5815:ea4d1fe665d7
user: sheepluva
date: Fri Sep 09 20:17:50 2011 +0200
summary: move hedgehogs out of walls

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

bender
bender's picture
User offline. Last seen 5 days 15 hours ago. Offline
Joined: 2010-11-30
Posts: 61

Oh now i get it. No i don't mean setting aim angle below 0 degree. Just the ability to fire it between 0 and ~45 when hog is close to wall.

So is there any chance it will be changed? Pretty please too Smile

nemo
nemo's picture
User offline. Last seen 3 weeks 5 days ago. Offline
Joined: 2009-01-28
Posts: 1861

bender allegedly wrote:

Oh now i get it. No i don't mean setting aim angle below 0 degree. Just the ability to fire it between 0 and ~45 when hog is close to wall.

So is there any chance it will be changed? Pretty please too Smile

AFAIK the problem is that when really close to walls, the hedgehog slightly overlaps with the wall and the rope head.
The rope head was a point for a while 'cause I thought that was safe. Problem was, when I did that, rope nodes got stuck to things pretty easily and people raged.

There's possibly a way to handle it safely, but, that's the reason you can't do it now. Think of aiming up a bit as a skill move...

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]