how to fix push areas not preventing player spawning?

how to fix push areas not preventing player spawning?

Postby dollarsadmin » 30 September 2019, 19:14

i made a base map recently and used push areas to prevent player spawning in certain places. it worked perfectly the entire time. dozens of players have played on the map and i have died quite a few times on the map; i have not noticed any issue with spawning and there have not been any complaints. it worked perfectly.

so i made some drastic changes to the map in order to create a new map from it. shortly after that i noticed that the push areas on the new map were not preventing player spawning, even though they are technically the same push areas from the old map, since it's just an edit. i even deleted those old push areas and made new ones, but they are still not preventing players from spawning in those areas.

so far i have only tested it out myself. the newer map is spawning me in the air, random parts of the base, inside of walls, etc. push areas simply stopped working.
what is even stranger is that even when the push areas were working, i did not put push areas in the air because i figured it wouldn't spawn players mid air anyway, and it did not. for some reason it only started spawning me midair when this problem started occurring.
also this is only an issue with the newer map. after testing the original map again, the spawning is still perfect there with push areas properly preventing player spawn.

any idea how i can fix?

dollarsadmin
Recruit
 
Posts: 6
Joined: 27 September 2019, 19:09

Re: how to fix push areas not preventing player spawning?

Postby ditzy » 1 October 2019, 01:26

Topic moved to Bug Reporting, Help & Support.

How large of an area do your pushers cover? As a general rule, if over half (50%) of your map is covered by pushers, they will no longer properly prevent players from spawning in them.
Sometimes draws ponies
Sometimes draws ponies
Sometimes draws ponies
User avatar
ditzy
Advanced Usurpation Soldier [150]
 
Posts: 169
Joined: 1 December 2017, 01:20
Location: Ponyville

Re: how to fix push areas not preventing player spawning?

Postby Eric Gurt » 1 October 2019, 05:30

Game tests like 2000 random points on level as for possible respawn point. It means during these 2000 tries there should be found not just point where player can stand, but also where he won't be seen by enemies, enemy projectiles, won't be in water, and won't be in pusher.

I think if respawn is possible when there are few players, in mode like DM it can become even less probable as other players will block some of usual spawn points.

After these tries game just gives up and spawns in random point, possibly even in walls (but I think it should ignore enemies and pushers after certain amount of tries. Nonetheless, it is likely to have as much as possible of areas of map to be suitable for respawn where all rules can be met).
Work it harder
Make it better
Do it faster
Makes us stronger
More than ever hour
After our work is never over.
User avatar
Eric Gurt
PB2 Developer
 
Posts: 419
Joined: 14 July 2013, 16:46
Location: dn.ua

Re: how to fix push areas not preventing player spawning?

Postby lrv » 6 October 2019, 19:36

You could make several closed areas from which you automatically get teleported into the pushers when you spawn in them.
User avatar
lrv
Falkok [250]
 
Posts: 272
Joined: 2 July 2017, 14:39


Return to Bug Reporting Archive

Who is online

Users browsing this forum: No registered users



cron