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

npctalk: shout commands for NPC wake-up and relax #27727

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

mlangsdorf
Copy link
Contributor

@mlangsdorf mlangsdorf commented Jan 20, 2019

Summary

SUMMARY: Features "npctalk: shout commands for NPC wake-up and relax"

Purpose of change

I got tired of having to go through three menus every time I wanted my NPC followers to not take a nap in the middle of zombie infested city, and then another three menus to let them sleep when I got them back to someplace safe. Now I can shout at all of them at once with 2 key presses.

Add shout commands to have all allied NPCs in hearing range either wake up or relax and sleep if tired.

Describe the solution

Add two new options to the standard shouts under the Chat menu.

Describe alternatives you've considered

Shouts are getting extensive enough that they'll need to be moved to JSON soon, but I'll wait for #27643 to get merged.

Adding "safe sleep" zones would also be great, but that'd be more work.

@mlangsdorf mlangsdorf added <Enhancement / Feature> New features, or enhancements on existing NPC / Factions NPCs, AI, Speech, Factions, Ownership [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics labels Jan 20, 2019
Add commands to have all allied NPCs in hearing range either
wake up or relax and sleep if tired.
@nexusmrsep
Copy link
Contributor

Run away option might be handy too, when you see your NPC in danger of being circled or fighting with something they can't win. Those situations are more then often under current level of AI combat intelligence.

@AskaHope
Copy link

Instead of using shout commands, what about some sort of group management screen?

Quick acess to useful commands like telling your slaves to shut up or attack the strongest enemy nearby whenever you want. This could save a lot of time and value NPC groups a little more.

The player could select a few NPCs to include in their group instead of telling everyone nearby to go nude.

@mlangsdorf
Copy link
Contributor Author

We have the chat/shout interface, and it makes sense that you could control your allies by shouting orders.

The current plan is:

  1. Merge this PR
  2. Merge [WIP] npctalk: move more stuff to JSON #27643 commit that will enable controlling NPC follower AI rules via JSON
  3. Add a JSON interface for shout commands that can apply dialogue effects to NPCs
  4. Add more variations quickly and easy
  5. Fix NPC follower AI so that it actually understands "run away".

@ZhilkinSerg ZhilkinSerg self-assigned this Jan 22, 2019
@ZhilkinSerg ZhilkinSerg merged commit fae9fba into CleverRaven:master Jan 22, 2019
@ZhilkinSerg ZhilkinSerg removed their assignment Jan 22, 2019
@mlangsdorf mlangsdorf deleted the npc_shout_sleep branch January 22, 2019 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` <Enhancement / Feature> New features, or enhancements on existing Mechanics: Character / Player Character / Player mechanics NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants