Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking the exit from the map for controlled NPCs in combat. #32

Open
FakelsHub opened this issue Feb 12, 2020 · 13 comments
Open

Blocking the exit from the map for controlled NPCs in combat. #32

FakelsHub opened this issue Feb 12, 2020 · 13 comments
Labels
Not a priority Проблема незначительная и не в приоритете.

Comments

@FakelsHub
Copy link
Collaborator

FakelsHub commented Feb 12, 2020

The last few days I was playing more with combat control activated, and now I agree that map_exit should be disabled when playing as party members. It might feel a bit abstract, but most party members have so many AP and a high sequence that you can often run into the exit grid in 1 or 2 turns. It makes avoiding encounters very trivial.

Disabling it for all not(obj_dude) without any other condition would do the job, imo.

Originally posted by @Lexx2k in sfall-team#87 (comment)

Последние несколько дней я больше играл с активированным боевым управлением, и теперь я согласен с тем, что map_exit должен быть отключен при игре в качестве участника. Это может показаться немного абстрактным, но у большинства членов партии так много точек доступа и высокая последовательность, что вы часто можете столкнуться с сеткой выхода за 1 или 2 хода. Это делает избегание встреч очень тривиальным.

Отключение его для всех не(obj_dude) без каких-либо других условий сделало бы эту работу, имо.

@NovaRain
Copy link

I guess this can be done by adding an extra check for PID when dude_obj steps on exit grid?

@FakelsHub
Copy link
Collaborator Author

Something like that.

Ps. I'm still working on my other projects.

@NovaRain
Copy link

NovaRain commented Feb 13, 2020

Something like that.

Ps. I'm still working on my other projects.

I know, seeing you are updating your script editor and proto manager (great job on speeding up proto extraction process). It's not like we are hurrying to meet a deadline or something, so take your time.

@FakelsHub
Copy link
Collaborator Author

FakelsHub commented Jan 11, 2021

Препятствием к реализации является использование различных лестниц переходов и машины для того чтобы покинуть карту.

Может быть для того чтобы покинуть карту все члены команды должны будут находится в непосредственой близости 5-10 гексов от места выхода. ???
Усложним жизнь для любителей управлять командой :-)

@FakelsHub
Copy link
Collaborator Author

Изменить так чтобы только игрок смог покинуть карту, при этом все члены команды должны будут находиться поблизости от игрока (места выхода), проверку дистанции проводить только втом случае если проверяемый партийец будет являться целью у неприятелей.

@NovaRain
Copy link

NovaRain commented Sep 9, 2021

It seems rather complex (stuff about distance and being targeted) than blocking non-player critters from triggering the map leave when stepping on exit grid.

@FakelsHub
Copy link
Collaborator Author

Nothing complicated.
it is more difficult to prevent exits from using stairs and other objects. that's what stops me: -)

@NovaRain
Copy link

NovaRain commented Sep 9, 2021

So if I control my own player character, I can't simply leave a map in combat by exit grids or scenery objects, unless all my party members are close enough to me or not being the target of other NPCs?
Or the rules will only apply when I control other critters?

@FakelsHub
Copy link
Collaborator Author

So if I control my own player character, I can't simply leave a map in combat by exit grids or scenery objects, unless all my party members are close enough to me or not being the target of other NPCs?

so. this will complicate the cheat escape :-)
I would not want non-dude characters to have the opportunity to leave the map.
for example bug, now if an npc does not have an animation of lifting a ladder with the help of him, you can not leave the map.

@NovaRain
Copy link

NovaRain commented Sep 9, 2021

so. this will complicate the cheat escape :-)
I would not want non-dude characters to have the opportunity to leave the map.
for example bug, now if an npc does not have an animation of lifting a ladder with the help of him, you can not leave the map.

I still think if I'm controlling my own character (real dude), I should be able to leave a map as usual.
Is adding those rules easier than checking dude_obj's ID (not player ID == no leaving) before triggering the map leave?

@FakelsHub
Copy link
Collaborator Author

I still think if I'm controlling my own character (real dude), I should be able to leave a map as usual.

Ok. I'll take that into account.

Checking by ID is a bad way.

@NovaRain
Copy link

NovaRain commented Sep 9, 2021

Checking by ID is a bad way.

Why is that? Or check if it's the real dude (obj pointer)?

@FakelsHub
Copy link
Collaborator Author

Best check by IsControlling variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not a priority Проблема незначительная и не в приоритете.
Projects
None yet
Development

No branches or pull requests

2 participants