Manta Climbing Walls (Bug/Feature) UT2004  (Read 13391 times)

Miauz55555

  • Full MemberĀ 
  • *
  • Posts: 66
  • Country: 00
Manta Climbing Walls (Bug/Feature) UT2004
« on: December 06, 2020, 17:07 »
For reference here are some more infos, as well as a minimum "working" example: http://ceonss.net/viewtopic.php?f=14&t=1072#p16500

But maybe someone has a solution for it. It is not random. So you can recreate the "issue", but how to fix it is, or at least it seems, random and you need a litle luck for it too. Also when you WANT it, it's hard to create. Meaning it can appear bye chance on one point or another and also disapear again.

------------------------------
Little conclusion about this behavior from a Manta able to climbing a wall like a Hellbender with active vehicle stunt mutator. I guess the most of you haven't evan noticed it.. anyway if you have some input about that please share it. I wrote with Gloups a few PMs and he was so kind to allow me to share our conversation.

What does it do:
When you are in a Manta you can hover to a BSP-wall and it will start hovering upwarts with the same speed as when you would hover straight.
Here is a video from that feature on ONS-M5sMantaMadness-C-Beta6:


It is somehow as the bug when two Mantas are stuck together than jump and hovering upwarts.. that bug is a simple calculation bug.. the Manta is able to hover over vehicles.. you can also hover over a Cicada with a Manta.. so the game says the Manta 1 will hover over the other Manta 2 and will go upwarts.. the other Manta 2 is stuck to the one which is going upwards 1.. so it will also go upwarts 2.. now the game calculates the position from the stucking Manta 2.. well it will go upwarts 2, too.. it trys to hover over Manta 1.. and so on. So that bug is cleared.
Here is a video from that Manta-Manta bug:


History:
I saw that bug feature a while ago on some maps. Also on the version from MantaMadnes (Beta6) which is curently on the server. I fixed removed it in Beta8.. but not 100% how.
After searching the www I found two post which where interesting:
A post on the old Epic forum from NightMan:
[spoiler]
Quote
NightMan: Hello.

iv been working on a custom game type for awhile now, iv been working on how to get Vehicle's into the game type.. i never found a way to add them via the game info, i did however managed to find a way to add them via an actor added to the map by the frag house people (VSOverRide).. which as im making custom maps is fine having it as a map actor, but the problem i have is that in VCtf and ONS, the Manta can Climb walls, in this way they donot..

i learnt from the VSOverRide that in order to use ONS Vehicle Factory you needed the game type to be an ONS Game via map settings and it needed Node's etc, so according to that i should use the AS Vehicle Factory, which does work, but the manta doesn't climb.. they are both set to the same Vehicle Class type so the code that makes them climb i don't think is in the manta code.. (im guessing ) so its else where.. i looked thought the gameinfo and mutator code looking for hints of what it could be but found nothing useful.. would anyone happen to know where this might be?

with the VSOverRide i tryed it anyway with the ONSFactorys, and as i was told they didn't spawn anything, so i set up a mini link system , and it worked for the spawning Vehicles but the manta still wouldnt climb, im guessing thats cus the ONSFactory needs a link system set up to spawn them and the code that makes mantas climb is else where

(as a side note.. i learnt from a VCtf tutorial that the game type needs to be set as xGame.xVehicleCTFGame in the map levelinfo.. I Found no code to do with vehicles in the small code inside VCTF gameinfo and no mutator for that game type so i duno where to look for more info on how vehicles appear in VCTF, it appears they use ONSVehicleFactorys.. )

