Cant pickup weapon when on basemap (slope)

ABK

Well-known member
I like this feature a lot (basemap) because it totally changes gameplay feel of the game but for some reason i cant pickup weapon when its on slope/basemap, when i disable basemap then it works again, also items can be picked up on basemap, its just weapons that wont work.
Anyone tried that ? It might be its just my mod for some reason.
If youre not sure how to test just paste this in level and spawn some weapon , it creates slope uphill from 0 to 500 and downhill from 500 to 1000

basemap 0 1000 500 1000 0 60
basemap 500 800 500 1000 60 0
 
Just did, i also noticed if i use slope with height 90 to 90 then i can pickup weapon, if i use 0 to 90 then i cant, i mean its possible but you have to get it perfect and wander around weapon trying to pick it up.
 
I saw it, thanks.
Seams that the distance check is kinda strict. And Basemap seams to have some issues too, like x velocity over it doesn't working how it should. For example, if you are over a slope, facing downward, and execute a move with X velocity (like a dash) instead of following the slope, the character will just jump.
 
Dash problem does not exist in my he-man mod, maybe in some scenario it does happen but so far basemap works fine without big issues, i just spawn weapons on flat ground at the moment.
 
To be honest i did not code tooo many basemaps and so far i also have noticed only the same as bwwd with the weapons. But since the game i used them only had weapons as items, i can't confirm that if this is special to weapon items only or not.

Anyway in my case i did notice that the weapons which are the only items were indeed hard to pick up on basemap. I think i know why this is happening and maybe it's not nececarely a bug. I think the problem is that overal in openbor the Player/enemy have to be in the exact same pixel of Y altitude with an item in order to pick it up. And this i think is getting worse in higher resolution mods with big sprites were a pixel is even smaller in comparison to the sprites.

Maybe my theory of "same pixel of Y altitude with an item" might not be correct, but i would suggest to give all the items/weapons a good amount of bbox and also "grabdistance 50" or something when using a 640x480 resolution and such.
 
Yeah the pixels mismatch on higher res might be making it worse but still.. i would like to have some separate value to set my own area but from what i see basemaps are unfinished, they work but in controlled enviroment without some conflicting features.
 
Back
Top Bottom