supertuxkart / stk-code

The code base of supertuxkart
Other
4.49k stars 1.06k forks source link

Floods in "Temple" arena have weird timing #2495

Open qwertychouskie opened 8 years ago

qwertychouskie commented 8 years ago

In the "Temple" arena, floods no longer seem to work.

Benau commented 8 years ago

Flooding will be disabled if AI is involved in game, as it's difficult to make AIs go back inside the temple when flooding

Benau commented 8 years ago

Hiker mentioned "but I can perfectly drive on and under water" when only 1 player (no AI), need debugging...

hiker commented 7 years ago

OK, further investigation shows that I am rescued, just not when the water shows up. That might have been done on purpose to give karts a bit of time to save themselves, but this way it is really surprising. The water level is much higher than the kart, and I can stay and drive there for ~30 seconds, before suddenly the rescue is triggered.

I would recommend to change the water animation: first make it rise a little bit so that it is just on top of the ground, but don't let it raise any further. Then (just before 2:00, when the invisible killing-plane is raised), make the water rise further.

stkAnon commented 7 years ago

Awww, my little arena is still part of the game? yey

Yeah, the rescue effect is deliberately delayed to give the karts some time to first wrap up whatever they're doing, then still make it to the inside of the Temple before the kill-plane comes up. I tried to time it so the rescues are triggered shortly after most kart models have their heads submerged, IIRC, to simulate drowning in other video games (or in real life).

I like hiker's suggestion. Maybe add a second lightning strike right as the killplane is risen too..

Alayan-stk-2 commented 5 years ago

Playing with low graphical effects, the flood wasn't visually obvious enough. I only really got what was happening when I got force-rescued. I didn't record gameplay footage to show it, but it would need improvements.

For gameplay, the flood is a good idea when there are only a few karts remaining.