i was thinking that maybe due to things been limited in assault (like shield self force push so players cannot shield jump across big gaps like in other game mode's) that they might of made it so manta's cannot climb in assault to stop people possible sneaking in the.. inappropriate way :P i had a look in the AS game type code but couldn't see anything useful, i have also checked in the ONS/AS Vehicle Factory's and found nothing that could help me.. i thought maybe creating a new custom factory might do the trick.. thought id post here n ask first cus take me awhile to do that to find out it wont work..

sooo any help? im not much of a coder, im trying to learn, and only recently have i managed to start to get somewhere with it but im kinda stuck with where to look atm not done anything with the vehicle side of ut yet, just a pointer in the right direction would help me atm if anyway could

thanks in advance

ps.. soz for the essay
Quote
NightMan: no help?

iv been trying to work it out.. i think iv got it down to that it's not part of code that's my problem. been messing with several ONS maps and vCTF maps.. it appears some maps let manta's climb walls and others do not.. but i cannot work out if it is that as there's nothing in the maps i can see that will let them... has no one any idea at all what this could be? if its not code maybe i should post in mapping section too.. didnt want to post same thing in 2 places on same forum
[/spoiler]
And a post about the VCTF map VCTF-Magisfunmap where the feature was implemented from the author:
[spoiler]
Quote
nialzinth: It needs blocking so you can't fly away with the flag to the top. :/ The only thing I don't like about this map. Otherwise it's a quite ok map beside the possible spawnkilling. :<
Quote
magis: Hi there

I see someone likes my map
If you still haven't fixed so called "wall bug", here is how to fix that. Remove thous BSPs under all Movers. Combining an Orange BSP with low UUs, e.g. 1 or 2 UUs, makes Manta to climb walls.
In magisFunmap it's not counted as "bug". The map was made for cyber VCTF team for practices. Cyber has few Manta addicted guys, so they were practicing Manta kills and so on. Rest, the same as me were practicing Shield Jumps and many other Combos If learned Backward Shield Jump, then you become a real master on the map Berserk also is really useful on this map
Quote
magis: As I mentioned, I implemented this "bug" especially, to make the map more fun, so the Manta addicted players could enjoy it. I'm glad you like this feature too
[/spoiler]

What does it cause and how to fix it when unwanted:
Well we are not 100% sure but it seems to be dirty mapping.
Gloups tryed it to implement the bug on ons-Baracks.. to say the current version on the server don't has that bug, but the one before and on other servers has it. He has sucess with siply copie and past the BSPs mentioned from magis.. anyway I and than Gloups tryed to implement the bug on ONS-Masterbath-C which don't has the bug and we both had no succes.

I could fix the bug on ONS-M5sMantaMadness-C-Beta6 bye adding 4 more ZonePortals and put the order from all ZonePortals to last. Gloups could fix the bug bye exchanging to upper BSP with a SM and changing the blue BSP to green ones.

So it seems to be a bit random and strange.

Gloups and my PMs:
If you want the maps please write here and I will PM you the files.
[spoiler]Miauz:
Any clue about that or how to avoid it?
So when you drive a Manta against a BSP wall it will hover up.
For example on the Masterbath version it's not, and on the Barracks version it is.

What I found is this where NM came to the same I was:
[...]

And this.. but I don't get what they want to say.. is it a simple "bug"?
Like the "Two Manta stuck together and hover up."[...]

Gloups:
Hey Miauzz, first time i really notice that, ONS-Barracks-{KL}-BigAl-C32-C-V3 don't have this "bug/feature" but ONS-Barracks-{KL}-BigAl-C32-2-C have it, but somes changes have been made on the BSP, after somes tests: "Remove thous BSPs under all Movers. Combining an Orange BSP with low UUs, e.g. 1 or 2 UUs, makes Manta to climb walls" means exaclty what it means :wtf: .
I try to copy and past the two small Bsps (one add and one substract), change the textures to in-use ones (beware of hiding faces, there's must 12 face to re-texture) and put this in ONS-Barracks-{KL}-BigAl-C32-C-V3 and the mantas are.... Flying!
Here's the pic of what i test: interesting thing to know, thx Miauzz.


Miauz:
Still don't get it 100%.. So when there is somewhere on the map two overlapping BSP the Mantas will climb the walls?

It's in the MantaMap I made.. somewhere down the line I noticed it.

Gloups:
apparently, only very small BSP may be and may be one sub and one add.

Miauz:
I tried to make the Mantas fly on Masterbath bye simply copie and past the cupes from magisFunmap to the ground and rebuilding all, but couldn't get them to fly.

But I had this "bug" at mantamadnes.. after I added some zoneportals and than put all of them (had made a group for them before) "to last" under order it was away. I think some of the portals where fucked up a little. So that bug could also appear when the mapping is not 100% clean.

PS: Would it be ok when I share or conversation about this in the creative corner? It's may helpfull or at least interesting for someone.

Gloups:
ONS-Barracks-BigAl-C32-C-V3test

It's the link with the map which haven't the bug and now have it, may be a stroke of luck, i put the 3 brushs at the central area, i tried myself ont masterbath without success, i will have a look to manta-madness but bsp's are something complex and sometimes behaving strangely.
Of course you can write on the forum, if i find something weird on manta madness may be could be interresting.

Miauz:
Ok thank you.

Here are the two versions.. Beta6 is on the server with the bug.. beta8 is without the bug.
I made 4 new ZonePortals on the 2 main exits from core to the terrain than order to last for all zoneportals and rebuilding all. Than it was away.
The other things which are different had no influence on the bug.

ONS-M5sMantaMadness-C-Beta8.7z

Gloups:
Yes, as i said sometimes it's behaving strangely, on my side i fixed the problem by delete the brushs on the top of the map and replace with a staticmesh on beta6, here's the link, btw i transform the blue sheets by green ones (non solid), if you have blue sheets it's better for perfomance to transform to green as well if you have blue brushs isolated (e.g. not combined with a substract) it's better for performances to set it's type to semi-solid (as long as it's not an issue after rebuilding the map, but it can fix somes holes as well).

ONS-M5sMantaMadness-C-Beta6_Fix

Miauz:
Such a funny bug..

Thanks for the SM idea and the info about the brushes. I will adeped it to the updated version than as well.[/spoiler]